22 #ifndef STARK_FORMATS_BIFF_H 23 #define STARK_FORMATS_BIFF_H 25 #include "common/array.h" 26 #include "common/scummsys.h" 30 class ArchiveReadStream;
45 typedef BiffObject *(*ObjectBuilder)(uint32 type);
61 ObjectBuilder _objectBuilder;
83 uint32 getType()
const;
108 for (uint i = 0; i < objects.
size(); i++) {
109 array.
push_back(objects[i]->listChildrenRecursive<T>());
119 for (uint i = 0; i < _children.size(); i++) {
120 if (_children[i]->getType() == T::TYPE) {
122 list.
push_back(static_cast<T *>(_children[i]));
126 list.
push_back(_children[i]->listChildrenRecursive<T>());
135 #endif // STARK_FORMATS_BIFF_H
void push_back(const T &element)
Definition: array.h:180
size_type size() const
Definition: array.h:315
Definition: archiveloader.h:46