MMCore
10.1.1
|
#include <Configuration.h>
Public Member Functions | |
void | addPair (const PropertyPair &pair) |
PropertyPair | getPair (size_t index) const throw (CMMError) |
size_t | size () const |
std::string | getValue (const char *key) const throw (CMMError) |
Encapsulation of the property collection. Designed to be wrapped by SWIG. A collection of property pairs.
void PropertyBlock::addPair | ( | const PropertyPair & | pair | ) |
Adds a new pair to the current contents.
References PropertyPair::getPropertyName().
PropertyPair PropertyBlock::getPair | ( | size_t | index | ) | const |
throw | ( | CMMError | |||
) |
Returns the property pair with specified index.
Referenced by CMMCore::saveSystemConfiguration().
std::string PropertyBlock::getValue | ( | const char * | key | ) | const |
throw | ( | CMMError | |||
) |
Get value of the specified key (property).
|
inline |
Returns the number of contained property parts.
Referenced by CMMCore::saveSystemConfiguration().