---------------------------------------------------------------------
| 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 | { |
no test coverage detected