Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LwoGroupChunk Class Reference

#include <lwoGroupChunk.h>

Inheritance diagram for LwoGroupChunk:

LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount LwoClip LwoHeader LwoSurface LwoSurfaceBlock LwoSurfaceBlockHeader LwoSurfaceBlockTMap List of all members.

Public Member Functions

int get_num_chunks () const
IffChunkget_chunk (int n) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Types

typedef pvector< PT(IffChunkChunks )

Protected Member Functions

bool read_chunks_iff (IffInputFile *in, size_t stop_at)
bool read_subchunks_iff (IffInputFile *in, size_t stop_at)
void write_chunks (ostream &out, int indent_level) const

Protected Attributes

Chunks _chunks

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pvector< PT(IffChunk) LwoGroupChunk::Chunks) [protected]
 

Definition at line 46 of file lwoGroupChunk.h.


Member Function Documentation

virtual TypeHandle LwoGroupChunk::force_init_type void   )  [inline, virtual]
 

Reimplemented from LwoChunk.

Reimplemented in LwoClip, LwoHeader, LwoSurface, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap.

Definition at line 53 of file lwoGroupChunk.h.

References get_class_type(), and init_type().

IffChunk * LwoGroupChunk::get_chunk int  n  )  const
 

Definition at line 42 of file lwoGroupChunk.cxx.

References _chunks, n, nassertr, and NULL.

TypeHandle LwoGroupChunk::get_class_type void   )  [inline, static]
 

Reimplemented from LwoChunk.

Reimplemented in LwoClip, LwoHeader, LwoSurface, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap.

Definition at line 54 of file lwoGroupChunk.h.

References _type_handle.

Referenced by CLwoSurface::CLwoSurface(), force_init_type(), get_type(), LwoSurfaceBlockTMap::init_type(), LwoSurfaceBlockHeader::init_type(), LwoSurface::init_type(), LwoHeader::init_type(), and LwoClip::init_type().

int LwoGroupChunk::get_num_chunks  )  const
 

Definition at line 32 of file lwoGroupChunk.cxx.

References _chunks.

virtual TypeHandle LwoGroupChunk::get_type void   )  const [inline, virtual]
 

Reimplemented from LwoChunk.

Reimplemented in LwoClip, LwoHeader, LwoSurface, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap.

Definition at line 50 of file lwoGroupChunk.h.

References get_class_type().

void LwoGroupChunk::init_type void   )  [inline, static]
 

Reimplemented from LwoChunk.

Reimplemented in LwoClip, LwoHeader, LwoSurface, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap.

Definition at line 57 of file lwoGroupChunk.h.

References _type_handle, LwoChunk::get_class_type(), LwoChunk::init_type(), and register_type().

Referenced by force_init_type(), init_liblwo(), LwoSurfaceBlockTMap::init_type(), LwoSurfaceBlockHeader::init_type(), LwoSurface::init_type(), LwoHeader::init_type(), and LwoClip::init_type().

bool LwoGroupChunk::read_chunks_iff IffInputFile in,
size_t  stop_at
[protected]
 

Definition at line 57 of file lwoGroupChunk.cxx.

References _chunks, IffInputFile::get_bytes_read(), IffInputFile::is_eof(), NULL, and PT.

Referenced by LwoHeader::read_iff().

bool LwoGroupChunk::read_subchunks_iff IffInputFile in,
size_t  stop_at
[protected]
 

Definition at line 76 of file lwoGroupChunk.cxx.

References _chunks, IffInputFile::get_bytes_read(), IffInputFile::is_eof(), NULL, and PT.

Referenced by LwoSurfaceBlockTMap::read_iff(), LwoSurfaceBlockHeader::read_iff(), LwoSurfaceBlock::read_iff(), LwoSurface::read_iff(), and LwoClip::read_iff().

void LwoGroupChunk::write_chunks ostream &  out,
int  indent_level
const [protected]
 

Definition at line 95 of file lwoGroupChunk.cxx.

References _chunks.

Referenced by LwoSurfaceBlockTMap::write(), LwoSurfaceBlockHeader::write(), LwoSurfaceBlock::write(), LwoSurface::write(), LwoHeader::write(), and LwoClip::write().


Member Data Documentation

Chunks LwoGroupChunk::_chunks [protected]
 

Definition at line 47 of file lwoGroupChunk.h.

Referenced by get_chunk(), get_num_chunks(), read_chunks_iff(), read_subchunks_iff(), and write_chunks().

TypeHandle LwoGroupChunk::_type_handle [static, private]
 

Reimplemented from LwoChunk.

Reimplemented in LwoClip, LwoHeader, LwoSurface, LwoSurfaceBlock, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap.

Definition at line 24 of file lwoGroupChunk.cxx.

Referenced by get_class_type(), and init_type().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:12 2003 for Panda-Tool by doxygen1.3