The Original CHomP Software
Public Member Functions | Private Attributes | List of all members
chomp::homology::dummyArray Class Reference

A dummy array of integers that ignores all the assigned values. More...

#include <digraph.h>

Public Member Functions

 dummyArray ()
 The constructor of a dummy array. More...
 
int_toperator[] (int_t)
 Operator [] which returns a reference to a dummy value. More...
 

Private Attributes

int_t n
 A dummy number used as a dump box for assigning values. More...
 

Detailed Description

A dummy array of integers that ignores all the assigned values.

Definition at line 116 of file digraph.h.

Constructor & Destructor Documentation

◆ dummyArray()

chomp::homology::dummyArray::dummyArray ( )
inline

The constructor of a dummy array.

Definition at line 120 of file digraph.h.

120{n = 0;}
int_t n
A dummy number used as a dump box for assigning values.
Definition: digraph.h:127

References n.

Member Function Documentation

◆ operator[]()

int_t & chomp::homology::dummyArray::operator[] ( int_t  )
inline

Operator [] which returns a reference to a dummy value.

Definition at line 123 of file digraph.h.

123{return n;}

References n.

Member Data Documentation

◆ n

int_t chomp::homology::dummyArray::n
private

A dummy number used as a dump box for assigning values.

Definition at line 127 of file digraph.h.

Referenced by dummyArray(), and operator[]().


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