The ConfigEnum
Class Reference
Class representing an enum type option. More...
Declaration
Included Headers
Base class
class | ConfigOption |
Abstract base class for any configuration option. More... | |
Public Constructors Index
ConfigEnum (const char *name, const char *doc, const char *defVal) | |
Public Member Functions Index
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 |
Private Member Attributes Index
std::vector< QCString > | m_valueRange |
QCString | m_value |
QCString | m_defValue |
Description
Class representing an enum type option.
Definition at line 156 of file configimpl.h.
Public Constructors
ConfigEnum()
| inline |
Definition at line 159 of file configimpl.h.
References ConfigOption::ConfigOption, m_defValue, ConfigOption::m_doc, ConfigOption::m_name, m_value, ConfigOption::name and ConfigOption::O_Enum.
Public Member Functions
addValue()
| inline |
Definition at line 167 of file configimpl.h.
Reference m_valueRange.
compareDoxyfile()
| virtual |
Declaration at line 173 of file configimpl.h, definition at line 463 of file configimpl.l.
References isDefault, TRUE and writeTemplate.
convertStrToVal()
| virtual |
Declaration at line 172 of file configimpl.h, definition at line 259 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn, containsEnvVar, m_defValue, ConfigOption::m_name, m_value and m_valueRange.
init()
| inline virtual |
Definition at line 176 of file configimpl.h.
References m_defValue and m_value.
isDefault()
| inline virtual |
Definition at line 177 of file configimpl.h.
References m_defValue and m_value.
Referenced by compareDoxyfile and writeXMLDoxyfile.
substEnvVars()
| virtual |
Declaration at line 170 of file configimpl.h, definition at line 1526 of file configimpl.l.
References m_value and substEnvVarsInString.
valueRef()
| inline |
Definition at line 169 of file configimpl.h.
Reference m_value.
Referenced by DocPara::handleDoxyConfig and Config::updateObsolete.
values()
| inline |
Definition at line 168 of file configimpl.h.
Reference m_valueRange.
writeTemplate()
| virtual |
Declaration at line 171 of file configimpl.h, definition at line 446 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.
writeXMLDoxyfile()
| virtual |
Declaration at line 174 of file configimpl.h, definition at line 468 of file configimpl.l.
References isDefault, ConfigOption::m_name, m_value and ConfigOption::writeStringValue.
writeXSDDoxyfile()
| virtual |
Declaration at line 175 of file configimpl.h, definition at line 480 of file configimpl.l.
Reference ConfigOption::m_name.
Private Member Attributes
m_defValue
|
Definition at line 182 of file configimpl.h.
Referenced by ConfigEnum, convertStrToVal, init and isDefault.
m_value
|
Definition at line 181 of file configimpl.h.
Referenced by ConfigEnum, convertStrToVal, init, isDefault, substEnvVars, valueRef, writeTemplate and writeXMLDoxyfile.
m_valueRange
|
Definition at line 180 of file configimpl.h.
Referenced by addValue, convertStrToVal and values.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.