Loading [MathJax]/extensions/TeX/AMSsymbols.js
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Gudhi::persistence_matrix::Cell_column_index< index > Class Template Reference

Class managing the column index access of a cell. More...

Public Member Functions

 Cell_column_index ()
 Default constructor. Sets to the column index to -1.
 
 Cell_column_index (index columnIndex)
 Stores the given column index. More...
 
 Cell_column_index (const Cell_column_index &cell)
 Copy constructor. More...
 
 Cell_column_index (Cell_column_index &&cell) noexcept
 Move constructor. More...
 
index get_column_index () const
 Returns the MatIdx column index stored in the cell. More...
 
void set_column_index (index columnIndex)
 Sets the column index to the given value. More...
 
Cell_column_indexoperator= (Cell_column_index other)
 Assign operator.
 

Detailed Description

template<typename index>
class Gudhi::persistence_matrix::Cell_column_index< index >

Class managing the column index access of a cell.

Template Parameters
indexMatIdx index type.

Constructor & Destructor Documentation

◆ Cell_column_index() [1/3]

template<typename index >
Gudhi::persistence_matrix::Cell_column_index< index >::Cell_column_index ( index  columnIndex)
inline

Stores the given column index.

Parameters
columnIndexColumn index of the cell.

◆ Cell_column_index() [2/3]

template<typename index >
Gudhi::persistence_matrix::Cell_column_index< index >::Cell_column_index ( const Cell_column_index< index > &  cell)
inline

Copy constructor.

Parameters
cellCell to copy.

◆ Cell_column_index() [3/3]

template<typename index >
Gudhi::persistence_matrix::Cell_column_index< index >::Cell_column_index ( Cell_column_index< index > &&  cell)
inlinenoexcept

Move constructor.

Parameters
cellCell to move.

Member Function Documentation

◆ get_column_index()

template<typename index >
index Gudhi::persistence_matrix::Cell_column_index< index >::get_column_index ( ) const
inline

Returns the MatIdx column index stored in the cell.

Returns
Column index of the cell.

◆ set_column_index()

template<typename index >
void Gudhi::persistence_matrix::Cell_column_index< index >::set_column_index ( index  columnIndex)
inline

Sets the column index to the given value.

Parameters
columnIndexColumn index of the cell.

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