acsalarm::Properties − |
#include <Properties.h> |
Public Member Functions |
Properties () |
Properties (const Properties &) |
virtual ~Properties () |
Properties & operator= (const Properties &rhs) |
bool operator== (const Properties &rhs) |
bool operator!= (const Properties &rhs) |
std::string getProperty (std::string key) const |
std::auto_ptr< std::vector< std::string > > propertyNames () |
void setProperty (std::string key, std::string value) throw (std::invalid_argument) |
unsigned int getSize () const |
Protected Attributes |
std::map< std::string, std::string > propertiesMap |
acsalarm::Properties::Properties () |
acsalarm::Properties::Properties (const Properties &) |
virtual acsalarm::Properties::~Properties () [virtual] |
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] Returns: |
the size of the properties |
References propertiesMap. |
bool acsalarm::Properties::operator!= (const Properties & rhs) |
Properties& 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) |
std::map<std::string, std::string> acsalarm::Properties::propertiesMap [protected] |
Referenced by getSize(). |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |