Bazaar developer reference

CvGlobals::WrapPlotPointer(CvPlot *)

Defined in
CvGlobals.cpp, line 2338
Class
CvGlobals
Hook name
CivHooks::CvGlobals_WrapPlotPointer

Hooks

static bool BeforeCvGlobals_WrapPlotPointer(CvGlobals* self, CvPlot* pPlot, auto_ptr<ICvPlot1>& result);static void AfterCvGlobals_WrapPlotPointer(CvGlobals* self, CvPlot* pPlot, auto_ptr<ICvPlot1>& result);static auto_ptr<ICvPlot1> ReplaceCvGlobals_WrapPlotPointer(auto_ptr<ICvPlot1> (*original)(CvGlobals*, CvPlot*), CvGlobals* self, CvPlot* pPlot);CivRegisterBefore<CivHooks::CvGlobals_WrapPlotPointer>(host, &BeforeCvGlobals_WrapPlotPointer);CivRegisterAfter<CivHooks::CvGlobals_WrapPlotPointer>(host, &AfterCvGlobals_WrapPlotPointer);CivRegisterReplace<CivHooks::CvGlobals_WrapPlotPointer>(host, &ReplaceCvGlobals_WrapPlotPointer);

Code

2338auto_ptr<ICvPlot1> CvGlobals::WrapPlotPointer(CvPlot* pPlot)2339{2340	return auto_ptr<ICvPlot1>((NULL != pPlot)? new CvDllPlot(pPlot) : NULL);2341}

Calls

Called by