Doxygen
Loading...
Searching...
No Matches
ConfigObsolete Class Reference

Section marker for obsolete options. More...

#include <src/configimpl.h>

+ Inheritance diagram for ConfigObsolete:
+ Collaboration diagram for ConfigObsolete:

Public Member Functions

 ConfigObsolete (const char *name, OptionType orgType)
 
void writeTemplate (TextStream &, bool, bool) override
 
void compareDoxyfile (TextStream &, Config::CompareMode) override
 
void writeXMLDoxyfile (TextStream &) override
 
void writeXSDDoxyfile (TextStream &) override
 
void substEnvVars () override
 
OptionType orgType () const
 
StringVectorvalueListRef ()
 
QCStringvalueStringRef ()
 
void markAsPresent ()
 
bool isPresent () const
 
- 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

OptionType m_orgType
 
StringVector m_listvalue
 
QCString m_valueString
 
bool m_present = false
 

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 convertStrToVal (Config::CompareMode)
 
virtual void emptyValueToDefault ()
 
virtual void init ()
 
virtual bool isDefault ()
 
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
 

Detailed Description

Section marker for obsolete options.

Definition at line 283 of file configimpl.h.

Constructor & Destructor Documentation

◆ ConfigObsolete()

ConfigObsolete::ConfigObsolete ( const char * name,
OptionType orgType )
inline

Definition at line 286 of file configimpl.h.

287 { m_name = name; }
OptionType m_orgType
Definition configimpl.h:299
OptionType orgType() const
Definition configimpl.h:293
ConfigOption(OptionType t)
Definition configimpl.h:63
QCString m_name
Definition configimpl.h:95
QCString name() const
Definition configimpl.h:70
@ O_Obsolete
An obsolete option.
Definition configimpl.h:53

References ConfigOption::ConfigOption(), ConfigOption::m_name, m_orgType, ConfigOption::name(), ConfigOption::O_Obsolete, and orgType().

Member Function Documentation

◆ compareDoxyfile()

void ConfigObsolete::compareDoxyfile ( TextStream & ,
Config::CompareMode  )
inlineoverridevirtual

Implements ConfigOption.

Definition at line 289 of file configimpl.h.

289{}

◆ isPresent()

bool ConfigObsolete::isPresent ( ) const
inline

Definition at line 297 of file configimpl.h.

297{ return m_present; }

References m_present.

Referenced by Config::updateObsolete().

◆ markAsPresent()

void ConfigObsolete::markAsPresent ( )
inline

Definition at line 296 of file configimpl.h.

296{ m_present = true; }

References m_present.

◆ orgType()

OptionType ConfigObsolete::orgType ( ) const
inline

Definition at line 293 of file configimpl.h.

293{ return m_orgType; }

References m_orgType.

Referenced by ConfigObsolete(), and Config::updateObsolete().

◆ substEnvVars()

void ConfigObsolete::substEnvVars ( )
inlineoverridevirtual

Implements ConfigOption.

Definition at line 292 of file configimpl.h.

292{}

◆ valueListRef()

StringVector * ConfigObsolete::valueListRef ( )
inline

Definition at line 294 of file configimpl.h.

294{ return &m_listvalue; }
StringVector m_listvalue
Definition configimpl.h:300

References m_listvalue.

◆ valueStringRef()

QCString * ConfigObsolete::valueStringRef ( )
inline

Definition at line 295 of file configimpl.h.

295{ return &m_valueString; }
QCString m_valueString
Definition configimpl.h:301

References m_valueString.

Referenced by updateAttribute(), and Config::updateObsolete().

◆ writeTemplate()

void ConfigObsolete::writeTemplate ( TextStream & ,
bool ,
bool  )
overridevirtual

Implements ConfigOption.

Definition at line 629 of file configimpl.l.

629{}

◆ writeXMLDoxyfile()

void ConfigObsolete::writeXMLDoxyfile ( TextStream & )
inlineoverridevirtual

Implements ConfigOption.

Definition at line 290 of file configimpl.h.

290{}

◆ writeXSDDoxyfile()

void ConfigObsolete::writeXSDDoxyfile ( TextStream & )
inlineoverridevirtual

Implements ConfigOption.

Definition at line 291 of file configimpl.h.

291{}

Member Data Documentation

◆ m_listvalue

StringVector ConfigObsolete::m_listvalue
private

Definition at line 300 of file configimpl.h.

Referenced by valueListRef().

◆ m_orgType

OptionType ConfigObsolete::m_orgType
private

Definition at line 299 of file configimpl.h.

Referenced by ConfigObsolete(), and orgType().

◆ m_present

bool ConfigObsolete::m_present = false
private

Definition at line 302 of file configimpl.h.

Referenced by isPresent(), and markAsPresent().

◆ m_valueString

QCString ConfigObsolete::m_valueString
private

Definition at line 301 of file configimpl.h.

Referenced by valueStringRef().


The documentation for this class was generated from the following files: