|
|
| 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 void | Write (OStream &Stream) const |
| | Write object to the stream.
|
|
virtual bool | operator== (const StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T > &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 void | Write (OStream &Stream) const |
| | Write object to the stream.
|
|
virtual bool | operator== (const StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T > &RHS) const |
| | comparison operator
|
|
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
| | comparison operator
|
| virtual const Description * | GetDescription () const |
| | Retrieve FrSH/FrSE description of the parent object.
|
| virtual 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.
|
|
| static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream) |
| | Down grade an object.
|
| static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream) |
| | Down grade an object.
|
| static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_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, stream_base_type *Stream) |
| | Upgrade an object.
|
| static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_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, stream_base_type *Stream) |
| | Upgrade an object.
|
|
|
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| | Down grade an object.
|
|
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const |
| | Upgrade an object.
|
|
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| | Down grade an object.
|
|
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *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, int SPEC_VERSION_T>
class FrameCPP::Common::StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T >
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. |