|
ldas-tools-framecpp 3.0.4
|
#include <StreamRef.hh>


Public Member Functions | |
| StreamRef () | |
| Constructor. | |
| virtual | ~StreamRef () |
| Destructor. | |
| virtual FrameSpec::size_type | SizeOf () const |
| FrameSpec::size_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. | |
| virtual class_type | GetClass () const |
| virtual instance_type | GetInstance () const |
| virtual length_type | GetLength () const |
| virtual void | SetClass (class_type Class) |
| virtual void | SetInstance (instance_type Instance) |
| virtual void | SetLength (length_type Length) |
| virtual StreamRef< LT, CT, IT, SPEC_VERSION_T > * | Create (IStream &Stream) const |
| constructor - virtual | |
| virtual StreamRef< LT, CT, IT, SPEC_VERSION_T > * | 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 StreamRef< LT, CT, IT, SPEC_VERSION_T > &RHS) const |
| comparison operator | |
| virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
| comparison operator | |
| StreamRef () | |
| Constructor. | |
| virtual | ~StreamRef () |
| Destructor. | |
| virtual FrameSpec::size_type | SizeOf () const |
| FrameSpec::size_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. | |
| virtual class_type | GetClass () const |
| virtual instance_type | GetInstance () const |
| virtual length_type | GetLength () const |
| virtual void | SetClass (class_type Class) |
| virtual void | SetInstance (instance_type Instance) |
| virtual void | SetLength (length_type Length) |
| virtual StreamRef< LT, CT, IT, SPEC_VERSION_T > * | Create (IStream &Stream) const |
| constructor - virtual | |
| virtual StreamRef< LT, CT, IT, SPEC_VERSION_T > * | 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 StreamRef< LT, 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 (ostream_type &Stream) const |
| virtual const Description * | GetDescription () const |
| Retrieve FrSH/FrSE description of the parent object. | |
| virtual const Description * | GetDescription (ostream_type &Stream) const |
| frame_spec_version_type | FrameSpecVersion () const |
| frame_spec_version_type | FrameSpecVersion () const |
| 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 | |
| template<typename PreviousType, typename CurrentType> | |
| FrameSpec::ObjectInterface::promote_ret_type | PromoteObject (FrameSpec::ObjectInterface::frame_spec_version_type Target, FrameSpec::ObjectInterface::frame_spec_version_type Source, FrameSpec::ObjectInterface::promote_arg_type Obj, promote_stream_type *Stream) |
| virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object. | |
| virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
| Verify an object. | |
Protected Member Functions | |
| virtual void | assign (IStringStream &Stream) |
| virtual FrameSpec::ObjectInterface::demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| Down grade an object. | |
| virtual FrameSpec::ObjectInterface::promote_ret_type | promote (INT_2U Target, FrameSpec::ObjectInterface::promote_arg_type Obj, promote_stream_type *Stream) const |
| Upgrade an object. | |
| virtual void | assign (IStringStream &Stream) |
| virtual FrameSpec::ObjectInterface::demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| Down grade an object. | |
| virtual FrameSpec::ObjectInterface::promote_ret_type | promote (INT_2U Target, FrameSpec::ObjectInterface::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. | |
Private Types | |
| typedef LT | internal_length_type |
| typedef CT | internal_class_type |
| typedef IT | internal_instance_type |
| typedef LT | internal_length_type |
| typedef CT | internal_class_type |
| typedef IT | internal_instance_type |
Private Member Functions | |
| StreamRef (IStream &Stream) | |
| StreamRef (const StreamRef &Source) | |
| StreamRef (IStream &Stream) | |
| StreamRef (const StreamRef &Source) | |
Private Attributes | |
| internal_length_type | m_length |
| internal_class_type | m_class |
| internal_instance_type | m_instance |
| const Description *const | m_desc |
| Description for parent class. | |
| const frame_spec_version_type | frame_spec_version |
| Version of the frame specification. | |
Static Private Attributes | |
| static const FrameSpec::Info::frame_object_types | s_object_id |
| typedef StreamRefInterface::class_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::class_type |
| typedef StreamRefInterface::class_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::class_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| typedef StreamRefInterface::instance_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::instance_type |
| typedef StreamRefInterface::instance_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::instance_type |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| typedef StreamRefInterface::length_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::length_type |
| typedef StreamRefInterface::length_type FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::length_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::StreamRef | ( | ) |
Constructor.
|
virtual |
Destructor.
|
private |
|
private |
| FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >::StreamRef | ( | ) |
Constructor.
|
virtual |
Destructor.
|
private |
|
private |
|
inlineprotectedvirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
protectedvirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Return the number of bytes for this object.
| [in] | Stream | The stream on which the object will be written or read. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Return the number of bytes for this object.
| [in] | Stream | The stream on which the object will be written or read. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlinevirtual |
constructor - virtual copy constructor
Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
constructor - virtual copy constructor
Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtualinherited |
constructor - virtual
Reimplemented in FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Version_3::FrVect, FrameCPP::Version_4::FrTOC, FrameCPP::Version_4::FrTOC, FrameCPP::Version_6::FrTOC, FrameCPP::Version_6::FrTOC, and FrVect.
|
virtualinherited |
constructor - virtual
Reimplemented in FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrVect, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, and FrVect.
|
inlinevirtual |
constructor - virtual
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
constructor - virtual
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Down grade an object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Down grade an object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
staticinherited |
Down grade an object.
| [in] | Target | This is the version of the frame specification of the demoted object. |
| [in] | Obj | The base object. |
| [in] | Stream | Stream from which Obj was created. |
|
staticinherited |
Down grade an object.
| [in] | Target | This is the version of the frame specification of the demoted object. |
| [in] | Obj | The base object. |
| [in] | Stream | Stream from which Obj was created. |
|
inlineinherited |
|
inherited |
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
protectedvirtualinherited |
Retrieve the class identifier.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtualinherited |
Retrieve the class identifier.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlinevirtualinherited |
Retrieve FrSH/FrSE description of the parent object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtualinherited |
Retrieve FrSH/FrSE description of the parent object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtualinherited |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
Reimplemented in FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< T >, FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< T >, and FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< FrEndOfFile >.
|
virtualinherited |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
Reimplemented in FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< T >, FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< T >, and FrameCPP::Version_9::FrEndOfFileImpl::ClassicIO< FrEndOfFile >.
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
inlinevirtual |
Retrieve the class name of the object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Retrieve the class name of the object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlinevirtual |
comparison operator
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
comparison operator
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlinevirtual |
comparison operator
|
virtual |
comparison operator
|
protectedvirtual |
Upgrade an object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Upgrade an object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
inherited |
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
inlinevirtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtual |
Implements FrameCPP::Common::StreamRefInterface.
|
virtualinherited |
Verify an object.
| [in,out] | Verifier | Set of rules to use in verification of the object. If an error occurs, the violation is logged here. |
| [in] | Stream | The stream that is being used to read the object. |
Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrVect, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, and FrVect.
|
virtualinherited |
Verify an object.
| [in,out] | Verifier | Set of rules to use in verification of the object. If an error occurs, the violation is logged here. |
| [in] | Stream | The stream that is being used to read the object. |
Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrVect, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, and FrVect.
|
inlinevirtual |
Write object to the stream.
| [in,out] | Stream | The stream being written with the contents of object. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Write object to the stream.
| [in,out] | Stream | The stream being written with the contents of object. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inherited |
Write a next pointer to the parent to the stream.
| [in,out] | Stream | The output stream to receive the next pointer. |
|
inherited |
Write a next pointer to the parent to the stream.
| [in,out] | Stream | The output stream to receive the next pointer. |
|
privateinherited |
Version of the frame specification.
The version of the frame specification for which this object was created.
|
private |
|
privateinherited |
Description for parent class.
The description for the parent class composed of one FrSH and one or more FrSE elements.
|
private |
|
private |
|
staticprivateinherited |