The ConfigInt
Class Reference
Class representing an integer type option. More...
Declaration
Included Headers
Base class
class | ConfigOption |
Abstract base class for any configuration option. More... | |
Public Constructors Index
ConfigInt (const char *name, const char *doc, int minVal, int maxVal, int defVal) | |
Public Member Functions Index
QCString * | valueStringRef () |
int * | valueRef () |
int | minVal () const |
int | maxVal () const |
void | convertStrToVal (Config::CompareMode compareMode) override |
void | substEnvVars () override |
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
int | m_value |
int | m_defValue |
int | m_minVal |
int | m_maxVal |
QCString | m_valueString |
Description
Class representing an integer type option.
Definition at line 219 of file configimpl.h.
Public Constructors
ConfigInt()
| inline |
Definition at line 222 of file configimpl.h.
References ConfigOption::ConfigOption, m_defValue, ConfigOption::m_doc, m_maxVal, m_minVal, ConfigOption::m_name, m_value, maxVal, minVal, ConfigOption::name and ConfigOption::O_Int.
Public Member Functions
compareDoxyfile()
| virtual |
Declaration at line 239 of file configimpl.h, definition at line 550 of file configimpl.l.
References Config::CompressedNoEnv, containsEnvVar, isDefault, m_valueString, TRUE and writeTemplate.
convertStrToVal()
| virtual |
Declaration at line 236 of file configimpl.h, definition at line 195 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn, containsEnvVar, m_maxVal, m_minVal, ConfigOption::m_name, m_value and m_valueString.
init()
| inline virtual |
Definition at line 242 of file configimpl.h.
References m_defValue and m_value.
isDefault()
| inline virtual |
Definition at line 243 of file configimpl.h.
References m_defValue and m_value.
Referenced by compareDoxyfile and writeXMLDoxyfile.
maxVal()
| inline |
minVal()
| inline |
substEnvVars()
| virtual |
Declaration at line 237 of file configimpl.h, definition at line 1521 of file configimpl.l.
References m_valueString and substEnvVarsInString.
valueRef()
| inline |
Definition at line 233 of file configimpl.h.
Reference m_value.
valueStringRef()
| inline |
Definition at line 232 of file configimpl.h.
Reference m_valueString.
Referenced by DocPara::handleDoxyConfig.
writeTemplate()
| virtual |
Declaration at line 238 of file configimpl.h, definition at line 526 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::writeIntValue and ConfigOption::writeStringValue.
Referenced by compareDoxyfile.
writeXMLDoxyfile()
| virtual |
Declaration at line 240 of file configimpl.h, definition at line 555 of file configimpl.l.
References isDefault, ConfigOption::m_name, m_value and ConfigOption::writeIntValue.
writeXSDDoxyfile()
| virtual |
Declaration at line 241 of file configimpl.h, definition at line 567 of file configimpl.l.
Reference ConfigOption::m_name.
Private Member Attributes
m_defValue
|
Definition at line 246 of file configimpl.h.
m_maxVal
|
Definition at line 248 of file configimpl.h.
Referenced by ConfigInt, convertStrToVal and maxVal.
m_minVal
|
Definition at line 247 of file configimpl.h.
Referenced by ConfigInt, convertStrToVal and minVal.
m_value
|
Definition at line 245 of file configimpl.h.
Referenced by ConfigInt, convertStrToVal, init, isDefault, valueRef, writeTemplate and writeXMLDoxyfile.
m_valueString
|
Definition at line 249 of file configimpl.h.
Referenced by compareDoxyfile, convertStrToVal, substEnvVars, valueStringRef and writeTemplate.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.