ldas-tools-framecpp
2.6.2
|
Keep track of structures written to or read from stream. More...
#include <Dictionary.hh>
Public Types | |
typedef FrameSpec::Object * | object_ptr_type |
typedef boost::shared_ptr< FrameSpec::Object > | object_type |
typedef boost::shared_ptr< StreamRefInterface > | streamref_type |
typedef std::pair< StreamRefInterface::class_type, StreamRefInterface::instance_type > | ptr_struct_key_type |
Public Member Functions | |
Dictionary () | |
~Dictionary () | |
void | Clear () |
streamref_type | Ref (const ptr_struct_key_type &Key) const |
object_type | Ref (streamref_type SR) const |
streamref_type | Ref (object_type Obj) const |
void | Ref (streamref_type SR, object_type Obj) |
streamref_type | RefCreate (object_type Obj, const OStream &Stream) |
Create a reference. More... | |
void | Remove (const ptr_struct_key_type &Key) |
void | Remove (object_type Key) |
void | ResetInstanceCounts () |
void | SetInstance (streamref_type StreamRef) |
void | Next (object_type Obj, object_type Next) |
object_type | Next (object_type Obj) const |
object_type | Next (const object_type::element_type *Obj) const |
Friends | |
class | FrameStream |
Keep track of structures written to or read from stream.
typedef boost::shared_ptr< FrameSpec::Object > FrameCPP::Common::Dictionary::object_type |
typedef std::pair< StreamRefInterface::class_type, StreamRefInterface::instance_type > FrameCPP::Common::Dictionary::ptr_struct_key_type |
typedef boost::shared_ptr< StreamRefInterface > FrameCPP::Common::Dictionary::streamref_type |
FrameCPP::Common::Dictionary::Dictionary | ( | ) |
FrameCPP::Common::Dictionary::~Dictionary | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Create a reference.
[in] | Obj | Object to be referenced. |
[in] | Stream | Stream to receive the reference. |
This method is used for creating a reference that would be appropriate for writing to a stream.
|
inline |
|
inline |
|
inline |
void FrameCPP::Common::Dictionary::SetInstance | ( | streamref_type | StreamRef | ) |
|
friend |