|
virtual | ~ObjectInterface () |
| Destructor. More...
|
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const =0 |
| Return the number of bytes for this object. More...
|
|
virtual Object * | Create () const |
| constructor - virtual
|
|
virtual Object * | Create (istream_type &Stream) const =0 |
| constructor - virtual
|
|
virtual Object * | Create (std::istream &Buffer) const |
| constructor - virtual
|
|
virtual bool | operator== (const Object &Obj) const =0 |
| comparison operator
|
|
virtual Object * | Clone () const |
| constructor - virtual copy constructor
|
|
virtual const Description * | GetDescription () const =0 |
| Get FrSH/FrSE description of object.
|
|
virtual const char * | ObjectStructName () const =0 |
| Retrieve the class name of the object. More...
|
|
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object. More...
|
|
virtual void | Write (ostream_type &Stream) const =0 |
| Write object to the stream. More...
|
|
virtual | ~ObjectInterface () |
| Destructor.
|
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const =0 |
| Return the number of bytes for this object. More...
|
|
virtual Object * | Create () const |
| constructor - virtual
|
|
virtual Object * | Create (istream_type &Stream) const =0 |
| constructor - virtual
|
|
virtual Object * | Create (std::istream &Buffer) const |
| constructor - virtual
|
|
virtual bool | operator== (const Object &Obj) const =0 |
| comparison operator
|
|
virtual Object * | Clone () const |
| constructor - virtual copy constructor
|
|
virtual const Description * | GetDescription () const =0 |
| Get FrSH/FrSE description of object.
|
|
virtual const char * | ObjectStructName () const =0 |
| Retrieve the class name of the object. More...
|
|
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object. More...
|
|
virtual void | Write (ostream_type &Stream) const =0 |
| Write object to the stream. More...
|
|
|
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
| Down grade an object. More...
|
|
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object. More...
|
|
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. More...
|
|
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
| Down grade an object. More...
|
|
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object. More...
|
|
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. More...
|
|
|
virtual demote_ret_type | demote (frame_spec_version_type Target, demote_arg_type Obj, istream_type *Stream) const =0 |
| Demotes object to previous version of the frame spec. More...
|
|
virtual promote_ret_type | promote (frame_spec_version_type Target, promote_arg_type Obj, istream_type *Stream) const =0 |
| Promotes object to another version of the frame spec. More...
|
|
virtual class_type | getClass () const =0 |
| Retrieve the class name associated with the object.
|
|
virtual demote_ret_type | demote (frame_spec_version_type Target, demote_arg_type Obj, istream_type *Stream) const =0 |
| Demotes object to previous version of the frame spec. More...
|
|
virtual promote_ret_type | promote (frame_spec_version_type Target, promote_arg_type Obj, istream_type *Stream) const =0 |
| Promotes object to another version of the frame spec. More...
|
|
virtual class_type | getClass () const =0 |
| Retrieve the class name associated with the object.
|
|
Interface to Objects.
This interface should be the base of all frame objects. It allows for generic handling of frame objects.
virtual demote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::demote |
( |
frame_spec_version_type |
Target, |
|
|
demote_arg_type |
Obj, |
|
|
istream_type * |
Stream |
|
) |
| const |
|
protectedpure virtual |
Demotes object to previous version of the frame spec.
- Parameters
-
[in] | Target | The version of the frame specification to demote too. |
[in] | Obj | The version of the object to demote. |
[in] | Stream | The input stream from which the original object was read. |
- Returns
- An object of the previous generation.
Implemented in FrameCPP::Version_4::FrTable, FrameCPP::Version_4::FrTable, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_6::FrTable, FrameCPP::Version_6::FrTable, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_3::FrAdcData, and FrameCPP::Version_3::FrAdcData.
virtual demote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::demote |
( |
frame_spec_version_type |
Target, |
|
|
demote_arg_type |
Obj, |
|
|
istream_type * |
Stream |
|
) |
| const |
|
protectedpure virtual |
Demotes object to previous version of the frame spec.
- Parameters
-
[in] | Target | The version of the frame specification to demote too. |
[in] | Obj | The version of the object to demote. |
[in] | Stream | The input stream from which the original object was read. |
- Returns
- An object of the previous generation.
Implemented in FrameCPP::Version_4::FrTable, FrameCPP::Version_4::FrTable, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_6::FrTable, FrameCPP::Version_6::FrTable, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_3::FrAdcData, and FrameCPP::Version_3::FrAdcData.
virtual promote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::promote |
( |
frame_spec_version_type |
Target, |
|
|
promote_arg_type |
Obj, |
|
|
istream_type * |
Stream |
|
) |
| const |
|
protectedpure virtual |
Promotes object to another version of the frame spec.
- Parameters
-
[in] | Target | The version of the promoted frame specification. |
[in] | Obj | The object to be promoted. |
[in] | Stream | The input stream from which the original object was read. |
- Returns
- An object promoted to the next generation.
Implemented in FrameCPP::Version_4::FrTable, FrameCPP::Version_4::FrTable, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_6::FrTable, FrameCPP::Version_6::FrTable, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_3::FrAdcData, and FrameCPP::Version_3::FrAdcData.
virtual promote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::promote |
( |
frame_spec_version_type |
Target, |
|
|
promote_arg_type |
Obj, |
|
|
istream_type * |
Stream |
|
) |
| const |
|
protectedpure virtual |
Promotes object to another version of the frame spec.
- Parameters
-
[in] | Target | The version of the promoted frame specification. |
[in] | Obj | The object to be promoted. |
[in] | Stream | The input stream from which the original object was read. |
- Returns
- An object promoted to the next generation.
Implemented in FrameCPP::Version_4::FrTable, FrameCPP::Version_4::FrTable, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT >, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Common::PTR_STRUCT< DC, DI >, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_6::FrTable, FrameCPP::Version_6::FrTable, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_4::FrAdcData, FrameCPP::Version_3::FrAdcData, and FrameCPP::Version_3::FrAdcData.