CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
Abstract class for objects that have a global index.
Definition at line 41 of file HoldsGlobalIndex.hpp.
#include <HoldsGlobalIndex.hpp>
Public Member Functions | |
HoldsGlobalIndex (const CepsGlobalIndex &gid) | |
Constructor with ID. More... | |
HoldsGlobalIndex ()=default | |
Default constructor. More... | |
HoldsGlobalIndex (const HoldsGlobalIndex &)=default | |
Copy constructor. More... | |
HoldsGlobalIndex (HoldsGlobalIndex &&) noexcept=default | |
Copy constructor. More... | |
virtual | ~HoldsGlobalIndex ()=default |
Destructor. More... | |
HoldsGlobalIndex & | operator= (const HoldsGlobalIndex &)=default |
Assignment operator. More... | |
HoldsGlobalIndex & | operator= (HoldsGlobalIndex &&) noexcept=default |
Assignment operator. More... | |
const CepsGlobalIndex & | getGlobalIndex () const |
Get the index More... | |
void | setGlobalIndex (const CepsGlobalIndex &gid) |
Set the index. More... | |
void | reset () |
Set the index to 0u. More... | |
Protected Attributes | |
CepsGlobalIndex | m_globalIndex |
the index More... | |
|
explicit |
Constructor with ID.
Definition at line 33 of file HoldsGlobalIndex.cpp.
|
default |
Default constructor.
|
default |
Copy constructor.
|
defaultnoexcept |
Copy constructor.
|
virtualdefault |
Destructor.
const CepsGlobalIndex & ceps::HoldsGlobalIndex::getGlobalIndex | ( | ) | const |
Get the index
Definition at line 39 of file HoldsGlobalIndex.cpp.
|
default |
Assignment operator.
|
defaultnoexcept |
Assignment operator.
void ceps::HoldsGlobalIndex::reset | ( | ) |
Set the index to 0u.
Definition at line 52 of file HoldsGlobalIndex.cpp.
void ceps::HoldsGlobalIndex::setGlobalIndex | ( | const CepsGlobalIndex & | gid | ) |
Set the index.
Definition at line 45 of file HoldsGlobalIndex.cpp.
|
protected |
the index
Definition at line 85 of file HoldsGlobalIndex.hpp.