ConfigEnum Class Reference

Option of the enum type. More...

#include <config.h>

Inheritance diagram for ConfigEnum:

ConfigOption List of all members.

Public Member Functions

 ConfigEnum (const char *name, const char *doc, const char *defVal)
void addValue (const char *v)
QStrListIterator iterator ()
QCString * valueRef ()
void substEnvVars ()
void writeTemplate (QTextStream &t, bool sl, bool)
void init ()

Detailed Description

Option of the enum type.

Definition at line 140 of file config.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file config.h.

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


Member Function Documentation

void ConfigEnum::addValue ( const char *  v  )  [inline]

Definition at line 151 of file config.h.

Referenced by Config::create().

QStrListIterator ConfigEnum::iterator (  )  [inline]

Definition at line 152 of file config.h.

QCString* ConfigEnum::valueRef (  )  [inline]

Definition at line 156 of file config.h.

void ConfigEnum::substEnvVars (  )  [virtual]

Implements ConfigOption.

Definition at line 2790 of file config.cpp.

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

Implements ConfigOption.

Definition at line 158 of file config.h.

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

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

Reimplemented from ConfigOption.

Definition at line 170 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