ConfigBool Class Reference

Option of the boolean type. More...

#include <config.h>

Inheritance diagram for ConfigBool:

ConfigOption List of all members.

Public Member Functions

 ConfigBool (const char *name, const char *doc, bool defVal)
QCString * valueStringRef ()
bool * valueRef ()
void convertStrToVal ()
void substEnvVars ()
void setValueString (const QCString &v)
void writeTemplate (QTextStream &t, bool sl, bool upd)
void init ()

Detailed Description

Option of the boolean type.

Definition at line 273 of file config.h.


Constructor & Destructor Documentation

ConfigBool::ConfigBool ( const char *  name,
const char *  doc,
bool  defVal 
) [inline]

Definition at line 276 of file config.h.

References ConfigOption::m_doc, and ConfigOption::m_name.


Member Function Documentation

QCString* ConfigBool::valueStringRef (  )  [inline]

Definition at line 284 of file config.h.

bool* ConfigBool::valueRef (  )  [inline]

Definition at line 285 of file config.h.

void ConfigBool::convertStrToVal (  )  [virtual]

Reimplemented from ConfigOption.

Definition at line 757 of file config.cpp.

References config_warn(), ConfigOption::m_name, and QCString.

void ConfigBool::substEnvVars (  )  [virtual]

Implements ConfigOption.

Definition at line 2780 of file config.cpp.

void ConfigBool::setValueString ( const QCString &  v  )  [inline]

Definition at line 288 of file config.h.

void ConfigBool::writeTemplate ( QTextStream &  t,
bool  sl,
bool  upd 
) [inline, virtual]

Implements ConfigOption.

Definition at line 289 of file config.h.

References ConfigOption::convertToComment(), ConfigOption::m_doc, ConfigOption::m_name, ConfigOption::m_spaces, ConfigOption::MAX_OPTION_LENGTH, ConfigOption::writeBoolValue(), and ConfigOption::writeStringValue().

void ConfigBool::init (  )  [inline, virtual]

Reimplemented from ConfigOption.

Definition at line 308 of file config.h.


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1