The Original CHomP Software
|
A class that holds pointers to the traits of all the cubical file types. More...
#include <cubfiles.h>
Public Types | |
typedef std::vector< const cubtype * > | cubtypelist |
The type of a list of engines. More... | |
Public Member Functions | |
virtual const char * | name () const =0 |
The name of the set of cubes. More... | |
virtual std::ostream & | describe (std::ostream &out) const =0 |
Describe the given type of cubical sets. More... | |
virtual bool | compatible (const char *filename) const =0 |
Verifies if the file format is compatible with this cubfile type. More... | |
virtual cubfile * | newcubfile (const char *filename) const =0 |
Creates a new cubfile object of the desired type. More... | |
Static Public Member Functions | |
static std::ostream & | showlist (std::ostream &out, const cubtype::cubtypelist &types=cubtype::cubtypes) |
Shows a list of available cubical set types with descriptions. More... | |
static cubfile * | newfile (const char *filename, const cubtype::cubtypelist &types=cubtype::cubtypes) |
Creates an appropriate cubical set corresponding to the given file. More... | |
Static Public Attributes | |
static cubtypelist | cubtypes |
A list of all the engines that have been defined so far. More... | |
Protected Member Functions | |
cubtype () | |
The constructor: Add the cubical file traits to the list. More... | |
virtual | ~cubtype () |
The destructor: Remove the cubical file traits from the list. More... | |
A class that holds pointers to the traits of all the cubical file types.
Definition at line 247 of file cubfiles.h.
typedef std::vector<const cubtype *> chomp::homengin::cubtype::cubtypelist |
The type of a list of engines.
Definition at line 251 of file cubfiles.h.
|
inlineprotected |
The constructor: Add the cubical file traits to the list.
Definition at line 258 of file cubfiles.h.
References cubtypes.
|
inlineprotectedvirtual |
|
pure virtual |
Verifies if the file format is compatible with this cubfile type.
Implemented in chomp::homengin::cubfile_traits< cubfileT >, chomp::homengin::cubfile_traits< chomp::homengin::bitcodefile >, chomp::homengin::cubfile_traits< chomp::homengin::bmdfile >, chomp::homengin::cubfile_traits< chomp::homengin::cellistfile >, chomp::homengin::cubfile_traits< chomp::homengin::cublistfile >, and chomp::homengin::cubfile_traits< chomp::homengin::winbmpfile >.
|
pure virtual |
Describe the given type of cubical sets.
Implemented in chomp::homengin::cubfile_traits< cubfileT >, chomp::homengin::cubfile_traits< chomp::homengin::bitcodefile >, chomp::homengin::cubfile_traits< chomp::homengin::bmdfile >, chomp::homengin::cubfile_traits< chomp::homengin::cellistfile >, chomp::homengin::cubfile_traits< chomp::homengin::cublistfile >, and chomp::homengin::cubfile_traits< chomp::homengin::winbmpfile >.
|
pure virtual |
The name of the set of cubes.
Implemented in chomp::homengin::cubfile_traits< cubfileT >, chomp::homengin::cubfile_traits< chomp::homengin::bitcodefile >, chomp::homengin::cubfile_traits< chomp::homengin::bmdfile >, chomp::homengin::cubfile_traits< chomp::homengin::cellistfile >, chomp::homengin::cubfile_traits< chomp::homengin::cublistfile >, and chomp::homengin::cubfile_traits< chomp::homengin::winbmpfile >.
|
pure virtual |
Creates a new cubfile object of the desired type.
Implemented in chomp::homengin::cubfile_traits< cubfileT >, chomp::homengin::cubfile_traits< chomp::homengin::bitcodefile >, chomp::homengin::cubfile_traits< chomp::homengin::bmdfile >, chomp::homengin::cubfile_traits< chomp::homengin::cellistfile >, chomp::homengin::cubfile_traits< chomp::homengin::cublistfile >, and chomp::homengin::cubfile_traits< chomp::homengin::winbmpfile >.
|
static |
Creates an appropriate cubical set corresponding to the given file.
Returns the address of a new object. Throws an exception in case of failure.
|
static |
Shows a list of available cubical set types with descriptions.
|
static |
A list of all the engines that have been defined so far.
Definition at line 254 of file cubfiles.h.
Referenced by cubtype(), and ~cubtype().