The ConfigBool
Class Reference
Class representing a Boolean type option. More...
Declaration
Included Headers
Base class
class | ConfigOption |
Abstract base class for any configuration option. More... | |
Public Constructors Index
ConfigBool (const char *name, const char *doc, bool defVal) | |
Public Member Functions Index
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 |
Private Member Attributes Index
bool | m_value |
bool | m_defValue |
QCString | m_valueString |
Description
Class representing a Boolean type option.
Definition at line 254 of file configimpl.h.
Public Constructors
ConfigBool()
| inline |
Definition at line 257 of file configimpl.h.
References ConfigOption::ConfigOption, m_defValue, ConfigOption::m_doc, ConfigOption::m_name, m_value, ConfigOption::name and ConfigOption::O_Bool.
Public Member Functions
compareDoxyfile()
| virtual |
Declaration at line 271 of file configimpl.h, definition at line 597 of file configimpl.l.
References Config::CompressedNoEnv, containsEnvVar, isDefault, m_valueString, TRUE and writeTemplate.
convertStrToVal()
| virtual |
Declaration at line 267 of file configimpl.h, definition at line 237 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn, containsEnvVar, convertStringToBool, ConfigOption::m_name, m_value and m_valueString.
init()
| inline virtual |
Definition at line 274 of file configimpl.h.
References m_defValue and m_value.
isDefault()
| inline virtual |
Definition at line 275 of file configimpl.h.
References m_defValue and m_value.
Referenced by compareDoxyfile and writeXMLDoxyfile.
setValueString()
| inline |
Definition at line 269 of file configimpl.h.
Reference m_valueString.
substEnvVars()
| virtual |
Declaration at line 268 of file configimpl.h, definition at line 1516 of file configimpl.l.
References m_valueString and substEnvVarsInString.
valueRef()
| inline |
Definition at line 266 of file configimpl.h.
Reference m_value.
valueStringRef()
| inline |
Definition at line 265 of file configimpl.h.
Reference m_valueString.
Referenced by DocPara::handleDoxyConfig and Config::updateObsolete.
writeTemplate()
| virtual |
Declaration at line 270 of file configimpl.h, definition at line 572 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.
writeXMLDoxyfile()
| virtual |
Declaration at line 272 of file configimpl.h, definition at line 602 of file configimpl.l.
References isDefault, ConfigOption::m_name, m_value and ConfigOption::writeBoolValue.
writeXSDDoxyfile()
| virtual |
Declaration at line 273 of file configimpl.h, definition at line 614 of file configimpl.l.
Reference ConfigOption::m_name.
Private Member Attributes
m_defValue
|
Definition at line 278 of file configimpl.h.
Referenced by ConfigBool, init and isDefault.
m_value
|
Definition at line 277 of file configimpl.h.
Referenced by ConfigBool, convertStrToVal, init, isDefault, valueRef, writeTemplate and writeXMLDoxyfile.
m_valueString
|
Definition at line 279 of file configimpl.h.
Referenced by compareDoxyfile, convertStrToVal, setValueString, substEnvVars, valueStringRef and writeTemplate.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.