#include <config.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 | Config |
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 config.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 config.h.
|
inline |
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in ConfigBool, ConfigInt, ConfigString, ConfigEnum, and ConfigList.
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in ConfigDisabled, ConfigObsolete, ConfigBool, ConfigInt, ConfigString, ConfigEnum, ConfigList, and ConfigInfo.
|
protected |
Definition at line 726 of file config.cpp.
|
protected |
Definition at line 732 of file config.cpp.
|
protected |
Definition at line 768 of file config.cpp.
|
protected |
Definition at line 737 of file config.cpp.
|
protectedpure virtual |
Implemented in ConfigDisabled, ConfigObsolete, ConfigBool, ConfigInt, ConfigString, ConfigEnum, ConfigList, and ConfigInfo.
|
protected |