CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
Abstract class for objects that have a dimensionality (0D to 3D)
Definition at line 41 of file HoldsDimension.hpp.
#include <HoldsDimension.hpp>
Public Member Functions | |
HoldsDimension (const CepsUInt &dim) | |
Constructor with dimension. More... | |
HoldsDimension ()=default | |
Default constructor. More... | |
HoldsDimension (const HoldsDimension &)=default | |
Constructor by copy. More... | |
HoldsDimension (HoldsDimension &&) noexcept=default | |
Constructor by copy. More... | |
virtual | ~HoldsDimension ()=default |
Destructor. More... | |
HoldsDimension & | operator= (const HoldsDimension &)=default |
Assignment operator. More... | |
HoldsDimension & | operator= (HoldsDimension &&) noexcept=default |
Assignment operator. More... | |
const CepsUInt & | getDimension () const |
Get the dimension of the object. More... | |
void | setDimension (const CepsUInt &dim) |
Set the dimension of the object. More... | |
void | reset () |
Set the dimension of the object to 0. More... | |
Private Attributes | |
CepsUInt | m_dimension |
The dimension. More... | |
|
explicit |
Constructor with dimension.
Definition at line 33 of file HoldsDimension.cpp.
|
default |
Default constructor.
|
default |
Constructor by copy.
|
defaultnoexcept |
Constructor by copy.
|
virtualdefault |
Destructor.
const CepsUInt & ceps::HoldsDimension::getDimension | ( | ) | const |
Get the dimension of the object.
Definition at line 39 of file HoldsDimension.cpp.
|
default |
Assignment operator.
|
defaultnoexcept |
Assignment operator.
void ceps::HoldsDimension::reset | ( | ) |
Set the dimension of the object to 0.
Definition at line 52 of file HoldsDimension.cpp.
void ceps::HoldsDimension::setDimension | ( | const CepsUInt & | dim | ) |
Set the dimension of the object.
Definition at line 45 of file HoldsDimension.cpp.
|
private |
The dimension.
Definition at line 85 of file HoldsDimension.hpp.