Inherits FrameCPP::Common::StreamRefInterface.
|
| StreamRef2 () |
| Constructor.
|
|
virtual | ~StreamRef2 () |
| Destructor.
|
|
FrameSpec::size_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object.
|
|
virtual self_type * | Create (IStream &Stream) const |
| constructor - virtual
|
|
virtual self_type * | Clone () const |
| constructor - virtual copy constructor
|
|
virtual const char * | ObjectStructName () const |
| Retrieve the class name of the object.
|
|
virtual bool | operator== (const StreamRef2< LT, CKT, CT, IT > &RHS) const |
| comparison operator
|
|
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
| comparison operator
|
|
| StreamRef2 () |
| Constructor.
|
|
virtual | ~StreamRef2 () |
| Destructor.
|
|
FrameSpec::size_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object.
|
|
virtual self_type * | Create (IStream &Stream) const |
| constructor - virtual
|
|
virtual self_type * | Clone () const |
| constructor - virtual copy constructor
|
|
virtual const char * | ObjectStructName () const |
| Retrieve the class name of the object.
|
|
virtual bool | operator== (const StreamRef2< LT, CKT, CT, IT > &RHS) const |
| comparison operator
|
|
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
| comparison operator
|
|
const Description * | GetDescription () const |
| Retrieve FrSH/FrSE description of the parent object.
|
|
const Description * | GetDescription () const |
| Retrieve FrSH/FrSE description of the parent object.
|
|
ostream_type & | WriteNext (ostream_type &Stream) const |
| Write a next pointer to the parent to the stream.
|
|
ostream_type & | WriteNext (ostream_type &Stream) const |
| Write a next pointer to the parent to the stream.
|
|
virtual Object * | Create () const |
| constructor - virtual
|
|
virtual Object * | Create (std::istream &Buffer) const |
| constructor - virtual
|
|
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object.
|
|
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object.
|
|
virtual void | Write (ostream_type &Stream) const =0 |
| Write object to the stream.
|
|
|
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
| Down grade an object.
|
|
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
| Down grade an object.
|
|
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object.
|
|
template<typename PreviousType , typename CurrentType > |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object.
|
|
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object.
|
|
template<typename PreviousType , typename CurrentType > |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object.
|
|
|
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, IStream *Stream) const |
| Down grade an object.
|
|
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, IStream *Stream) const |
| Upgrade an object.
|
|
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, IStream *Stream) const |
| Down grade an object.
|
|
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, IStream *Stream) const |
| Upgrade an object.
|
|
virtual class_type | getClass () const |
| Retrieve the class identifier.
|
|
virtual class_type | getClass () const |
| Retrieve the class identifier.
|
|
template<class LT, class CKT, class CT, class IT>
class FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >
Generalized common elements of frame structure.
This templated implementation simplifies the actual implementation of the common elements of all frame structures by having each of the storage elements have a separate template parameter.
This implementation supports versions of the frame specification which require the chkType field.
- Template Parameters
-
LT | Data type for the length field. |
CKT | Data type for the chkType field. |
CT | Data type for the class field. |
IT | Data type for the instance field. |