#include <SyncEvolutionConfig.h>


Public Member Functions | |
| TypedConfigProperty (const string &name, const string &comment, const string &defValue=string("0")) | |
| virtual bool | checkValue (const string &value, string &error) const |
| void | setProperty (ConfigNode &node, const T &value) const |
| void | setProperty (FilterConfigNode &node, const T &value, bool temporarily=false) const |
| T | getProperty (ConfigNode &node, bool *isDefault=NULL) |
Definition at line 254 of file SyncEvolutionConfig.h.
| TypedConfigProperty< T >::TypedConfigProperty | ( | const string & | name, | |
| const string & | comment, | |||
| const string & | defValue = string("0") | |||
| ) | [inline] |
Definition at line 256 of file SyncEvolutionConfig.h.
| virtual bool TypedConfigProperty< T >::checkValue | ( | const string & | value, | |
| string & | error | |||
| ) | const [inline, virtual] |
This implementation accepts all values that can be converted to the required type.
Reimplemented from ConfigProperty.
Definition at line 264 of file SyncEvolutionConfig.h.
| T TypedConfigProperty< T >::getProperty | ( | ConfigNode & | node, | |
| bool * | isDefault = NULL | |||
| ) | [inline] |
Definition at line 292 of file SyncEvolutionConfig.h.
References ConfigProperty::getDefValue(), ConfigProperty::getName(), ConfigNode::readProperty(), and ConfigProperty::throwValueError().
Referenced by EvolutionSyncSourceConfig::getLast(), EvolutionSyncConfig::getLogLevel(), EvolutionSyncConfig::getMaxLogDirs(), EvolutionSyncConfig::getMaxMsgSize(), and EvolutionSyncConfig::getMaxObjSize().
| void TypedConfigProperty< T >::setProperty | ( | FilterConfigNode & | node, | |
| const T & | value, | |||
| bool | temporarily = false | |||
| ) | const [inline] |
Definition at line 281 of file SyncEvolutionConfig.h.
References FilterConfigNode::addFilter(), ConfigProperty::getComment(), ConfigProperty::getName(), and FilterConfigNode::setProperty().
| void TypedConfigProperty< T >::setProperty | ( | ConfigNode & | node, | |
| const T & | value | |||
| ) | const [inline] |
Definition at line 275 of file SyncEvolutionConfig.h.
References ConfigProperty::getComment(), ConfigProperty::getName(), and ConfigNode::setProperty().
Referenced by EvolutionSyncSourceConfig::setLast(), EvolutionSyncConfig::setLogLevel(), EvolutionSyncConfig::setMaxLogDirs(), EvolutionSyncConfig::setMaxMsgSize(), and EvolutionSyncConfig::setMaxObjSize().
1.5.7.1