ConfigOption Class Reference
Abstract base class for any configuration option. More...
#include <config.h>
Inheritance diagram for ConfigOption:

Public Types | |
enum | OptionType { O_Info, O_List, O_Enum, O_String, O_Int, O_Bool, O_Obsolete } |
enum | { MAX_OPTION_LENGTH = 23 } |
Public Member Functions | |
ConfigOption (OptionType t) | |
virtual | ~ConfigOption () |
OptionType | kind () const |
QCString | name () const |
QCString | docs () const |
QCString | dependsOn () const |
void | addDependency (const char *dep) |
Protected Member Functions | |
virtual void | writeTemplate (QTextStream &t, bool sl, bool upd)=0 |
virtual void | convertStrToVal () |
virtual void | substEnvVars ()=0 |
virtual void | init () |
QCString | convertToComment (const QCString &s) |
void | writeBoolValue (QTextStream &t, bool v) |
void | writeIntValue (QTextStream &t, int i) |
void | writeStringValue (QTextStream &t, QCString &s) |
void | writeStringList (QTextStream &t, QStrList &l) |
Protected Attributes | |
QCString | m_spaces |
QCString | m_name |
QCString | m_doc |
QCString | m_dependency |
OptionType | m_kind |
Detailed Description
Abstract base class for any configuration option.
Definition at line 13 of file config.h.
Member Enumeration Documentation
|
|
|
The type of option Definition at line 20 of file config.h. Referenced by kind(). |
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Definition at line 51 of file config.h. References addDependency(), and m_dependency. Referenced by addDependency(). |
|
Reimplemented in ConfigInt, and ConfigBool. |
|
Definition at line 582 of file config.cpp. References convertToComment(), and s. Referenced by convertToComment(). |
|
Definition at line 50 of file config.h. References m_dependency. Referenced by DoxygenConfigWidget::DoxygenConfigWidget(). |
|
Definition at line 48 of file config.h. References m_doc. Referenced by DoxygenConfigWidget::DoxygenConfigWidget(). |
|
Reimplemented in ConfigList, ConfigEnum, ConfigString, ConfigInt, and ConfigBool. |
|
returns the kind of option this is. Definition at line 46 of file config.h. References m_kind, and OptionType. Referenced by configYYlex(), DoxygenConfigWidget::DoxygenConfigWidget(), Config::getBool(), Config::getEnum(), Config::getInt(), Config::getList(), and Config::getString(). |
|
Definition at line 47 of file config.h. References m_name. Referenced by DoxygenConfigWidget::DoxygenConfigWidget(). |
|
Implemented in ConfigInfo, ConfigList, ConfigEnum, ConfigString, ConfigInt, ConfigBool, and ConfigObsolete. |
|
Definition at line 602 of file config.cpp. References writeBoolValue(). Referenced by writeBoolValue(). |
|
Definition at line 607 of file config.cpp. References writeIntValue(). Referenced by writeIntValue(). |
|
Definition at line 639 of file config.cpp. References endl(), first(), l, s, writeStringList(), and writeStringValue(). Referenced by writeStringList(). |
|
Definition at line 612 of file config.cpp. References s, and writeStringValue(). Referenced by writeStringList(), and writeStringValue(). |
|
Implemented in ConfigInfo, ConfigList, ConfigEnum, ConfigString, ConfigInt, ConfigBool, and ConfigObsolete. |
Member Data Documentation
|
Definition at line 68 of file config.h. Referenced by addDependency(), and dependsOn(). |
|
Definition at line 67 of file config.h. Referenced by docs(). |
|
Definition at line 69 of file config.h. Referenced by ConfigOption(), and kind(). |
|
Definition at line 66 of file config.h. Referenced by name(). |
|
Definition at line 65 of file config.h. Referenced by ConfigOption(). |
The documentation for this class was generated from the following files:
- parts/doxygen/config.h
- parts/doxygen/config.cpp