Public Types | |
|
typedef std::pair < std::string, std::string > | Pair |
| Helper definition for a name/value relation. | |
Public Member Functions | |
| void | add (const std::string &name, const std::string &value) |
| Append new property. | |
| void | remove (const std::string &name) |
| Remove a property. | |
| std::vector< Pair > | get () const |
| Gets all stored properties. | |
| unsigned | numProperties () const |
| Gets the number of stored properties. | |
| void | clear () |
| Clears all stored properties. | |
| virtual | ~Property () |
| Provide virtual destructor. | |
Contains name/value pairs that describe properties of the running application.
Definition at line 45 of file property.h.
| void l4snd::Property::add | ( | const std::string & | name, | |
| const std::string & | value | |||
| ) |
Append new property.
| name | property name | |
| value | property value |
Definition at line 45 of file property.cpp.
| void l4snd::Property::remove | ( | const std::string & | name | ) |
| std::vector< Property::Pair > l4snd::Property::get | ( | ) | const |
| unsigned l4snd::Property::numProperties | ( | ) | const |
Gets the number of stored properties.
Definition at line 60 of file property.cpp.
1.5.3