57 template<
typename t_Data>
74 return(data[left_or_right - 1]);
84 return(data[left_or_right - 1]);
void copyRight(const LeftRightContainer< t_Data > ©_from)
Get/set/copy left or right object.
#define HUMOTO_ASSERT(condition, message)
Container for two symmetric objects.
#define HUMOTO_THROW_MSG(s)
HUMOTO_THROW_MSG throws an error message concatenated with the name of the function (if supported)...
void setRight(const t_Data &data)
Get/set/copy left or right object.
t_Data & operator[](const LeftOrRight::Type left_or_right)
Access the element.
This enum is used to handle symmetric objects (left / right foot etc).
void setLeft(const t_Data &data)
Get/set/copy left or right object.
void copyLeft(const LeftRightContainer< t_Data > ©_from)
Get/set/copy left or right object.
The root namespace of HuMoTo.
const t_Data & getRight() const
Get/set/copy left or right object.
t_Data & getRight()
Get/set/copy left or right object.
const t_Data & getLeft() const
Get/set/copy left or right object.
t_Data & getLeft()
Get/set/copy left or right object.
const t_Data & operator[](const LeftOrRight::Type left_or_right) const
Access the element.
static Type invert(const Type left_or_right)
Exchange left and right.