Doxygen
|
Class representing a string type option. More...
#include <src/configimpl.h>
Public Types | |
enum | WidgetType { String , File , Dir , Image , FileAndDir } |
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 } |
Public Member Functions | |
ConfigString (const char *name, const char *doc) | |
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 |
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 | |
QCString | m_value |
QCString | m_defValue |
WidgetType | m_widgetType |
Additional Inherited Members | |
Protected Member Functions inherited from ConfigOption | |
virtual void | convertStrToVal (Config::CompareMode) |
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 a string type option.
Definition at line 186 of file configimpl.h.
|
inline |
Definition at line 190 of file configimpl.h.
References ConfigOption::ConfigOption(), ConfigOption::m_doc, ConfigOption::m_name, m_widgetType, ConfigOption::name(), ConfigOption::O_String, and String.
|
overridevirtual |
Implements ConfigOption.
Definition at line 512 of file configimpl.l.
References isDefault(), TRUE, and writeTemplate().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 207 of file configimpl.h.
References m_defValue, and m_value.
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 206 of file configimpl.h.
References m_defValue, and m_value.
Referenced by Config::parse().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 208 of file configimpl.h.
References m_defValue, and m_value.
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
inline |
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 1514 of file configimpl.l.
References m_value, and substEnvVarsInString().
|
inline |
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 495 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().
|
overridevirtual |
Implements ConfigOption.
Definition at line 517 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeStringValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 531 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 212 of file configimpl.h.
Referenced by emptyValueToDefault(), init(), isDefault(), and setDefaultValue().
|
private |
Definition at line 211 of file configimpl.h.
Referenced by emptyValueToDefault(), init(), isDefault(), substEnvVars(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 213 of file configimpl.h.
Referenced by ConfigString(), setWidgetType(), and widgetType().