#include <SimObjectAttributes.h>
Public Member Functions | |
SimObjectAttributes () | |
SimObjectAttributes (shared_ptr< SimObjectAttributesDefinition > attrDef) | |
SimObjectAttributes (SimObjectAttributes const &attr) | |
~SimObjectAttributes () | |
template<typename T> | |
T | get (string name) const |
template<typename T> | |
void | set (string name, T value) |
double | getDouble (string name) const |
This class manages the memory for storing a fixed set of attributes. This attributes can be set and get.
Definition at line 23 of file SimObjectAttributes.h.
SimObjectAttributes::SimObjectAttributes | ( | ) | [inline] |
Definition at line 27 of file SimObjectAttributes.h.
SimObjectAttributes::SimObjectAttributes | ( | shared_ptr< SimObjectAttributesDefinition > | attrDef | ) |
Definition at line 12 of file SimObjectAttributes.cpp.
SimObjectAttributes::SimObjectAttributes | ( | SimObjectAttributes const & | attr | ) |
SimObjectAttributes::~SimObjectAttributes | ( | ) |
Definition at line 24 of file SimObjectAttributes.cpp.
template long long SimObjectAttributes::get< long long > | ( | string | name | ) | const [inline] |
Definition at line 29 of file SimObjectAttributes.cpp.
Referenced by LateralLongRangeOrientationConnectionPredicate::decide(), and RetinotopicOrientationConnectionPredicate::init().
void SimObjectAttributes::set | ( | string | name, | |
T | value | |||
) | [inline] |
Definition at line 35 of file SimObjectAttributes.cpp.
Referenced by PopObjectAttributeFactory::createAttributes().
double SimObjectAttributes::getDouble | ( | string | name | ) | const [inline] |
Definition at line 42 of file SimObjectAttributes.h.
Referenced by SimilarAttributeConnectionPredicate::decide().