The ChainCon Software (Release 0.03)
Public Types | Public Member Functions | Private Attributes | List of all members
tCellOwnNames< CellT > Class Template Reference

A class for providing the cells as their names. More...

#include <cellnames.h>

Public Types

typedef CellT CellType
 The type of a cell identifier. More...
 
typedef CellT NameType
 The type of the name of a cell. More...
 

Public Member Functions

 tCellOwnNames ()
 The default constructor of an empty object. More...
 
void setPrefix (const std::string &s)
 Dummy setPrefix procedure. More...
 
void setPostfix (const std::string &s)
 Dummy setPostfix procedure. More...
 
CellT operator() (const CellT &c)
 Returns the name of the given cell. More...
 
int maxDim () const
 Returns the smallest strict upper bound for the dimensions of named cells. More...
 
bool operator== (const tCellOwnNames< CellT > &s) const
 The equality operator. More...
 
void swap (tCellOwnNames< CellT > &s)
 Swaps the data with another object. More...
 

Private Attributes

int maxCellDim1
 The maximal dimension of the encountered cells plus 1. More...
 

Detailed Description

template<class CellT>
class tCellOwnNames< CellT >

A class for providing the cells as their names.

Definition at line 238 of file cellnames.h.

Member Typedef Documentation

◆ CellType

template<class CellT>
typedef CellT tCellOwnNames< CellT >::CellType

The type of a cell identifier.

Definition at line 242 of file cellnames.h.

◆ NameType

template<class CellT>
typedef CellT tCellOwnNames< CellT >::NameType

The type of the name of a cell.

Definition at line 245 of file cellnames.h.

Constructor & Destructor Documentation

◆ tCellOwnNames()

template<class CellT >
tCellOwnNames< CellT >::tCellOwnNames ( )
inline

The default constructor of an empty object.

Definition at line 287 of file cellnames.h.

Member Function Documentation

◆ maxDim()

template<class CellT >
int tCellOwnNames< CellT >::maxDim ( ) const
inline

Returns the smallest strict upper bound for the dimensions of named cells.

Definition at line 305 of file cellnames.h.

References tCellOwnNames< CellT >::maxCellDim1.

◆ operator()()

template<class CellT >
CellT tCellOwnNames< CellT >::operator() ( const CellT &  c)
inline

Returns the name of the given cell.

Definition at line 311 of file cellnames.h.

References tCellOwnNames< CellT >::maxCellDim1.

◆ operator==()

template<class CellT >
bool tCellOwnNames< CellT >::operator== ( const tCellOwnNames< CellT > &  s) const
inline

The equality operator.

Definition at line 324 of file cellnames.h.

References tCellOwnNames< CellT >::maxCellDim1.

◆ setPostfix()

template<class CellT >
void tCellOwnNames< CellT >::setPostfix ( const std::string &  s)
inline

Dummy setPostfix procedure.

Definition at line 299 of file cellnames.h.

◆ setPrefix()

template<class CellT >
void tCellOwnNames< CellT >::setPrefix ( const std::string &  s)
inline

Dummy setPrefix procedure.

Definition at line 293 of file cellnames.h.

◆ swap()

template<class CellT >
void tCellOwnNames< CellT >::swap ( tCellOwnNames< CellT > &  s)
inline

Swaps the data with another object.

Definition at line 330 of file cellnames.h.

References tCellOwnNames< CellT >::maxCellDim1.

Member Data Documentation

◆ maxCellDim1

template<class CellT>
int tCellOwnNames< CellT >::maxCellDim1
private

The maximal dimension of the encountered cells plus 1.

Definition at line 280 of file cellnames.h.

Referenced by tCellOwnNames< CellT >::maxDim(), tCellOwnNames< CellT >::operator()(), tCellOwnNames< CellT >::operator==(), and tCellOwnNames< CellT >::swap().


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