Static Public Member Functions

chomp::homology::tWrapBase< coordtype > Class Template Reference

This class is a simplified version of the point base class used only for the space wrapping support. More...

#include <pointbas.h>

Inheritance diagram for chomp::homology::tWrapBase< coordtype >:
chomp::homology::tPointBase< coordtype >

List of all members.

Static Public Member Functions

static int_t number (const coordtype *, int)
 No coord to number translation is available.
static bool check (const coordtype *, int)
 Always says that the point exists.
static const coordtype * coord (int_t, int)
 No number to coord translation is available.
static void quiet (bool=true)
 Sets the point base to be quiet or not.
static void reset (void)
 Resets the internal data.
static void forget (void)
 Forgets the base points, frees memory and makes this data structure ususable: An exception is thrown if this data is used.
static outputstreamshowused (outputstream &out)
 Shows the number of vertices stored for all the dimensions.
static std::ostream & showused (std::ostream &out)
 Shows the number of vertices stored for all the dimensions.

Detailed Description

template<class coordtype>
class chomp::homology::tWrapBase< coordtype >

This class is a simplified version of the point base class used only for the space wrapping support.

Definition at line 470 of file pointbas.h.


Member Function Documentation

template<class coordtype >
static bool chomp::homology::tWrapBase< coordtype >::check ( const coordtype *  ,
int   
) [inline, static]

Always says that the point exists.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 478 of file pointbas.h.

                {return true;}

template<class coordtype >
static const coordtype* chomp::homology::tWrapBase< coordtype >::coord ( int_t  ,
int   
) [inline, static]

No number to coord translation is available.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 482 of file pointbas.h.

                {throw "Trying to get the coordinates of a point.";}

template<class coordtype >
static void chomp::homology::tWrapBase< coordtype >::forget ( void   )  [inline, static]

Forgets the base points, frees memory and makes this data structure ususable: An exception is thrown if this data is used.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 489 of file pointbas.h.

{return;}

template<class coordtype >
static int_t chomp::homology::tWrapBase< coordtype >::number ( const coordtype *  ,
int   
) [inline, static]

No coord to number translation is available.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 474 of file pointbas.h.

                {throw "Trying to get a point number.";}

template<class coordtype >
static void chomp::homology::tWrapBase< coordtype >::quiet ( bool  what = true  )  [inline, static]

Sets the point base to be quiet or not.

If not quiet, it displays some usage statistics when the data is reset.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 485 of file pointbas.h.

{return;}

template<class coordtype >
static void chomp::homology::tWrapBase< coordtype >::reset ( void   )  [inline, static]

Resets the internal data.

Note: Cubes and cells created before resetting may be unusable after the reset.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 487 of file pointbas.h.

{return;}

template<class coordtype >
static outputstream& chomp::homology::tWrapBase< coordtype >::showused ( outputstream out  )  [inline, static]

Shows the number of vertices stored for all the dimensions.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 491 of file pointbas.h.

{return out;}

template<class coordtype >
static std::ostream& chomp::homology::tWrapBase< coordtype >::showused ( std::ostream &  out  )  [inline, static]

Shows the number of vertices stored for all the dimensions.

Reimplemented from chomp::homology::tPointBase< coordtype >.

Definition at line 493 of file pointbas.h.

{return out;}


The documentation for this class was generated from the following file: