The PatchInfo class provides an interface for defining patch info. More...


Public Member Functions | |
void | extract () |
PatchKernel const & | getPatch () const |
void | reset () |
void | setPatch (PatchKernel const *patch) |
void | update () |
Protected Member Functions | |
PatchInfo (PatchKernel const *patch) | |
virtual void | _extract ()=0 |
virtual void | _init ()=0 |
virtual void | _reset ()=0 |
void | setPatch (PatchKernel const *patch, bool initialize) |
Protected Attributes | |
PatchKernel const * | m_patch |
Detailed Description
The PatchInfo class provides an interface for defining patch info.
Definition at line 35 of file patch_info.hpp.
Constructor & Destructor Documentation
◆ PatchInfo()
|
protected |
Default constructor
- Parameters
-
patch is patch from which the informations will be extracted
Definition at line 46 of file patch_info.cpp.
Member Function Documentation
◆ _extract()
|
protectedpure virtual |
Implemented in bitpit::PatchNumberingInfo.
◆ _init()
|
protectedpure virtual |
Implemented in bitpit::PatchNumberingInfo.
◆ _reset()
|
protectedpure virtual |
Implemented in bitpit::PatchNumberingInfo.
◆ extract()
void bitpit::PatchInfo::extract | ( | ) |
Extracts the information.
Definition at line 105 of file patch_info.cpp.
◆ getPatch()
PatchKernel const & bitpit::PatchInfo::getPatch | ( | ) | const |
Gets the patch associated with the info.
- Returns
- Returns the patch associated with the info.
Definition at line 57 of file patch_info.cpp.
◆ reset()
void bitpit::PatchInfo::reset | ( | ) |
Resets the information.
Definition at line 97 of file patch_info.cpp.
◆ setPatch() [1/2]
void bitpit::PatchInfo::setPatch | ( | PatchKernel const * | patch | ) |
Sets the patch associated to the info.
- Parameters
-
patch is patch from which the informations will be extracted
Definition at line 67 of file patch_info.cpp.
◆ setPatch() [2/2]
|
protected |
Sets the patch associated to the info.
- Parameters
-
patch is patch from which the informations will be extracted initialize if set to true the initializatino function will be called
Definition at line 78 of file patch_info.cpp.
◆ update()
void bitpit::PatchInfo::update | ( | ) |
Updates the information.
Definition at line 121 of file patch_info.cpp.
Member Data Documentation
◆ m_patch
|
protected |
Definition at line 48 of file patch_info.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/patch_info.hpp
- src/patchkernel/patch_info.cpp
