|
Doxygen
|
Class representing an integer type option. More...
#include <src/configimpl.h>
Public Member Functions | |
| ConfigInt (const char *name, const char *doc, int minVal, int maxVal, int defVal) | |
| DString * | 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 |
| Public Member Functions inherited from ConfigOption | |
| ConfigOption (OptionType t) | |
| OptionType | kind () const |
| DString | name () const |
| DString | docs () const |
| DString | dependsOn () const |
| void | addDependency (const char *dep) |
| void | setEncoding (const DString &e) |
| void | setUserComment (const DString &u) |
Private Attributes | |
| int | m_value |
| int | m_defValue |
| int | m_minVal |
| int | m_maxVal |
| DString | 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 DString &s, bool initSpace=true, bool wasQuoted=false) |
| void | writeStringList (TextStream &t, const StringVector &l) |
| Protected Attributes inherited from ConfigOption | |
| DString | m_spaces |
| DString | m_name |
| DString | m_doc |
| DString | m_dependency |
| DString | m_encoding |
| DString | m_userComment |
| OptionType | m_kind |
Class representing an integer type option.
Definition at line 215 of file configimpl.h.
|
inline |
Definition at line 218 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.
Referenced by ConfigImpl::addInt().
|
overridevirtual |
Implements ConfigOption.
Definition at line 550 of file configimpl.l.
References Config::CompressedNoEnv, containsEnvVar(), isDefault(), m_valueString, and writeTemplate().
|
overridevirtual |
Reimplemented from ConfigOption.
Definition at line 195 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn(), containsEnvVar(), DString::empty(), m_maxVal, m_minVal, ConfigOption::m_name, m_value, m_valueString, and DString::toInt().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 238 of file configimpl.h.
References m_defValue, and m_value.
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 239 of file configimpl.h.
References m_defValue, and m_value.
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
inline |
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 1530 of file configimpl.l.
References m_valueString, and substEnvVarsInString().
|
inline |
|
inline |
Definition at line 228 of file configimpl.h.
References m_valueString.
Referenced by DocPara::handleDoxyConfig().
|
overridevirtual |
Implements ConfigOption.
Definition at line 526 of file configimpl.l.
References convertToComment(), DString::empty(), DString::left(), DString::length(), 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().
|
overridevirtual |
Implements ConfigOption.
Definition at line 555 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeIntValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 567 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 242 of file configimpl.h.
Referenced by ConfigInt(), init(), and isDefault().
|
private |
Definition at line 244 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), and maxVal().
|
private |
Definition at line 243 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), and minVal().
|
private |
Definition at line 241 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), init(), isDefault(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 245 of file configimpl.h.
Referenced by compareDoxyfile(), convertStrToVal(), substEnvVars(), valueStringRef(), and writeTemplate().