humoto
|
Container for two symmetric objects.
t_Data | type of the objects |
Definition at line 58 of file leftright.h.
#include <leftright.h>
Public Member Functions | |
void | copyLeft (const LeftRightContainer< t_Data > ©_from) |
Get/set/copy left or right object. More... | |
void | copyRight (const LeftRightContainer< t_Data > ©_from) |
Get/set/copy left or right object. More... | |
t_Data & | getLeft () |
Get/set/copy left or right object. More... | |
const t_Data & | getLeft () const |
Get/set/copy left or right object. More... | |
t_Data & | getRight () |
Get/set/copy left or right object. More... | |
const t_Data & | getRight () const |
Get/set/copy left or right object. More... | |
t_Data & | operator[] (const LeftOrRight::Type left_or_right) |
Access the element. More... | |
const t_Data & | operator[] (const LeftOrRight::Type left_or_right) const |
Access the element. More... | |
void | setLeft (const t_Data &data) |
Get/set/copy left or right object. More... | |
void | setRight (const t_Data &data) |
Get/set/copy left or right object. More... | |
Private Attributes | |
t_Data | data [LeftOrRight::COUNT] |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Access the element.
[in] | left_or_right |
Definition at line 71 of file leftright.h.
|
inline |
Access the element.
[in] | left_or_right |
Definition at line 81 of file leftright.h.
|
inline |
|
inline |
|
private |
Definition at line 61 of file leftright.h.