TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Functions
BuiltInConfig.cpp File Reference
#include "
BuiltInConfig.h
"
#include "
Config.h
"
#include "
GitRevision.h
"
Include dependency graph for BuiltInConfig.cpp:
Functions
template<typename Fn >
static std::string
GetStringWithDefaultValueFromFunction
(std::string
const
&key, Fn getter)
Function Documentation
template<typename Fn >
static std::string GetStringWithDefaultValueFromFunction
(
std::string
const
&
key
,
Fn
getter
)
static
25
{
26
std::string
const
value
=
sConfigMgr
->GetStringDefault(key,
""
);
27
return
value.empty() ? getter() : value;
28
}
sConfigMgr
#define sConfigMgr
Definition:
Config.h:61
google::protobuf::value
const FieldDescriptor value
Definition:
descriptor.h:1522
Here is the caller graph for this function:
Generated on Tue Apr 5 2016 20:14:14 for TrinityCore by
1.8.8