The Original CHomP Software
|
This class defines some common properties of the corresponding classes which define various types of sets of cubes. More...
#include <cubfiles.h>
Public Member Functions | |
cubfile_traits () | |
The default constructor. More... | |
~cubfile_traits () | |
The destructor. More... | |
const char * | name () const |
The name of the corresponding cubical set. More... | |
std::ostream & | describe (std::ostream &out) const |
Describe the given type of cubical sets. More... | |
bool | compatible (const char *filename) const |
Verifies if the file format is compatible with this cubfile type. More... | |
cubfile * | newcubfile (const char *filename) const |
Creates a new cubfile object of the desired type. More... | |
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... | |
Additional Inherited Members | |
![]() | |
typedef std::vector< const cubtype * > | cubtypelist |
The type of a list of engines. More... | |
![]() | |
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 cubtypelist | cubtypes |
A list of all the engines that have been defined so far. More... | |
![]() | |
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... | |
This class defines some common properties of the corresponding classes which define various types of sets of cubes.
Definition at line 302 of file cubfiles.h.
|
inline |
|
inline |
|
inlinevirtual |
Verifies if the file format is compatible with this cubfile type.
Implements chomp::homengin::cubtype.
Definition at line 330 of file cubfiles.h.
|
inlinevirtual |
Describe the given type of cubical sets.
Implements chomp::homengin::cubtype.
Definition at line 324 of file cubfiles.h.
|
inlinevirtual |
The name of the corresponding cubical set.
Implements chomp::homengin::cubtype.
Definition at line 318 of file cubfiles.h.
|
inlinevirtual |
Creates a new cubfile object of the desired type.
Implements chomp::homengin::cubtype.
Definition at line 336 of file cubfiles.h.