Doxygen
|
Class representing an enum type option. More...
#include <src/configimpl.h>
Public Member Functions | |
ConfigEnum (const char *name, const char *doc, const char *defVal) | |
void | addValue (const char *v) |
const std::vector< QCString > & | values () const |
QCString * | valueRef () |
void | substEnvVars () override |
void | writeTemplate (TextStream &t, bool sl, bool) override |
void | convertStrToVal (Config::CompareMode compareMode) override |
void | compareDoxyfile (TextStream &t, Config::CompareMode compareMode) override |
void | writeXMLDoxyfile (TextStream &t) override |
void | writeXSDDoxyfile (TextStream &t) override |
void | init () override |
bool | isDefault () override |
Public Member Functions inherited from ConfigOption | |
ConfigOption (OptionType t) | |
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) |
Private Attributes | |
std::vector< QCString > | m_valueRange |
QCString | m_value |
QCString | m_defValue |
Additional Inherited Members | |
Public Types inherited from ConfigOption | |
enum | OptionType { O_Info , O_List , O_Enum , O_String , O_Int , O_Bool , O_Obsolete , O_Disabled } |
enum | { MAX_OPTION_LENGTH = 23 } |
Protected Member Functions inherited from ConfigOption | |
virtual void | emptyValueToDefault () |
void | writeBoolValue (TextStream &t, bool v, bool initSpace=true) |
void | writeIntValue (TextStream &t, int i, bool initSpace=true) |
void | writeStringValue (TextStream &t, const QCString &s, bool initSpace=true, bool wasQuoted=false) |
void | writeStringList (TextStream &t, const StringVector &l) |
Protected Attributes inherited from ConfigOption | |
QCString | m_spaces |
QCString | m_name |
QCString | m_doc |
QCString | m_dependency |
QCString | m_encoding |
QCString | m_userComment |
OptionType | m_kind |
Class representing an enum type option.
Definition at line 155 of file configimpl.h.
|
inline |
Definition at line 158 of file configimpl.h.
References ConfigOption::ConfigOption(), m_defValue, ConfigOption::m_doc, ConfigOption::m_name, m_value, ConfigOption::name(), and ConfigOption::O_Enum.
|
inline |
Definition at line 166 of file configimpl.h.
References m_valueRange.
|
overridevirtual |
Implements ConfigOption.
Definition at line 473 of file configimpl.l.
References isDefault(), TRUE, and writeTemplate().
|
overridevirtual |
Reimplemented from ConfigOption.
Definition at line 269 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn(), containsEnvVar(), m_defValue, ConfigOption::m_name, m_value, m_valueRange, and qPrint().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 175 of file configimpl.h.
References m_defValue, and m_value.
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 176 of file configimpl.h.
References m_defValue, and m_value.
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
overridevirtual |
Implements ConfigOption.
Definition at line 1534 of file configimpl.l.
References m_value, and substEnvVarsInString().
|
inline |
Definition at line 168 of file configimpl.h.
References m_value.
Referenced by DocPara::handleDoxyConfig(), and Config::updateObsolete().
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 456 of file configimpl.l.
References convertToComment(), ConfigOption::m_doc, ConfigOption::m_name, ConfigOption::m_spaces, ConfigOption::m_userComment, m_value, ConfigOption::MAX_OPTION_LENGTH, and ConfigOption::writeStringValue().
Referenced by compareDoxyfile().
|
overridevirtual |
Implements ConfigOption.
Definition at line 478 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeStringValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 490 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 181 of file configimpl.h.
Referenced by ConfigEnum(), convertStrToVal(), init(), and isDefault().
|
private |
Definition at line 180 of file configimpl.h.
Referenced by ConfigEnum(), convertStrToVal(), init(), isDefault(), substEnvVars(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 179 of file configimpl.h.
Referenced by addValue(), convertStrToVal(), and values().