Doxygen
|
Class representing a list type option. More...
#include <src/configimpl.h>
Public Types | |
enum | WidgetType { String , File , Dir , 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 | |
ConfigList (const char *name, const char *doc) | |
void | addValue (const char *v) |
void | setWidgetType (WidgetType w) |
WidgetType | widgetType () const |
StringVector * | valueRef () |
StringVector | getDefault () |
void | emptyValueToDefault () override |
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 |
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 | |
StringVector | m_value |
StringVector | m_defaultValue |
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 list type option.
Definition at line 123 of file configimpl.h.
|
inline |
Definition at line 127 of file configimpl.h.
References ConfigOption::ConfigOption(), ConfigOption::m_doc, ConfigOption::m_name, m_widgetType, ConfigOption::name(), ConfigOption::O_List, and String.
|
inline |
Definition at line 134 of file configimpl.h.
References m_defaultValue.
|
overridevirtual |
Implements ConfigOption.
Definition at line 427 of file configimpl.l.
References isDefault(), TRUE, and writeTemplate().
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 139 of file configimpl.h.
References m_defaultValue, and m_value.
|
inline |
|
inlineoverridevirtual |
Reimplemented from ConfigOption.
Definition at line 145 of file configimpl.h.
References m_defaultValue, and m_value.
|
overridevirtual |
Reimplemented from ConfigOption.
Definition at line 395 of file configimpl.l.
References m_defaultValue, m_value, and QCString::stripWhiteSpace().
Referenced by compareDoxyfile(), and writeXMLDoxyfile().
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 1519 of file configimpl.l.
References m_value, and substEnvVarsInStrList().
|
inline |
|
inline |
|
overridevirtual |
Implements ConfigOption.
Definition at line 378 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::writeStringList().
Referenced by compareDoxyfile().
|
overridevirtual |
Implements ConfigOption.
Definition at line 432 of file configimpl.l.
References isDefault(), ConfigOption::m_name, m_value, and ConfigOption::writeStringValue().
|
overridevirtual |
Implements ConfigOption.
Definition at line 451 of file configimpl.l.
References ConfigOption::m_name.
|
private |
Definition at line 149 of file configimpl.h.
Referenced by addValue(), emptyValueToDefault(), getDefault(), init(), and isDefault().
|
private |
Definition at line 148 of file configimpl.h.
Referenced by emptyValueToDefault(), init(), isDefault(), substEnvVars(), valueRef(), writeTemplate(), and writeXMLDoxyfile().
|
private |
Definition at line 150 of file configimpl.h.
Referenced by ConfigList(), setWidgetType(), and widgetType().