BoolConfigProperty Class Reference
[Configuration Handling]

#include <SyncEvolutionConfig.h>

Inheritance diagram for BoolConfigProperty:

Inheritance graph
[legend]
Collaboration diagram for BoolConfigProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BoolConfigProperty (const string &name, const string &comment, const string &defValue=string("F"))
void setProperty (ConfigNode &node, bool value)
void setProperty (FilterConfigNode &node, bool value, bool temporarily=false)
int getProperty (ConfigNode &node, bool *isDefault=NULL)


Detailed Description

Instead of reading and writing strings, this class interprets the content as boolean with T/F or 1/0 (default format).

Definition at line 367 of file SyncEvolutionConfig.h.


Constructor & Destructor Documentation

BoolConfigProperty::BoolConfigProperty ( const string &  name,
const string &  comment,
const string &  defValue = string("F") 
) [inline]

Definition at line 369 of file SyncEvolutionConfig.h.


Member Function Documentation

int BoolConfigProperty::getProperty ( ConfigNode node,
bool *  isDefault = NULL 
) [inline]

void BoolConfigProperty::setProperty ( FilterConfigNode node,
bool  value,
bool  temporarily = false 
) [inline]

Definition at line 377 of file SyncEvolutionConfig.h.

References setProperty().

void BoolConfigProperty::setProperty ( ConfigNode node,
bool  value 
) [inline]


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

Generated on Sat Oct 18 17:17:03 2008 for SyncEvolution and Funambol by  doxygen 1.5.7.1