Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
anonymous_namespace{ConfigDB.cpp} Namespace Reference

Functions

void TriggerAllHooks (const std::multimap< CStr, std::function< void()> > &hooks, const CStr &name)
 
template<typename T >
void Get (const CStr &value, T &ret)
 
template<>
void Get (const CStr &value, bool &ret)
 
template<>
void Get (const CStr &value, std::string &ret)
 
std::string EscapeString (const CStr &str)
 

Variables

const std::unordered_set< std::string > g_UnloggedEntries
 

Function Documentation

◆ EscapeString()

std::string anonymous_namespace{ConfigDB.cpp}::EscapeString ( const CStr &  str)

◆ Get() [1/3]

template<>
void anonymous_namespace{ConfigDB.cpp}::Get ( const CStr &  value,
bool &  ret 
)

◆ Get() [2/3]

template<>
void anonymous_namespace{ConfigDB.cpp}::Get ( const CStr &  value,
std::string &  ret 
)

◆ Get() [3/3]

template<typename T >
void anonymous_namespace{ConfigDB.cpp}::Get ( const CStr &  value,
T ret 
)

◆ TriggerAllHooks()

void anonymous_namespace{ConfigDB.cpp}::TriggerAllHooks ( const std::multimap< CStr, std::function< void()> > &  hooks,
const CStr &  name 
)

Variable Documentation

◆ g_UnloggedEntries

const std::unordered_set<std::string> anonymous_namespace{ConfigDB.cpp}::g_UnloggedEntries
Initial value:
= {
"lobby.password",
"lobby.buddies",
"userreport.id"
}