![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class is reserved for future use.
Public Member Functions | |
TSLOGCAttributes () | |
~TSLOGCAttributes () | |
bool | addAttribute (const char *key, const char *value) |
const char * | getAttribute (const char *key) const |
const char * | getAttribute (unsigned int index, const char **key=0) const |
unsigned int | noOfAttributes () const |
bool | removeAttribute (const char *key) |
TSLOGCAttributes::TSLOGCAttributes | ( | ) |
TSLOGCAttributes::~TSLOGCAttributes | ( | ) |
bool TSLOGCAttributes::addAttribute | ( | const char * | key, |
const char * | value ) |
Adds a new attribute or replaces the value of an existing attribute.
key | The key of the attribute. This must be unique otherwise it will replace the value of any attribute that already uses this key. |
value | The value to set |
const char * TSLOGCAttributes::getAttribute | ( | const char * | key | ) | const |
Queries the value of an existing attribute by key.
key | The key to query. |
const char * TSLOGCAttributes::getAttribute | ( | unsigned int | index, |
const char ** | key = 0 ) const |
Queries the value of an existing attribute by index.
NOTE: The attributes are held internally alphabetically, so adding an attribute may cause a reordering of the indices of the contained attributes.
index | The index of the attribute to query. |
key | To query the key also, this parameter may be provided and will be pointed to the target key. |
unsigned int TSLOGCAttributes::noOfAttributes | ( | ) | const |
Queries the number of attributes contained.
bool TSLOGCAttributes::removeAttribute | ( | const char * | key | ) |
Removes the attribute with the key passed.
key | The key of the attribute to remove. |