#include <Properties.h>
List of all members.
Constructor & Destructor Documentation
acsalarm::Properties::Properties |
( |
|
) |
|
acsalarm::Properties::Properties |
( |
const Properties & |
|
) |
|
virtual acsalarm::Properties::~Properties |
( |
|
) |
[virtual] |
Member Function Documentation
std::string acsalarm::Properties::getProperty |
( |
std::string |
key |
) |
const |
Searches for the property with the specified key in this property list.
- Returns:
- the value of the property with the given key; the returned string is empty if a pair with the given key does not exist
unsigned int acsalarm::Properties::getSize |
( |
|
) |
const [inline] |
bool acsalarm::Properties::operator!= |
( |
const Properties & |
rhs |
) |
|
bool acsalarm::Properties::operator== |
( |
const Properties & |
rhs |
) |
|
std::auto_ptr<std::vector<std::string> > acsalarm::Properties::propertyNames |
( |
|
) |
|
void acsalarm::Properties::setProperty |
( |
std::string |
key, |
|
|
std::string |
value | |
|
) |
| | throw (std::invalid_argument) |
Add a pair <key, value> to the property
- Parameters:
-
| key | The key (not empty) |
| value | The value (not empty) |
std::string acsalarm::Properties::toXML |
( |
int |
amountToIndent = 6 |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: