Class Index | Cross Index | Namespace Index |
Contained in: FrameCPP::Version_6
Derived from:
none
Derived by:
none
#include "../../../../../lib/framecpp/src/Version6/Dictionary.hh"
public function member index: |
|||
Dictionary | (const std::vector< io_calls_type >& LibraryDefs, INT_4U NumberOfClassTypes); | Constructor | |
~Dictionary | (); | Destructor | |
const callback_key_type | AddCallback | (INT_2U Key, Callback& CB); | Add a callback method to the dictionary |
void | AddDefinition | (const definition_type* Definition); | Add a definition to the dictionary |
void | DisableLibraryReaderAll | (); | |
void | EnableLibraryReader | (INT_4U ClassId); | |
void | EnableLibraryReaderAll | (); | |
INT_2U | GetLibraryClass | (const std::string& Name) const; | Get the class id for the library based on text name |
bool | IsReadable | (IFrameStream& Stream, const FrBase& Base) const; | |
INT_2U | MapStreamClassToLibraryClass | (INT_2U StreamClass) const; | |
FrBase* | Read | (IFrameStream& Stream, const FrBase& Base); | Read element off the stream |
void | RemoveCallback | (const callback_key_type Key); | Remove a callback method from the dictionary |
void | TrackObjects | (bool Tracking); | |
void | Write | (OFrameStream& Stream, FrBase& Base); | Write element the stream |
private function member index: |
|||
void | add_class_mapping | (INT_2U StreamClass, INT_2U LibraryClass); | |
void | key_checkin | (key_id_type Key); | Release key to the pool |
key_id_type | key_checkout | (); | Obtain a key from the pool |
This function adds a definition to the dictionary. It is greedy in that it takes ownership of the pointer past and will delete the object when the dictionary
List of callbacks
Mapping of registered callbacks registered_callbacks_type m_registered_callbacks; Associative array tracking number of instances.
If a key is checked out, then a value of true is registered at the the key's index, false otherwise.
Map of class ids from library structures to stream structures
Map of structues provied by the library.
Map associating a name with a class id for the library.
Map of definitions of structures either read in or written to the stream
Map of class ids from stream structures to library structures