Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
bitpit::PatchManager Class Reference

The PatchManager oversee the handling of the patches. More...

Public Member Functions

void dump (std::ostream &stream)
 
void dumpAll (std::ostream &stream)
 
PatchKernelget (int id)
 
void restore (std::istream &stream)
 
void restoreAll (std::istream &stream)
 

Static Public Member Functions

static PatchManagermanager ()
 

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
streamis 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
streamis 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
idis the id of the patch

Definition at line 63 of file patch_manager.cpp.

◆ manager()

PatchManager & bitpit::PatchManager::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
streamis 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
streamis the stream to read from

Definition at line 173 of file patch_manager.cpp.

Friends And Related Symbol Documentation

◆ PatchKernel

friend class PatchKernel
friend

Definition at line 38 of file patch_manager.hpp.

Member Data Documentation

◆ AUTOMATIC_ID

const int bitpit::PatchManager::AUTOMATIC_ID = IndexGenerator<int>::NULL_ID
static

Definition at line 41 of file patch_manager.hpp.


The documentation for this class was generated from the following files:
--- layout: doxygen_footer ---