Code::Blocks  SVN r11506
Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CfgMgrBldr Class Reference

#include <configmanager.h>

Inheritance diagram for CfgMgrBldr:
Collaboration diagram for CfgMgrBldr:

Static Public Member Functions

static ConfigManagerGetConfigManager (const wxString &name_space)
 
- Static Public Member Functions inherited from Mgr< CfgMgrBldr >
static bool Valid ()
 
static CfgMgrBldrGet ()
 
static void Free ()
 

Protected Member Functions

 CfgMgrBldr ()
 
 ~CfgMgrBldr () override
 
- Protected Member Functions inherited from Mgr< CfgMgrBldr >
 Mgr ()
 
virtual ~Mgr ()
 

Private Member Functions

void Flush ()
 
void Close ()
 
void SwitchTo (const wxString &absFN)
 
void SwitchToR (const wxString &absFN)
 
ConfigManagerBuild (const wxString &name_space)
 
wxString FindConfigFile (const wxString &filename)
 
wxString DetermineExecutablePath ()
 

Private Attributes

NamespaceMap namespaces
 
TiXmlDocument * doc
 
TiXmlDocument * volatile_doc
 
wxCriticalSection cs
 
bool r
 
wxString cfg
 

Friends

class ConfigManager
 
class Mgr< CfgMgrBldr >
 

Detailed Description

Definition at line 374 of file configmanager.h.

Constructor & Destructor Documentation

◆ CfgMgrBldr()

CfgMgrBldr::CfgMgrBldr ( )
protected

◆ ~CfgMgrBldr()

CfgMgrBldr::~CfgMgrBldr ( )
overrideprotected

Definition at line 372 of file configmanager.cpp.

References Close(), namespaces, and volatile_doc.

Member Function Documentation

◆ Build()

ConfigManager * CfgMgrBldr::Build ( const wxString name_space)
private

◆ Close()

void CfgMgrBldr::Close ( )
private

Definition at line 420 of file configmanager.cpp.

References doc, and Flush().

Referenced by ~CfgMgrBldr().

◆ DetermineExecutablePath()

wxString CfgMgrBldr::DetermineExecutablePath ( )
private

Referenced by FindConfigFile().

◆ FindConfigFile()

wxString CfgMgrBldr::FindConfigFile ( const wxString filename)
private

◆ Flush()

void CfgMgrBldr::Flush ( )
private

◆ GetConfigManager()

ConfigManager * CfgMgrBldr::GetConfigManager ( const wxString name_space)
static

Definition at line 431 of file configmanager.cpp.

References Build(), and Mgr< CfgMgrBldr >::Get().

Referenced by Manager::GetConfigManager().

◆ SwitchTo()

void CfgMgrBldr::SwitchTo ( const wxString absFN)
private

◆ SwitchToR()

void CfgMgrBldr::SwitchToR ( const wxString absFN)
private

Friends And Related Function Documentation

◆ ConfigManager

friend class ConfigManager
friend

Definition at line 376 of file configmanager.h.

Referenced by Build().

◆ Mgr< CfgMgrBldr >

friend class Mgr< CfgMgrBldr >
friend

Definition at line 377 of file configmanager.h.

Member Data Documentation

◆ cfg

wxString CfgMgrBldr::cfg
private

Definition at line 383 of file configmanager.h.

Referenced by CfgMgrBldr(), Flush(), and SwitchToR().

◆ cs

wxCriticalSection CfgMgrBldr::cs
private

◆ doc

TiXmlDocument* CfgMgrBldr::doc
private

Definition at line 379 of file configmanager.h.

Referenced by Build(), CfgMgrBldr(), Close(), Flush(), SwitchTo(), and SwitchToR().

◆ namespaces

NamespaceMap CfgMgrBldr::namespaces
private

◆ r

bool CfgMgrBldr::r
private

Definition at line 382 of file configmanager.h.

◆ volatile_doc

TiXmlDocument* CfgMgrBldr::volatile_doc
private

Definition at line 380 of file configmanager.h.

Referenced by Build(), and ~CfgMgrBldr().


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