cxxtools::PropertiesFile Class Reference

#include <cxxtools/propertiesfile.h>

Public Member Functions

 PropertiesFile (const std::string &filename)
 PropertiesFile (std::istream &in)
void setValue (const String &key, const String &value)
void removeValue (const String &key)
bool hasValue (const String &key) const
String getValue (const String &key, const String &def=String()) const
template<typename OutputIterator >
void getKeys (OutputIterator oi) const
template<typename OutputIterator >
void getKeys (const String &praefix, OutputIterator oi) const
template<typename OutputIterator >
void getKeysLong (const String &praefix, OutputIterator oi) const

Constructor & Destructor Documentation

cxxtools::PropertiesFile::PropertiesFile ( const std::string &  filename)
explicit
cxxtools::PropertiesFile::PropertiesFile ( std::istream &  in)
explicit

Member Function Documentation

template<typename OutputIterator >
void cxxtools::PropertiesFile::getKeys ( OutputIterator  oi) const
inline
template<typename OutputIterator >
void cxxtools::PropertiesFile::getKeys ( const String praefix,
OutputIterator  oi 
) const
inline
template<typename OutputIterator >
void cxxtools::PropertiesFile::getKeysLong ( const String praefix,
OutputIterator  oi 
) const
inline
String cxxtools::PropertiesFile::getValue ( const String key,
const String def = String() 
) const
inline
bool cxxtools::PropertiesFile::hasValue ( const String key) const
inline
void cxxtools::PropertiesFile::removeValue ( const String key)
inline
void cxxtools::PropertiesFile::setValue ( const String key,
const String value 
)
inline

The documentation for this class was generated from the following file: