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

LwoHeader Class Reference

#include <lwoHeader.h>

Inheritance diagram for LwoHeader:

LwoGroupChunk LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 LwoHeader ()
INLINE bool is_valid () const
INLINE double get_version () const
virtual bool read_iff (IffInputFile *in, size_t stop_at)
virtual void write (ostream &out, int indent_level=0) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

IffId _lwid

Private Attributes

bool _valid
double _version

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

LwoHeader::LwoHeader  ) 
 

Definition at line 33 of file lwoHeader.cxx.

References _valid, and _version.


Member Function Documentation

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

Reimplemented from LwoGroupChunk.

Definition at line 51 of file lwoHeader.h.

References get_class_type(), and init_type().

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

Reimplemented from LwoGroupChunk.

Definition at line 52 of file lwoHeader.h.

References _type_handle.

Referenced by LwoToEggConverter::convert_file(), force_init_type(), and get_type().

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

Reimplemented from LwoGroupChunk.

Definition at line 48 of file lwoHeader.h.

References get_class_type().

INLINE double LwoHeader::get_version  )  const
 

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

Reimplemented from LwoGroupChunk.

Definition at line 55 of file lwoHeader.h.

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

Referenced by force_init_type(), and init_liblwo().

INLINE bool LwoHeader::is_valid  )  const
 

Referenced by LwoToEggConverter::convert_file().

bool LwoHeader::read_iff IffInputFile in,
size_t  stop_at
[virtual]
 

Implements IffChunk.

Definition at line 49 of file lwoHeader.cxx.

References _lwid, _valid, _version, DCAST, IffInputFile::get_id(), LwoGroupChunk::read_chunks_iff(), and LwoInputFile::set_lwo_version().

void LwoHeader::write ostream &  out,
int  indent_level = 0
const [virtual]
 

Reimplemented from IffChunk.

Definition at line 77 of file lwoHeader.cxx.

References _lwid, IffChunk::get_id(), indent(), and LwoGroupChunk::write_chunks().


Member Data Documentation

IffId LwoHeader::_lwid
 

Definition at line 34 of file lwoHeader.h.

Referenced by read_iff(), and write().

TypeHandle LwoHeader::_type_handle [static, private]
 

Reimplemented from LwoGroupChunk.

Definition at line 25 of file lwoHeader.cxx.

Referenced by get_class_type(), and init_type().

bool LwoHeader::_valid [private]
 

Definition at line 44 of file lwoHeader.h.

Referenced by LwoHeader(), and read_iff().

double LwoHeader::_version [private]
 

Definition at line 45 of file lwoHeader.h.

Referenced by LwoHeader(), and read_iff().


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