restore_context Class Reference

Ratpac-two: restore_context Class Reference
Ratpac-two
restore_context Class Reference

Public Types

typedef void *(* create_callback) (void)
 
typedef void(* restore_callback) (restore_context &, void *)
 
typedef std::pair< create_callback, restore_callback > callback_data
 
typedef std::pair< unsigned short, persistent * > interface_data
 
typedef void(* installer) (restore_context &)
 

Public Member Functions

 restore_context (const itext &device) throw ()
 
int get (void) throw ()
 
const itextdevice (void) const
 
unsigned char version (void) const
 
bool little_endian (void) const
 
std::pair< bool, void * > pointer_map (unsigned magic)
 
void pointer_add (unsigned magic, void *new_pointer)
 
unsigned short register_type (create_callback, restore_callback)
 
bool is_callback (unsigned short) const
 
callback_data lookup_type (unsigned short) const throw ()
 
unsigned short register_interface (const persistent &)
 
bool is_interface (unsigned short) const
 
const persistentlookup_interface (unsigned short) const throw ()
 
void register_all (installer)
 

Friends

class persistent
 
class restore_context_body
 

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/include/stlplus/persistent.hpp
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/src/persistent.cc