|
My Project
|
#include <configimpl.h>
Public Types | |
| enum | OptionType { O_Info, O_List, O_Enum, O_String, O_Int, O_Bool, O_Obsolete, O_Disabled } |
| 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) |
| void | setEncoding (const QCString &e) |
| void | setUserComment (const QCString &u) |
Protected Member Functions | |
| virtual void | writeTemplate (FTextStream &t, bool sl, bool upd)=0 |
| virtual void | convertStrToVal () |
| virtual void | substEnvVars ()=0 |
| virtual void | init () |
| void | writeBoolValue (FTextStream &t, bool v) |
| void | writeIntValue (FTextStream &t, int i) |
| void | writeStringValue (FTextStream &t, QCString &s) |
| void | writeStringList (FTextStream &t, QStrList &l) |
Protected Attributes | |
| QCString | m_spaces |
| QCString | m_name |
| QCString | m_doc |
| QCString | m_dependency |
| QCString | m_encoding |
| QCString | m_userComment |
| OptionType | m_kind |
Friends | |
| class | ConfigImpl |
Abstract base class for any configuration option.
Definition at line 31 of file configimpl.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_OPTION_LENGTH |
Maximum length of an option in the config file. Used for alignment purposes. |
Definition at line 49 of file configimpl.h.
The type of option
| Enumerator | |
|---|---|
| O_Info | |
| O_List | |
| O_Enum | |
| O_String | |
| O_Int | |
| O_Bool | |
| O_Obsolete | |
| O_Disabled | |
Definition at line 38 of file configimpl.h.
|
inline |
Definition at line 56 of file configimpl.h.
References m_spaces.
|
inlinevirtual |
Definition at line 60 of file configimpl.h.
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in ConfigBool, ConfigInt, ConfigString, ConfigEnum, and ConfigList.
Definition at line 78 of file configimpl.h.
|
inline |
returns the kind of option this is.
Definition at line 65 of file configimpl.h.
References m_kind.
|
inline |
Definition at line 66 of file configimpl.h.
References m_name.
Referenced by ConfigBool::ConfigBool(), ConfigDisabled::ConfigDisabled(), ConfigEnum::ConfigEnum(), ConfigInfo::ConfigInfo(), ConfigInt::ConfigInt(), ConfigList::ConfigList(), ConfigObsolete::ConfigObsolete(), and ConfigString::ConfigString().
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in ConfigDisabled, ConfigObsolete, ConfigBool, ConfigInt, ConfigString, ConfigEnum, ConfigList, and ConfigInfo.
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedpure virtual |
Implemented in ConfigDisabled, ConfigObsolete, ConfigBool, ConfigInt, ConfigString, ConfigEnum, ConfigList, and ConfigInfo.
|
friend |
Definition at line 33 of file configimpl.h.
|
protected |
Definition at line 88 of file configimpl.h.
Referenced by addDependency(), and dependsOn().
|
protected |
Definition at line 87 of file configimpl.h.
Referenced by ConfigBool::ConfigBool(), ConfigEnum::ConfigEnum(), ConfigInfo::ConfigInfo(), ConfigInt::ConfigInt(), ConfigList::ConfigList(), ConfigString::ConfigString(), and docs().
|
protected |
Definition at line 89 of file configimpl.h.
Referenced by setEncoding().
|
protected |
Definition at line 91 of file configimpl.h.
Referenced by kind().
|
protected |
Definition at line 86 of file configimpl.h.
Referenced by ConfigBool::ConfigBool(), ConfigDisabled::ConfigDisabled(), ConfigEnum::ConfigEnum(), ConfigInfo::ConfigInfo(), ConfigInt::ConfigInt(), ConfigList::ConfigList(), ConfigObsolete::ConfigObsolete(), ConfigString::ConfigString(), and name().
|
protected |
Definition at line 85 of file configimpl.h.
Referenced by ConfigOption().
|
protected |
Definition at line 90 of file configimpl.h.
Referenced by setUserComment().