Doxygen
|
Class representing a Boolean type option. More...
#include <src/configimpl.h>
Public Member Functions | |
ConfigBool (const char *name, const char *doc, bool defVal) | |
QCString * | valueStringRef () |
bool * | valueRef () |
void | convertStrToVal (Config::CompareMode compareMode) override |
void | substEnvVars () override |
void | setValueString (const QCString &v) |
void | writeTemplate (TextStream &t, bool sl, bool upd) 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 | |
bool | m_value |
bool | m_defValue |
QCString | m_valueString |
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 a Boolean type option.
Definition at line 253 of file configimpl.h.
|
inline |
Definition at line 256 of file configimpl.h.
References ConfigOption::ConfigOption(), m_defValue, ConfigOption::m_doc, ConfigOption::m_name, m_value, ConfigOption::name(), and ConfigOption::O_Bool.
|
overridevirtual |
Implements ConfigOption.
Definition at line 607 of file configimpl.l.
References Config::CompressedNoEnv, containsEnvVar(), isDefault(), m_valueString, TRUE, and writeTemplate().
|
overridevirtual |
Reimplemented from ConfigOption.
Definition at line 247 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn(), containsEnvVar(), convertStringToBool(), ConfigOption::m_name, m_value, m_valueString, and qPrint().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 273 of file configimpl.h.
References m_defValue, and m_value.
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 274 of file configimpl.h.
References m_defValue, and m_value.
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 1524 of file configimpl.l.
References m_valueString, and substEnvVarsInString().
|
inline |
|
inline |
Definition at line 264 of file configimpl.h.
References m_valueString.
Referenced by DocPara::handleDoxyConfig(), and Config::updateObsolete().
|
overridevirtual |
Implements ConfigOption.
Definition at line 582 of file configimpl.l.
References convertToComment(), ConfigOption::m_doc, ConfigOption::m_name, ConfigOption::m_spaces, ConfigOption::m_userComment, m_value, m_valueString, ConfigOption::MAX_OPTION_LENGTH, ConfigOption::writeBoolValue(), and ConfigOption::writeStringValue().
Referenced by compareDoxyfile().
|
overridevirtual |
Implements ConfigOption.
Definition at line 612 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeBoolValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 624 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 277 of file configimpl.h.
Referenced by ConfigBool(), init(), and isDefault().
|
private |
Definition at line 276 of file configimpl.h.
Referenced by ConfigBool(), convertStrToVal(), init(), isDefault(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 278 of file configimpl.h.
Referenced by compareDoxyfile(), convertStrToVal(), setValueString(), substEnvVars(), valueStringRef(), and writeTemplate().