|
DPsim
|
Base class of objects having attributes to access member variables. More...
#include <AttributeList.h>
Public Types | |
| using | Ptr = std::shared_ptr<AttributeList> |
Public Member Functions | |
| AttributeList () | |
| const AttributeBase::Map & | attributes () const |
| template<typename T> | |
| Attribute< T >::Ptr | create (const String &name, T intitialValue=T()) |
| template<typename T> | |
| Attribute< T >::Ptr | createDynamic (const String &name) |
| AttributeBase::Ptr | attribute (const String &name) const |
| Return pointer to an attribute. | |
| template<typename T> | |
| Attribute< T >::Ptr | attributeTyped (const String &name) const |
| Return pointer to an attribute. | |
Additional Inherited Members | |
Static Public Member Functions inherited from SharedFactory< AttributeList > | |
| static std::shared_ptr< AttributeList > | make (Args &&...args) |
Base class of objects having attributes to access member variables.
Definition at line 20 of file AttributeList.h.
| using CPS::AttributeList::Ptr = std::shared_ptr<AttributeList> |
Definition at line 26 of file AttributeList.h.
|
inline |
Definition at line 28 of file AttributeList.h.
|
inline |
Return pointer to an attribute.
Definition at line 51 of file AttributeList.h.
|
inline |
Definition at line 30 of file AttributeList.h.
|
inline |
Return pointer to an attribute.
Definition at line 61 of file AttributeList.h.
|
inline |
Definition at line 34 of file AttributeList.h.
|
inline |
Definition at line 43 of file AttributeList.h.