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. | |
| ~cubfile_traits () | |
| The destructor. | |
| const char * | name () const |
| The name of the corresponding cubical set. | |
| std::ostream & | describe (std::ostream &out) const |
| Describe the given type of cubical sets. | |
| bool | compatible (const char *filename) const |
| Verifies if the file format is compatible with this cubfile type. | |
| cubfile * | newcubfile (const char *filename) const |
| Creates a new cubfile object of the desired type. | |
This class defines some common properties of the corresponding classes which define various types of sets of cubes.
Definition at line 303 of file cubfiles.h.
| chomp::homengin::cubfile_traits< cubfileT >::cubfile_traits | ( | ) | [inline] |
| chomp::homengin::cubfile_traits< cubfileT >::~cubfile_traits | ( | ) | [inline] |
| bool chomp::homengin::cubfile_traits< cubfileT >::compatible | ( | const char * | filename | ) | const [inline, virtual] |
Verifies if the file format is compatible with this cubfile type.
Implements chomp::homengin::cubtype.
Definition at line 331 of file cubfiles.h.
Referenced by chomp::homengin::cubfile_traits< bitcodefile >::compatible().
{
return cubfileT::compatible (filename);
}
| std::ostream& chomp::homengin::cubfile_traits< cubfileT >::describe | ( | std::ostream & | out | ) | const [inline, virtual] |
Describe the given type of cubical sets.
Implements chomp::homengin::cubtype.
Definition at line 325 of file cubfiles.h.
Referenced by chomp::homengin::cubfile_traits< bitcodefile >::describe().
{
return cubfileT::describe (out);
}
| const char* chomp::homengin::cubfile_traits< cubfileT >::name | ( | ) | const [inline, virtual] |
The name of the corresponding cubical set.
Implements chomp::homengin::cubtype.
Definition at line 319 of file cubfiles.h.
Referenced by chomp::homengin::cubfile_traits< bitcodefile >::name().
{
return cubfileT::name ();
}
| cubfile* chomp::homengin::cubfile_traits< cubfileT >::newcubfile | ( | const char * | filename | ) | const [inline, virtual] |
Creates a new cubfile object of the desired type.
Implements chomp::homengin::cubtype.
Definition at line 337 of file cubfiles.h.
{
return new cubfileT (filename);
}
1.7.1