Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
karto::MetaAttribute Class Reference

#include <MetaAttribute.h>

Inheritance diagram for karto::MetaAttribute:
Inheritance graph
[legend]

Public Member Functions

const AnyGetAttribute (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

MetaAttributePrivatem_pPrivate
 

Friends

template<typename T >
class MetaClassHelper
 

Detailed Description

Attribute container for MetaClass.

Definition at line 47 of file MetaAttribute.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void karto::MetaAttribute::AddAttribute ( const karto::String rId,
const Any rValue 
) const
protected

Adds attribute with id and value to container

Parameters
rIdIf of attribute
rValueValue of attribute

Definition at line 65 of file MetaAttribute.cpp.

const Any & karto::MetaAttribute::GetAttribute ( const karto::String rId) const

Gets attribute with id.

Parameters
rIdIf of attribute
Returns
Attribute with rID

Definition at line 54 of file MetaAttribute.cpp.

kt_bool karto::MetaAttribute::HasAttribute ( const karto::String rId) const

Check if attribute exists in container.

Parameters
rIdIf of attribute
Returns
true if attribute with rID is defines, false otherwise

Definition at line 49 of file MetaAttribute.cpp.

Friends And Related Function Documentation

template<typename T >
friend class MetaClassHelper
friend

Definition at line 84 of file MetaAttribute.h.

Member Data Documentation

MetaAttributePrivate* karto::MetaAttribute::m_pPrivate
private

Definition at line 86 of file MetaAttribute.h.


The documentation for this class was generated from the following files:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Jun 6 2019 19:20:25