The Original CHomP Software
Public Member Functions | List of all members
chomp::homology::tPointBaseInitializer< coordtype > Class Template Reference

This class is used to deallocate memory kept in the static variables of the corresponding class "tPointBase" upon program exit, and also to show the information on how many points were in use. More...

#include <pointbas.h>

Public Member Functions

 ~tPointBaseInitializer ()
 Deallocates memory kept in the static variables of the corresponding class "tPointBase" and shows relevant messages. More...
 

Detailed Description

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

This class is used to deallocate memory kept in the static variables of the corresponding class "tPointBase" upon program exit, and also to show the information on how many points were in use.

Definition at line 438 of file pointbas.h.

Constructor & Destructor Documentation

◆ ~tPointBaseInitializer()

template<class coordtype >
chomp::homology::tPointBaseInitializer< coordtype >::~tPointBaseInitializer< coordtype >

Deallocates memory kept in the static variables of the corresponding class "tPointBase" and shows relevant messages.

Definition at line 449 of file pointbas.h.

453{
455 return;
459 return;
460} /* PointBaseInitializer::~PointBaseInitializer */
static bool forgotten
Were the base points forgotten?
Definition: pointbas.h:173
static void forget(void)
Forgets the base points, frees memory and makes this data structure ususable: An exception is thrown ...
Definition: pointbas.h:356
static bool show
Should the summary of points' usage be displayed?
Definition: pointbas.h:170
static outputstream & showused(outputstream &out)
Shows the number of vertices stored for all the dimensions.
Definition: pointbas.h:399
static int n
The number of allocated sets of points.
Definition: pointbas.h:167
outputstream sout
A replacement for standard output stream, with optional logging and other features provided by the cl...

References chomp::homology::tPointBase< coordtype >::forget(), chomp::homology::tPointBase< coordtype >::showused(), and chomp::homology::sout.


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