#include <MetaAttribute.h>
Public Member Functions | |
const Any & | GetAttribute (const karto::String &rId) const |
kt_bool | HasAttribute (const karto::String &rId) const |
virtual | ~MetaAttribute () |
Protected Member Functions | |
void | AddAttribute (const karto::String &rId, const Any &rValue) const |
MetaAttribute () | |
Private Attributes | |
MetaAttributePrivate * | m_pPrivate |
Friends | |
class | MetaClassHelper |
Attribute container for MetaClass.
Definition at line 47 of file MetaAttribute.h.
karto::MetaAttribute::~MetaAttribute | ( | ) | [virtual] |
Destructor
Definition at line 44 of file MetaAttribute.cpp.
karto::MetaAttribute::MetaAttribute | ( | ) | [protected] |
Default constructor
Definition at line 39 of file MetaAttribute.cpp.
void karto::MetaAttribute::AddAttribute | ( | const karto::String & | rId, |
const Any & | rValue | ||
) | const [protected] |
Adds attribute with id and value to container
rId | If of attribute |
rValue | Value of attribute |
Definition at line 65 of file MetaAttribute.cpp.
const Any & karto::MetaAttribute::GetAttribute | ( | const karto::String & | rId | ) | const |
Gets attribute with id.
rId | If of attribute |
Definition at line 54 of file MetaAttribute.cpp.
kt_bool karto::MetaAttribute::HasAttribute | ( | const karto::String & | rId | ) | const |
Check if attribute exists in container.
rId | If of attribute |
Definition at line 49 of file MetaAttribute.cpp.
friend class MetaClassHelper [friend] |
Reimplemented in karto::MetaClass.
Definition at line 84 of file MetaAttribute.h.
Definition at line 86 of file MetaAttribute.h.