ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Formats::BiffObject Class Reference

An object which can be read from a BiffArchive. More...

#include <biff.h>

Inheritance diagram for Stark::Formats::BiffObject:
Collaboration diagram for Stark::Formats::BiffObject:

List of all members.

Public Member Functions

 BiffObject ()
virtual ~BiffObject ()
virtual void readData (ArchiveReadStream *stream, uint32 dataLength)=0
 Used to read the object data from the stream.
uint32 getType () const
 Get the object type.
template<class T >
Common::Array< T * > listChildrenRecursive ()
 List children recursively matching the template parameter type.
void addChild (BiffObject *child)
 Add an object to the children list.

Protected Attributes

uint32 _type
uint32 _u3
uint32 _version
BiffObject_parent
Common::Array< BiffObject * > _children

Friends

class BiffArchive

Detailed Description

An object which can be read from a BiffArchive.

Each object has a list of children objects, resulting in a tree structure

Definition at line 73 of file biff.h.


Constructor & Destructor Documentation

Stark::Formats::BiffObject::BiffObject (  ) 

Definition at line 99 of file biff.cpp.

Stark::Formats::BiffObject::~BiffObject (  )  [virtual]

Definition at line 115 of file biff.cpp.


Member Function Documentation

void Stark::Formats::BiffObject::addChild ( BiffObject child  ) 

Add an object to the children list.

Definition at line 111 of file biff.cpp.

uint32 Stark::Formats::BiffObject::getType (  )  const

Get the object type.

Definition at line 107 of file biff.cpp.

template<class T >
Common::Array< T * > Stark::Formats::BiffObject::listChildrenRecursive (  ) 

List children recursively matching the template parameter type.

Definition at line 117 of file biff.h.

virtual void Stark::Formats::BiffObject::readData ( ArchiveReadStream stream,
uint32  dataLength 
) [pure virtual]

Friends And Related Function Documentation

friend class BiffArchive [friend]

Definition at line 101 of file biff.h.


Member Data Documentation

Definition at line 99 of file biff.h.

Definition at line 98 of file biff.h.

Definition at line 94 of file biff.h.

Definition at line 95 of file biff.h.

Definition at line 96 of file biff.h.


The documentation for this class was generated from the following files:


Generated on Sat Oct 19 2019 05:06:26 for ResidualVM by doxygen 1.7.1
curved edge   curved edge