Doxygen
Loading...
Searching...
No Matches
configimpl.h File Reference
#include <vector>
#include <unordered_map>
#include <string>
#include <memory>
#include <iostream>
#include "containers.h"
#include "qcstring.h"
#include "config.h"
#include "construct.h"
+ Include dependency graph for configimpl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ConfigOption
 Abstract base class for any configuration option. More...
 
class  ConfigInfo
 Section marker for grouping the configuration options. More...
 
class  ConfigList
 Class representing a list type option. More...
 
class  ConfigEnum
 Class representing an enum type option. More...
 
class  ConfigString
 Class representing a string type option. More...
 
class  ConfigInt
 Class representing an integer type option. More...
 
class  ConfigBool
 Class representing a Boolean type option. More...
 
class  ConfigObsolete
 Section marker for obsolete options. More...
 
class  ConfigDisabled
 Section marker for compile time optional options. More...
 
class  ConfigImpl
 Singleton for configuration variables. More...
 

Macros

#define ConfigImpl_getString(val)
 
#define ConfigImpl_getInt(val)
 
#define ConfigImpl_getList(val)
 
#define ConfigImpl_getEnum(val)
 
#define ConfigImpl_getBool(val)
 

Typedefs

using ConfigOptionList = std::vector< std::unique_ptr<ConfigOption> >
 
using ConfigOptionMap = std::unordered_map< std::string, ConfigOption* >
 

Macro Definition Documentation

◆ ConfigImpl_getBool

#define ConfigImpl_getBool ( val)
Value:
ConfigImpl::instance()->getBool(__FILE__,__LINE__,val)
static ConfigImpl * instance()
Definition configimpl.h:350
bool & getBool(const char *fileName, int num, const char *name) const
Definition configimpl.l:351

Definition at line 324 of file configimpl.h.

Referenced by Config::checkAndCorrect().

◆ ConfigImpl_getEnum

#define ConfigImpl_getEnum ( val)
Value:
ConfigImpl::instance()->getEnum(__FILE__,__LINE__,val)
QCString & getEnum(const char *fileName, int num, const char *name) const
Definition configimpl.l:323

Definition at line 323 of file configimpl.h.

◆ ConfigImpl_getInt

#define ConfigImpl_getInt ( val)
Value:
ConfigImpl::instance()->getInt(__FILE__,__LINE__,val)
int & getInt(const char *fileName, int num, const char *name) const
Definition configimpl.l:337

Definition at line 321 of file configimpl.h.

◆ ConfigImpl_getList

#define ConfigImpl_getList ( val)
Value:
ConfigImpl::instance()->getList(__FILE__,__LINE__,val)
StringVector & getList(const char *fileName, int num, const char *name) const
Definition configimpl.l:309

Definition at line 322 of file configimpl.h.

◆ ConfigImpl_getString

#define ConfigImpl_getString ( val)
Value:
ConfigImpl::instance()->getString(__FILE__,__LINE__,val)
QCString & getString(const char *fileName, int num, const char *name) const
Definition configimpl.l:295

Definition at line 320 of file configimpl.h.

Typedef Documentation

◆ ConfigOptionList

using ConfigOptionList = std::vector< std::unique_ptr<ConfigOption> >

Definition at line 327 of file configimpl.h.

◆ ConfigOptionMap

using ConfigOptionMap = std::unordered_map< std::string, ConfigOption* >

Definition at line 328 of file configimpl.h.