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) | |
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 |
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 | |
int | m_value |
int | m_defValue |
int | m_minVal |
int | m_maxVal |
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 an integer type option.
Definition at line 218 of file configimpl.h.
|
inline |
Definition at line 221 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.
|
overridevirtual |
Implements ConfigOption.
Definition at line 560 of file configimpl.l.
References Config::CompressedNoEnv, containsEnvVar(), isDefault(), m_valueString, TRUE, and writeTemplate().
|
overridevirtual |
Reimplemented from ConfigOption.
Definition at line 205 of file configimpl.l.
References Config::CompressedNoEnv, ConfigImpl::config_warn(), containsEnvVar(), m_maxVal, m_minVal, ConfigOption::m_name, m_value, m_valueString, and qPrint().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 241 of file configimpl.h.
References m_defValue, and m_value.
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 242 of file configimpl.h.
References m_defValue, and m_value.
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
inline |
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 1529 of file configimpl.l.
References m_valueString, and substEnvVarsInString().
|
inline |
|
inline |
Definition at line 231 of file configimpl.h.
References m_valueString.
Referenced by DocPara::handleDoxyConfig().
|
overridevirtual |
Implements ConfigOption.
Definition at line 536 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().
|
overridevirtual |
Implements ConfigOption.
Definition at line 565 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeIntValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 577 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 245 of file configimpl.h.
Referenced by ConfigInt(), init(), and isDefault().
|
private |
Definition at line 247 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), and maxVal().
|
private |
Definition at line 246 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), and minVal().
|
private |
Definition at line 244 of file configimpl.h.
Referenced by ConfigInt(), convertStrToVal(), init(), isDefault(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 248 of file configimpl.h.
Referenced by compareDoxyfile(), convertStrToVal(), substEnvVars(), valueStringRef(), and writeTemplate().