Bazaar developer reference

CvGlobals::getDefineSTRING(const char *, bool)

Defined in
CvGlobals.cpp, line 6126
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getDefineSTRING

Hooks

static bool BeforeCvGlobals_getDefineSTRING(CvGlobals* self, const char* szName, bool bReportErrors, CvString& result);static void AfterCvGlobals_getDefineSTRING(CvGlobals* self, const char* szName, bool bReportErrors, CvString& result);static CvString ReplaceCvGlobals_getDefineSTRING(CvString (*original)(CvGlobals*, const char*, bool), CvGlobals* self, const char* szName, bool bReportErrors);CivRegisterBefore<CivHooks::CvGlobals_getDefineSTRING>(host, &BeforeCvGlobals_getDefineSTRING);CivRegisterAfter<CivHooks::CvGlobals_getDefineSTRING>(host, &AfterCvGlobals_getDefineSTRING);CivRegisterReplace<CivHooks::CvGlobals_getDefineSTRING>(host, &ReplaceCvGlobals_getDefineSTRING);

Code

6126CvString CvGlobals::getDefineSTRING(const char* szName, bool bReportErrors)6127{6128	CvString strReturn;6129	getDefineValue(szName, strReturn, bReportErrors);6130	return strReturn;6131}

Calls

Called by