restore_context_body Class Reference

Ratpac-two: restore_context_body Class Reference
Ratpac-two
restore_context_body Class Reference

Public Types

typedef smart_ptr_clone< persistentpersistent_ptr
 
typedef std::map< unsigned, void * > magic_map
 
typedef std::map< unsigned short, restore_context::callback_data > callback_map
 
typedef std::map< unsigned short, persistent_ptrinterface_map
 

Public Member Functions

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

Public Attributes

unsigned short m_max_key
 
unsigned char m_version
 
bool m_little_endian
 
itext m_device
 
magic_map m_pointers
 
callback_map m_callbacks
 
interface_map m_interfaces
 

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