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 |
Friends | |
| class | Config |
Detailed Description
Abstract base class for any configuration option.
Definition at line 13 of file config.h.
Member Enumeration Documentation
|
|
|
|
|
The type of option |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
|
|
|
Reimplemented in ConfigInt, and ConfigBool. |
|
|
Definition at line 582 of file config.cpp. References s. Referenced by ConfigBool::writeTemplate(), ConfigInt::writeTemplate(), ConfigString::writeTemplate(), ConfigEnum::writeTemplate(), and ConfigList::writeTemplate(). |
|
|
Definition at line 50 of file config.h. Referenced by DoxygenConfigWidget::DoxygenConfigWidget(). |
|
|
Definition at line 48 of file config.h. 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. Referenced by configYYlex(), DoxygenConfigWidget::DoxygenConfigWidget(), Config::getBool(), Config::getEnum(), Config::getInt(), Config::getList(), and Config::getString(). |
|
|
Definition at line 47 of file config.h. Referenced by DoxygenConfigWidget::DoxygenConfigWidget(). |
|
|
Implemented in ConfigInfo, ConfigList, ConfigEnum, ConfigString, ConfigInt, ConfigBool, and ConfigObsolete. |
|
||||||||||||
|
Definition at line 602 of file config.cpp. Referenced by ConfigBool::writeTemplate(). |
|
||||||||||||
|
Definition at line 607 of file config.cpp. Referenced by ConfigInt::writeTemplate(). |
|
||||||||||||
|
Definition at line 639 of file config.cpp. References first(), l, s, and writeStringValue(). Referenced by ConfigList::writeTemplate(). |
|
||||||||||||
|
Definition at line 612 of file config.cpp. References s. Referenced by writeStringList(), ConfigBool::writeTemplate(), ConfigInt::writeTemplate(), ConfigString::writeTemplate(), and ConfigEnum::writeTemplate(). |
|
||||||||||||||||
|
Implemented in ConfigInfo, ConfigList, ConfigEnum, ConfigString, ConfigInt, ConfigBool, and ConfigObsolete. |
Friends And Related Function Documentation
|
|
|
Member Data Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following files:
- parts/doxygen/config.h
- parts/doxygen/config.cpp
