Bazaar developer reference

CvEmphasisXMLEntries::GetNumEmphases()

Defined in
CvEmphasisClasses.cpp, line 85
Class
CvEmphasisXMLEntries
Hook name
CivHooks::CvEmphasisXMLEntries_GetNumEmphases

Hooks

static bool BeforeCvEmphasisXMLEntries_GetNumEmphases(CvEmphasisXMLEntries* self, int& result);static void AfterCvEmphasisXMLEntries_GetNumEmphases(CvEmphasisXMLEntries* self, int& result);static int ReplaceCvEmphasisXMLEntries_GetNumEmphases(int (*original)(CvEmphasisXMLEntries*), CvEmphasisXMLEntries* self);CivRegisterBefore<CivHooks::CvEmphasisXMLEntries_GetNumEmphases>(host, &BeforeCvEmphasisXMLEntries_GetNumEmphases);CivRegisterAfter<CivHooks::CvEmphasisXMLEntries_GetNumEmphases>(host, &AfterCvEmphasisXMLEntries_GetNumEmphases);CivRegisterReplace<CivHooks::CvEmphasisXMLEntries_GetNumEmphases>(host, &ReplaceCvEmphasisXMLEntries_GetNumEmphases);

Code

84/// Number of defined policies85int CvEmphasisXMLEntries::GetNumEmphases()86{87	return m_paEmphasisEntries.size();88}

Calls