#include <biff.h>
Public Member Functions | |
virtual void | readData (ArchiveReadStream *stream, uint32 dataLength)=0 |
uint32 | getType () const |
template<class T > | |
Common::Array< T * > | listChildrenRecursive () |
void | addChild (BiffObject *child) |
Protected Attributes | |
uint32 | _type |
uint32 | _u3 |
uint32 | _version |
BiffObject * | _parent |
Common::Array< BiffObject * > | _children |
An object which can be read from a BiffArchive
Each object has a list of children objects, resulting in a tree structure
|
pure virtual |
Used to read the object data from the stream
Implemented in Stark::Formats::Texture.
uint32 Stark::Formats::BiffObject::getType | ( | ) | const |
Get the object type
Common::Array< T * > Stark::Formats::BiffObject::listChildrenRecursive | ( | ) |
List children recursively matching the template parameter type
void Stark::Formats::BiffObject::addChild | ( | BiffObject * | child | ) |
Add an object to the children list