MCPcopy Create free account
hub / github.com/OGRECave/ogre / prepare

Method prepare

Components/Paging/src/OgreSimplePageContentCollection.cpp:96–110  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

94 }
95 //---------------------------------------------------------------------
96 bool SimplePageContentCollection::prepare(StreamSerialiser& stream)
97 {
98 if (!stream.readChunkBegin(SUBCLASS_CHUNK_ID, SUBCLASS_CHUNK_VERSION, "SimplePageContentCollection"))
99 return false;
100
101 bool ret = true;
102 for (auto & i : mContentList)
103 ret = i->prepare(stream) && ret;
104
105
106 stream.readChunkEnd(SUBCLASS_CHUNK_ID);
107
108 return ret;
109
110 }
111 //---------------------------------------------------------------------
112 void SimplePageContentCollection::load()
113 {

Callers 1

prepareImplMethod · 0.45

Calls 2

readChunkBeginMethod · 0.80
readChunkEndMethod · 0.80

Tested by

no test coverage detected