NIREP
|
Public Types | |
typedef std::map< std::string, std::string > | AttributeList |
Public Member Functions | |
void | AddAttribute (std::string key, const std::string &value) |
BasicDescription (const std::string &default_ns) | |
BasicDescription (TiXmlElement *descrip, const std::string &default_ns) | |
BasicDescription () | |
Constructor left empty on purpose. All member objects initialize themselves automatically. | |
BasicDescription (TiXmlElement *descrip) | |
Constructor that initializes BasicDescription given a proper Tiny XML DOM (Document Object Model) | |
void | Clear () |
Removes all characters from strings and all elements from the map. | |
void | ClearAttributes () |
TiXmlElement * | CreateDOM (const std::string &tag) |
const std::string | CreateNSID () |
bool | FillUsingDom (TiXmlElement *descrip) |
const std::string | GetAttribute (std::string key) |
const std::string & | GetID () |
Accessor functions for description id. | |
const std::string & | GetNameSpace () |
Accessor functions for name space. | |
void | SetID (const std::string &id) |
void | SetNameSpace (const std::string &ns) |
~BasicDescription () | |
Destructor clears all member objects. | |
Protected Attributes | |
AttributeList | m_attribute |
std::string | m_id |
std::string | m_ns |
typedef std::map<std::string, std::string> BasicDescription::AttributeList |
BasicDescription::BasicDescription | ( | ) | [inline] |
Constructor left empty on purpose. All member objects initialize themselves automatically.
BasicDescription::BasicDescription | ( | const std::string & | default_ns | ) | [inline] |
BasicDescription::BasicDescription | ( | TiXmlElement * | descrip | ) | [inline] |
Constructor that initializes BasicDescription given a proper Tiny XML DOM (Document Object Model)
BasicDescription::BasicDescription | ( | TiXmlElement * | descrip, |
const std::string & | default_ns | ||
) | [inline] |
BasicDescription::~BasicDescription | ( | ) | [inline] |
Destructor clears all member objects.
void BasicDescription::AddAttribute | ( | std::string | key, |
const std::string & | value | ||
) | [inline] |
void BasicDescription::Clear | ( | void | ) | [inline] |
Removes all characters from strings and all elements from the map.
void BasicDescription::ClearAttributes | ( | ) | [inline] |
TiXmlElement * BasicDescription::CreateDOM | ( | const std::string & | tag | ) |
const std::string BasicDescription::CreateNSID | ( | ) | [inline] |
Return concatination of namespace and id Returns a string and not an alias to a string
bool BasicDescription::FillUsingDom | ( | TiXmlElement * | descrip | ) |
const std::string BasicDescription::GetAttribute | ( | std::string | key | ) | [inline] |
const std::string& BasicDescription::GetID | ( | ) | [inline] |
Accessor functions for description id.
const std::string& BasicDescription::GetNameSpace | ( | ) | [inline] |
Accessor functions for name space.
Panel::SetID | ( | const std::string & | id | ) | [inline] |
void BasicDescription::SetNameSpace | ( | const std::string & | ns | ) | [inline] |
AttributeList BasicDescription::m_attribute [protected] |
std::string BasicDescription::m_id [protected] |
std::string BasicDescription::m_ns [protected] |