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

PNMFileTypeTGA Class Reference

#include <pnmFileTypeTGA.h>

Inheritance diagram for PNMFileTypeTGA:

PNMFileType TypedWritable TypedObject List of all members.

Public Member Functions

 PNMFileTypeTGA ()
virtual string get_name () const
virtual int get_num_extensions () const
virtual string get_extension (int n) const
virtual string get_suggested_extension () const
virtual PNMReadermake_reader (istream *file, bool owns_file=true, const string &magic_number=string())
virtual PNMWritermake_writer (ostream *file, bool owns_file=true)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory ()
TypeHandle get_class_type ()
void init_type ()

Static Protected Member Functions

TypedWritablemake_PNMFileTypeTGA (const FactoryParams &params)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

PNMFileTypeTGA::PNMFileTypeTGA  ) 
 

Definition at line 109 of file pnmFileTypeTGA.cxx.


Member Function Documentation

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

Reimplemented from PNMFileType.

Definition at line 121 of file pnmFileTypeTGA.h.

References PNMFileType::get_class_type(), and PNMFileType::init_type().

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

Reimplemented from PNMFileType.

Definition at line 110 of file pnmFileTypeTGA.h.

Referenced by make_PNMFileTypeTGA(), and register_with_read_factory().

string PNMFileTypeTGA::get_extension int  n  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 141 of file pnmFileTypeTGA.cxx.

References extensions_tga, n, and num_extensions_tga.

string PNMFileTypeTGA::get_name  )  const [virtual]
 

Implements PNMFileType.

Definition at line 118 of file pnmFileTypeTGA.cxx.

int PNMFileTypeTGA::get_num_extensions  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 129 of file pnmFileTypeTGA.cxx.

References num_extensions_tga.

string PNMFileTypeTGA::get_suggested_extension  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 154 of file pnmFileTypeTGA.cxx.

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

Reimplemented from PNMFileType.

Definition at line 118 of file pnmFileTypeTGA.h.

References PNMFileType::get_class_type().

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

Reimplemented from PNMFileType.

Definition at line 113 of file pnmFileTypeTGA.h.

References PNMFileType::get_class_type(), PNMFileType::init_type(), and register_type().

Referenced by init_libpnmimagetypes().

TypedWritable * PNMFileTypeTGA::make_PNMFileTypeTGA const FactoryParams params  )  [static, protected]
 

Definition at line 595 of file pnmFileTypeTGA.cxx.

References get_class_type(), PNMFileTypeRegistry::get_ptr(), and PNMFileTypeRegistry::get_type_by_handle().

Referenced by register_with_read_factory().

PNMReader * PNMFileTypeTGA::make_reader istream *  file,
bool  owns_file = true,
const string &  magic_number = string()
[virtual]
 

Reimplemented from PNMFileType.

Definition at line 166 of file pnmFileTypeTGA.cxx.

References PNMFileType::init_pnm().

PNMWriter * PNMFileTypeTGA::make_writer ostream *  file,
bool  owns_file = true
[virtual]
 

Reimplemented from PNMFileType.

Definition at line 179 of file pnmFileTypeTGA.cxx.

References PNMFileType::init_pnm().

void PNMFileTypeTGA::register_with_read_factory  )  [static]
 

Reimplemented from PNMFileType.

Definition at line 577 of file pnmFileTypeTGA.cxx.

References get_class_type(), BamReader::get_factory(), and make_PNMFileTypeTGA().

Referenced by init_libpnmimagetypes().


Member Data Documentation

TypeHandle PNMFileTypeTGA::_type_handle [static, private]
 

Reimplemented from PNMFileType.

Definition at line 63 of file pnmFileTypeTGA.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:14 2003 for Panda by doxygen1.3