The ConfigString
Class Reference
Class representing a string type option. More...
Declaration
Included Headers
Base class
class | ConfigOption |
Abstract base class for any configuration option. More... | |
Enumerations Index
enum | WidgetType { ... } |
Public Constructors Index
ConfigString (const char *name, const char *doc) | |
Public Member Functions Index
void | setWidgetType (WidgetType w) |
WidgetType | widgetType () const |
void | setDefaultValue (const char *v) |
QCString * | valueRef () |
void | writeTemplate (TextStream &t, bool sl, bool) override |
void | compareDoxyfile (TextStream &t, Config::CompareMode compareMode) override |
void | writeXMLDoxyfile (TextStream &t) override |
void | writeXSDDoxyfile (TextStream &t) override |
void | substEnvVars () override |
void | init () override |
void | emptyValueToDefault () override |
bool | isDefault () override |
Private Member Attributes Index
QCString | m_value |
QCString | m_defValue |
WidgetType | m_widgetType |
Description
Class representing a string type option.
Definition at line 187 of file configimpl.h.
Enumerations
WidgetType
|
Definition at line 190 of file configimpl.h.
Public Constructors
ConfigString()
| inline |
Definition at line 191 of file configimpl.h.
References ConfigOption::ConfigOption, ConfigOption::m_doc, ConfigOption::m_name, m_widgetType, ConfigOption::name, ConfigOption::O_String and String.
Public Member Functions
compareDoxyfile()
| virtual |
Declaration at line 203 of file configimpl.h, definition at line 502 of file configimpl.l.
References isDefault, TRUE and writeTemplate.
emptyValueToDefault()
| inline virtual |
Definition at line 208 of file configimpl.h.
References m_defValue and m_value.
init()
| inline virtual |
Definition at line 207 of file configimpl.h.
References m_defValue and m_value.
Referenced by Config::parse.
isDefault()
| inline virtual |
Definition at line 209 of file configimpl.h.
References m_defValue and m_value.
Referenced by compareDoxyfile and writeXMLDoxyfile.
setDefaultValue()
| inline |
Definition at line 200 of file configimpl.h.
Reference m_defValue.
setWidgetType()
| inline |
Definition at line 198 of file configimpl.h.
Reference m_widgetType.
substEnvVars()
| virtual |
Declaration at line 206 of file configimpl.h, definition at line 1506 of file configimpl.l.
References m_value and substEnvVarsInString.
valueRef()
| inline |
Definition at line 201 of file configimpl.h.
Reference m_value.
Referenced by checkEncoding and DocPara::handleDoxyConfig.
widgetType()
| inline |
Definition at line 199 of file configimpl.h.
Reference m_widgetType.
writeTemplate()
| virtual |
Declaration at line 202 of file configimpl.h, definition at line 485 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 204 of file configimpl.h, definition at line 507 of file configimpl.l.
References isDefault, ConfigOption::m_name, m_value and ConfigOption::writeStringValue.
writeXSDDoxyfile()
| virtual |
Declaration at line 205 of file configimpl.h, definition at line 521 of file configimpl.l.
Reference ConfigOption::m_name.
Private Member Attributes
m_defValue
|
Definition at line 213 of file configimpl.h.
Referenced by emptyValueToDefault, init, isDefault and setDefaultValue.
m_value
|
Definition at line 212 of file configimpl.h.
Referenced by emptyValueToDefault, init, isDefault, substEnvVars, valueRef, writeTemplate and writeXMLDoxyfile.
m_widgetType
|
Definition at line 214 of file configimpl.h.
Referenced by ConfigString, setWidgetType and widgetType.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.