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

FltVertexList Class Reference

#include <fltVertexList.h>

Inheritance diagram for FltVertexList:

FltRecord TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 FltVertexList (FltHeader *header)
int get_num_vertices () const
FltVertexget_vertex (int n) const
void clear_vertices ()
void add_vertex (FltVertex *vertex)
virtual void output (ostream &out) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual bool extract_record (FltRecordReader &reader)
virtual bool build_record (FltRecordWriter &writer) const

Private Types

typedef pvector< PT(FltVertexVertices )

Private Attributes

Vertices _vertices

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pvector<PT(FltVertex) FltVertexList::Vertices) [private]
 

Definition at line 51 of file fltVertexList.h.


Constructor & Destructor Documentation

FltVertexList::FltVertexList FltHeader header  ) 
 

Definition at line 32 of file fltVertexList.cxx.


Member Function Documentation

void FltVertexList::add_vertex FltVertex vertex  ) 
 

Definition at line 74 of file fltVertexList.cxx.

References _vertices.

bool FltVertexList::build_record FltRecordWriter writer  )  const [protected, virtual]
 

Reimplemented from FltRecord.

Definition at line 127 of file fltVertexList.cxx.

References FltRecord::_header, _vertices, Datagram::add_be_uint32(), FltRecord::build_record(), FO_vertex_list, FltHeader::get_offset_by_vertex(), and writer().

void FltVertexList::clear_vertices  ) 
 

Definition at line 62 of file fltVertexList.cxx.

References _vertices.

bool FltVertexList::extract_record FltRecordReader reader  )  [protected, virtual]
 

Reimplemented from FltRecord.

Definition at line 100 of file fltVertexList.cxx.

References FltRecord::_header, _vertices, FltRecord::check_remaining_size(), FltRecord::extract_record(), FO_vertex_list, DatagramIterator::get_be_int32(), DatagramIterator::get_remaining_size(), FltHeader::get_vertex_by_offset(), nassertr, and reader().

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

Reimplemented from FltRecord.

Definition at line 58 of file fltVertexList.h.

References get_class_type(), and init_type().

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

Reimplemented from FltRecord.

Definition at line 59 of file fltVertexList.h.

References _type_handle.

Referenced by FltToEggConverter::convert_face(), force_init_type(), and get_type().

int FltVertexList::get_num_vertices  )  const
 

Definition at line 41 of file fltVertexList.cxx.

References _vertices.

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

Reimplemented from FltRecord.

Definition at line 55 of file fltVertexList.h.

References get_class_type().

FltVertex * FltVertexList::get_vertex int  n  )  const
 

Definition at line 51 of file fltVertexList.cxx.

References _vertices, n, and nassertr.

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

Reimplemented from FltRecord.

Definition at line 62 of file fltVertexList.h.

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

Referenced by force_init_type(), and init_libflt().

void FltVertexList::output ostream &  out  )  const [virtual]
 

Reimplemented from FltRecord.

Definition at line 87 of file fltVertexList.cxx.

References _vertices.


Member Data Documentation

TypeHandle FltVertexList::_type_handle [static, private]
 

Reimplemented from FltRecord.

Definition at line 24 of file fltVertexList.cxx.

Referenced by get_class_type(), and init_type().

Vertices FltVertexList::_vertices [private]
 

Definition at line 52 of file fltVertexList.h.

Referenced by add_vertex(), build_record(), clear_vertices(), extract_record(), get_num_vertices(), get_vertex(), and output().


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