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

PNMFileTypeSoftImage Class Reference

#include <pnmFileTypeSoftImage.h>

Inheritance diagram for PNMFileTypeSoftImage:

PNMFileType TypedWritable TypedObject List of all members.

Public Member Functions

 PNMFileTypeSoftImage ()
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 bool has_magic_number () const
virtual bool matches_magic_number (const string &magic_number) 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_PNMFileTypeSoftImage (const FactoryParams &params)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

PNMFileTypeSoftImage::PNMFileTypeSoftImage  ) 
 

Definition at line 211 of file pnmFileTypeSoftImage.cxx.


Member Function Documentation

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

Reimplemented from PNMFileType.

Definition at line 91 of file pnmFileTypeSoftImage.h.

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

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

Reimplemented from PNMFileType.

Definition at line 80 of file pnmFileTypeSoftImage.h.

Referenced by make_PNMFileTypeSoftImage(), and register_with_read_factory().

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

Reimplemented from PNMFileType.

Definition at line 243 of file pnmFileTypeSoftImage.cxx.

References extensions_softimage, n, and num_extensions_softimage.

string PNMFileTypeSoftImage::get_name  )  const [virtual]
 

Implements PNMFileType.

Definition at line 220 of file pnmFileTypeSoftImage.cxx.

int PNMFileTypeSoftImage::get_num_extensions  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 231 of file pnmFileTypeSoftImage.cxx.

References num_extensions_softimage.

string PNMFileTypeSoftImage::get_suggested_extension  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 256 of file pnmFileTypeSoftImage.cxx.

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

Reimplemented from PNMFileType.

Definition at line 88 of file pnmFileTypeSoftImage.h.

References PNMFileType::get_class_type().

bool PNMFileTypeSoftImage::has_magic_number  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 267 of file pnmFileTypeSoftImage.cxx.

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

Reimplemented from PNMFileType.

Definition at line 83 of file pnmFileTypeSoftImage.h.

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

Referenced by init_libpnmimagetypes().

TypedWritable * PNMFileTypeSoftImage::make_PNMFileTypeSoftImage const FactoryParams params  )  [static, protected]
 

Definition at line 791 of file pnmFileTypeSoftImage.cxx.

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

Referenced by register_with_read_factory().

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

Reimplemented from PNMFileType.

Definition at line 295 of file pnmFileTypeSoftImage.cxx.

References PNMFileType::init_pnm().

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

Reimplemented from PNMFileType.

Definition at line 308 of file pnmFileTypeSoftImage.cxx.

References PNMFileType::init_pnm().

bool PNMFileTypeSoftImage::matches_magic_number const string &  magic_number  )  const [virtual]
 

Reimplemented from PNMFileType.

Definition at line 279 of file pnmFileTypeSoftImage.cxx.

References SOFTIMAGE_MAGIC1.

void PNMFileTypeSoftImage::register_with_read_factory  )  [static]
 

Reimplemented from PNMFileType.

Definition at line 773 of file pnmFileTypeSoftImage.cxx.

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

Referenced by init_libpnmimagetypes().


Member Data Documentation

TypeHandle PNMFileTypeSoftImage::_type_handle [static, private]
 

Reimplemented from PNMFileType.

Definition at line 47 of file pnmFileTypeSoftImage.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