End of File data structure. More...
#include <FrEndOfFile.hh>
Public Member Functions | |
| FrEndOfFile () | |
| Default constructor. | |
| virtual | ~FrEndOfFile () |
| Destructor. | |
| virtual Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
| Number of bytes needed to write this structure. | |
| virtual FrEndOfFile * | Clone () const |
| Virtual copy constructor. | |
| virtual FrEndOfFile * | Create (istream_type &Stream) const |
| Virtual constructor. | |
| virtual nBytes_cmn_type | NBytes () const |
| Retrieve the expected size of the stream. | |
| virtual nFrames_cmn_type | NFrames () const |
| Retrieve the number of frames in the stream. | |
| virtual const char * | ObjectStructName () const |
| The name structure name of this object. | |
| virtual void | Write (ostream_type &Stream) const |
| Write the structure to the stream. | |
| bool | operator== (const FrEndOfFile &RHS) const |
| equality operator | |
| virtual bool | operator== (const Common::FrameSpec::Object &RHS) const |
| equality operator for abstract data type | |
| virtual FrEndOfFile::seekTOC_cmn_type | SeekTOC () const |
| Retrieve the location of the table of contents. | |
| virtual void | VerifyObject (Common::Verify &Verifier, Common::IFrameStream &Stream) const |
| Verify the object. | |
| FrEndOfFile () | |
| Default constructor. | |
| virtual | ~FrEndOfFile () |
| Destructor. | |
| virtual Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
| Number of bytes needed to write this structure. | |
| virtual FrEndOfFile * | Clone () const |
| Virtual copy constructor. | |
| virtual FrEndOfFile * | Create (istream_type &Stream) const |
| Virtual constructor. | |
| virtual nBytes_cmn_type | NBytes () const |
| Retrieve the expected size of the stream. | |
| virtual nFrames_cmn_type | NFrames () const |
| Retrieve the number of frames in the stream. | |
| virtual const char * | ObjectStructName () const |
| The name structure name of this object. | |
| virtual void | Write (ostream_type &Stream) const |
| Write the structure to the stream. | |
| bool | operator== (const FrEndOfFile &RHS) const |
| equality operator | |
| virtual bool | operator== (const Common::FrameSpec::Object &RHS) const |
| equality operator for abstract data type | |
| virtual FrEndOfFile::seekTOC_cmn_type | SeekTOC () const |
| Retrieve the location of the table of contents. | |
| virtual void | VerifyObject (Common::Verify &Verifier, Common::IFrameStream &Stream) const |
| Verify the object. | |
| class_type | GetClass () const |
| Retrieve the class identifier. | |
| class_type | GetClass () const |
| Retrieve the class identifier. | |
| 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 | |
| chkSum_type | GetChkSum () const |
| Retrieve the checksum. | |
| chkSumFile_type | GetChkSumFile () const |
| Retrieve the file checksum. | |
| chkSumFrHeader_type | GetChkSumFrHeader () const |
| Retrieve the FrHeader checksum. | |
| nBytes_type | GetNBytes () const |
| Retrieve the total number of bytes in this file. | |
| nFrames_type | GetNFrames () const |
| Retrieve the number of frames in this file. | |
| seekTOC_type | GetSeekTOC () const |
| Retrieve the location of the table of contents. | |
Static Public Member Functions | |
| static const char * | StructName () |
| The name structure name of this object. | |
| static const char * | StructName () |
| The name structure name of this object. | |
| static const Common::Description * | StructDescription () |
| The description of structure. | |
| static const Common::Description * | StructDescription () |
| The description of structure. | |
| 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. | |
Protected Member Functions | |
| virtual void | assign (assign_stream_type &Stream) |
| Assign the contents of the instance. | |
| virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| Demotes object to previous version of the frame spec. | |
| virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const |
| Promotes object to another version of the frame spec. | |
| virtual void | assign (assign_stream_type &Stream) |
| Assign the contents of the instance. | |
| virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const |
| Demotes object to previous version of the frame spec. | |
| virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const |
| Promotes object to another version of the frame spec. | |
| virtual class_type | getClass () const |
| Retrieve the class identifier. | |
| virtual class_type | getClass () const |
| Retrieve the class identifier. | |
Protected Attributes | |
| nFrames_type | nFrames |
| Number of frames in this file. | |
| nBytes_type | nBytes |
| Total number of bytes in the file; zero if not computed. | |
| seekTOC_type | seekTOC |
| chkSumFrHeader_type | chkSumFrHeader |
| FrHeader checksum. | |
| chkSum_type | chkSum |
| chkSumFile_type | chkSumFile |
| File checksum. | |
End of File data structure.
| FrameCPP::Version_8::FrEndOfFile::FrEndOfFile | ( | ) |
Default constructor.
| FrameCPP::Version_8::FrEndOfFile::FrEndOfFile | ( | ) |
Default constructor.
|
protectedvirtual |
Assign the contents of the instance.
| [in] | Stream | An input stream from which to read information for the instance. |
|
protectedvirtual |
Assign the contents of the instance.
| [in] | Stream | An input stream from which to read information for the instance. |
|
virtual |
Number of bytes needed to write this structure.
| [in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Number of bytes needed to write this structure.
| [in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Virtual constructor.
| [in] | Stream | The input stream from where the object is being read. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Virtual constructor.
| [in] | Stream | The input stream from where the object is being read. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Demotes object to previous version of the frame spec.
| [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. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Demotes object to previous version of the frame spec.
| [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. |
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 |
Retrieve the checksum.
|
inlineinherited |
Retrieve the file checksum.
|
inlineinherited |
Retrieve the FrHeader checksum.
|
inlineinherited |
Retrieve the class identifier.
|
inherited |
Retrieve the class identifier.
|
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.
|
inlineinherited |
Retrieve the total number of bytes in this file.
|
inlineinherited |
Retrieve the number of frames in this file.
|
inlineinherited |
Retrieve the location of the table of contents.
|
virtual |
The name structure name of this object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
The name structure name of this object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
equality operator for abstract data type
| [in] | RHS | The object to be compared. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
equality operator for abstract data type
| [in] | RHS | The object to be compared. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
| bool FrameCPP::Version_8::FrEndOfFile::operator== | ( | const FrEndOfFile & | RHS | ) | const |
equality operator
| [in] | RHS | The FrAdcData object to be compared. |
| bool FrameCPP::Version_8::FrEndOfFile::operator== | ( | const FrEndOfFile & | RHS | ) | const |
equality operator
| [in] | RHS | The FrAdcData object to be compared. |
|
protectedvirtual |
Promotes object to another version of the frame spec.
| [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. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Promotes object to another version of the frame spec.
| [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. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
staticinherited |
Upgrade an object.
| [in] | Target | Promote Obj to this version of the frame specification. |
| [in] | Source | Obj conforms to this version of the frame specification. |
| [in] | Obj | Object to be converted |
| [in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
| [in] | Target | Promote Obj to this version of the frame specification. |
| [in] | Source | Obj conforms to this version of the frame specification. |
| [in] | Obj | Object to be converted |
| [in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
| [in] | Target | Promote Obj to this version of the frame specification. |
| [in] | Source | Obj conforms to this version of the frame specification. |
| [in] | Obj | Object to be converted |
| [in] | Stream | Originating stream for Obj. |
|
staticinherited |
Upgrade an object.
| [in] | Target | Promote Obj to this version of the frame specification. |
| [in] | Source | Obj conforms to this version of the frame specification. |
| [in] | Obj | Object to be converted |
| [in] | Stream | Originating stream for Obj. |
|
inlinevirtual |
Retrieve the location of the table of contents.
|
virtual |
Retrieve the location of the table of contents.
|
inlinestaticinherited |
The description of structure.
|
inlinestaticinherited |
The description of structure.
|
inlinestatic |
The name structure name of this object.
|
static |
The name structure name of this object.
|
virtual |
Write the structure to the stream.
| [in] | Stream | The output stream where the object is to be written. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Write the structure to the stream.
| [in] | Stream | The output stream where the object is to be written. |
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. |
|
protectedinherited |
Structure checksum.
|
protectedinherited |
Bytes to back up to the Beginning of the table of contents structure. If seekTOC is zero, then there is no table of contents for this file.