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

Method createContentCollection

Components/Paging/src/OgrePageManager.cpp:233–242  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

231 }
232 //---------------------------------------------------------------------
233 PageContentCollection* PageManager::createContentCollection(const String& typeName)
234 {
235 PageContentCollectionFactory* fact = getContentCollectionFactory(typeName);
236 if (!fact)
237 OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND,
238 typeName + " is not the name of a valid PageContentCollectionFactory",
239 "PageManager::createContentCollection");
240
241 return fact->createInstance();
242 }
243 //---------------------------------------------------------------------
244 void PageManager::destroyContentCollection(PageContentCollection* coll)
245 {

Callers

nothing calls this directly

Calls 1

createInstanceMethod · 0.45

Tested by

no test coverage detected