The PatchManager oversee the handling of the patches. More...
Public Member Functions | |
void | dump (std::ostream &stream) |
void | dumpAll (std::ostream &stream) |
PatchKernel * | get (int id) |
void | restore (std::istream &stream) |
void | restoreAll (std::istream &stream) |
Static Public Member Functions | |
static PatchManager & | manager () |
Static Public Attributes | |
static BITPIT_PUBLIC_API const int | AUTOMATIC_ID = IndexGenerator<int>::NULL_ID |
Friends | |
class | PatchKernel |
Detailed Description
The PatchManager oversee the handling of the patches.
Definition at line 36 of file patch_manager.hpp.
Member Function Documentation
◆ dump()
void bitpit::PatchManager::dump | ( | std::ostream & | stream | ) |
Write the patch manager data to the specified stream.
- Parameters
-
stream is the stream to write to
Definition at line 137 of file patch_manager.cpp.
◆ dumpAll()
void bitpit::PatchManager::dumpAll | ( | std::ostream & | stream | ) |
Write the registered patches and the patch manager data to the specified stream.
- Parameters
-
stream is the stream to write to
Definition at line 158 of file patch_manager.cpp.
◆ get()
PatchKernel * bitpit::PatchManager::get | ( | int | id | ) |
Get the patch with the specified id.
- Parameters
-
id is the id of the patch
Definition at line 63 of file patch_manager.cpp.
◆ manager()
|
static |
Returns an instance of the patch manager.
- Returns
- An instance of the patch manager.
Definition at line 49 of file patch_manager.cpp.
◆ restore()
void bitpit::PatchManager::restore | ( | std::istream & | stream | ) |
Restore the patch manager data from the specified stream.
- Parameters
-
stream is the stream to read from
Definition at line 147 of file patch_manager.cpp.
◆ restoreAll()
void bitpit::PatchManager::restoreAll | ( | std::istream & | stream | ) |
Restore the registered patches and the patch manager data from the specified stream.
- Parameters
-
stream is the stream to read from
Definition at line 173 of file patch_manager.cpp.
Friends And Related Symbol Documentation
◆ PatchKernel
|
friend |
Definition at line 38 of file patch_manager.hpp.
Member Data Documentation
◆ AUTOMATIC_ID
|
static |
Definition at line 41 of file patch_manager.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/patch_manager.hpp
- src/patchkernel/patch_manager.cpp
