#include <FieldRegistry.h>

Public Member Functions | |
| FieldRegistry (void) | |
| ~FieldRegistry (void) | |
| void | registerField (Field const &f) |
| Method for registering a variable types as fields. | |
| Field const & | getField (size_t id) const |
Return the field information of the field specified by id. | |
| Field const * | findField (string const &name) const |
Return the field information of the field specified by name. | |
| size_t | nFields (void) |
| Return the number of fields of the corresponding class. | |
See also Setting and getting field values
Definition at line 13 of file FieldRegistry.h.
| FieldRegistry::FieldRegistry | ( | void | ) |
Definition at line 3 of file FieldRegistry.cpp.
| FieldRegistry::~FieldRegistry | ( | void | ) |
Definition at line 9 of file FieldRegistry.cpp.
| void FieldRegistry::registerField | ( | Field const & | f | ) |
Method for registering a variable types as fields.
Definition at line 17 of file FieldRegistry.cpp.
References Field::clone(), and Field::name.

Return the field information of the field specified by id.
Definition at line 26 of file FieldRegistry.cpp.
| Field const * FieldRegistry::findField | ( | string const & | name | ) | const |
Return the field information of the field specified by name.
Definition at line 32 of file FieldRegistry.cpp.
Referenced by SimObject::findField(), and SimObject::getFieldOffset().
| size_t FieldRegistry::nFields | ( | void | ) | [inline] |
Return the number of fields of the corresponding class.
Definition at line 30 of file FieldRegistry.h.
1.5.5