MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / createContent

Method createContent

Components/Paging/src/OgrePageManager.cpp:283–292  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

281 }
282 //---------------------------------------------------------------------
283 PageContent* PageManager::createContent(const String& typeName)
284 {
285 PageContentFactory* fact = getContentFactory(typeName);
286 if (!fact)
287 OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND,
288 typeName + " is not the name of a valid PageContentFactory",
289 "PageManager::createContent");
290
291 return fact->createInstance();
292 }
293 //---------------------------------------------------------------------
294 void PageManager::destroyContent(PageContent* c)
295 {

Callers

nothing calls this directly

Calls 1

createInstanceMethod · 0.45

Tested by

no test coverage detected