Support checksumed objects.
More...
#include <FrameSpec.hh>
Inherits ObjectType, ObjectType, and ObjectType.
|
| ObjectWithChecksum () |
| Constructor - Default.
|
|
| ObjectWithChecksum (const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (class_type Class, const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (const ObjectWithChecksum &Source) |
| copy constructor
|
|
| ObjectWithChecksum (istream_type &Source) |
| Constructor - Stream.
|
|
virtual | ~ObjectWithChecksum () |
| destructor
|
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. More...
|
|
virtual self_type * | Create (istream_type &Stream) const |
| Virtual constructor. More...
|
|
virtual void | Write (ostream_type &Stream) const |
| Write object to the stream.
|
|
| ObjectWithChecksum () |
| Constructor - Default.
|
|
| ObjectWithChecksum (const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (class_type Class, const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (const ObjectWithChecksum &Source) |
| copy constructor
|
|
| ObjectWithChecksum (istream_type &Source) |
| Constructor - Stream.
|
|
virtual | ~ObjectWithChecksum () |
| destructor
|
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. More...
|
|
virtual self_type * | Create (istream_type &Stream) const |
| Virtual constructor. More...
|
|
virtual void | Write (ostream_type &Stream) const |
| Write object to the stream.
|
|
| ObjectWithChecksum () |
| Constructor - Default.
|
|
| ObjectWithChecksum (const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (class_type Class, const Description *Description) |
| Constructor.
|
|
| ObjectWithChecksum (const ObjectWithChecksum &Source) |
| copy constructor
|
|
| ObjectWithChecksum (istream_type &Source) |
| Constructor - Stream.
|
|
virtual | ~ObjectWithChecksum () |
| destructor
|
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. More...
|
|
virtual self_type * | Create (istream_type &Stream) const |
| Virtual constructor. More...
|
|
virtual void | Write (ostream_type &Stream) const |
| Write object to the stream.
|
|
|
static const char * | CheckSumDataClass () |
| Data class to be used in class field of FrSE.
|
|
static const char * | CheckSumDataComment () |
| Comment to be used in comment field of FrSE.
|
|
static const char * | CheckSumDataClass () |
| Data class to be used in class field of FrSE.
|
|
static const char * | CheckSumDataComment () |
| Comment to be used in comment field of FrSE.
|
|
static const char * | CheckSumDataClass () |
| Data class to be used in class field of FrSE.
|
|
static const char * | CheckSumDataComment () |
| Comment to be used in comment field of FrSE.
|
|
|
virtual streamsize_type | pBytes (const StreamBase &Stream) const =0 |
| Number of bytes needed to write this structure. More...
|
|
virtual self_type * | pCreate (istream_type &Stream) const =0 |
| Virtual constructor. More...
|
|
virtual void | pWrite (ostream_type &Stream) const =0 |
| Write the structure to the stream. More...
|
|
virtual streamsize_type | pBytes (const StreamBase &Stream) const =0 |
| Number of bytes needed to write this structure. More...
|
|
virtual self_type * | pCreate (istream_type &Stream) const =0 |
| Virtual constructor. More...
|
|
virtual void | pWrite (ostream_type &Stream) const =0 |
| Write the structure to the stream. More...
|
|
virtual streamsize_type | pBytes (const StreamBase &Stream) const =0 |
| Number of bytes needed to write this structure. More...
|
|
virtual self_type * | pCreate (istream_type &Stream) const =0 |
| Virtual constructor. More...
|
|
virtual void | pWrite (ostream_type &Stream) const =0 |
| Write the structure to the stream. More...
|
|
template<typename ObjectType, typename ChecksumType>
class FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >
Support checksumed objects.
- Template Parameters
-
ObjectType | Frame object type |
ChecksumType | Object used for checksum calculation |
◆ Bytes() [1/3]
template<typename ObjectType , typename ChecksumType >
Return the number of bytes for this object.
- Parameters
-
[in] | Stream | Stream characteristics used to determine the number of bytes needed to format the object for the Stream. |
- Returns
- The number of bytes for this object
◆ Bytes() [2/3]
template<typename ObjectType , typename ChecksumType >
Return the number of bytes for this object.
- Parameters
-
[in] | Stream | Stream characteristics used to determine the number of bytes needed to format the object for the Stream. |
- Returns
- The number of bytes for this object
◆ Bytes() [3/3]
template<typename ObjectType , typename ChecksumType >
Return the number of bytes for this object.
- Parameters
-
[in] | Stream | Stream characteristics used to determine the number of bytes needed to format the object for the Stream. |
- Returns
- The number of bytes for this object
◆ Create() [1/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- Return pointer to the newly allocated resource.
◆ Create() [2/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- Return pointer to the newly allocated resource.
◆ Create() [3/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- Return pointer to the newly allocated resource.
◆ pBytes() [1/3]
template<typename ObjectType , typename ChecksumType >
Number of bytes needed to write this structure.
- Parameters
-
[in] | Stream | The stream from which to the object is being read or written. |
- Returns
- The number of bytes need to read or write this object.
◆ pBytes() [2/3]
template<typename ObjectType , typename ChecksumType >
Number of bytes needed to write this structure.
- Parameters
-
[in] | Stream | The stream from which to the object is being read or written. |
- Returns
- The number of bytes need to read or write this object.
◆ pBytes() [3/3]
template<typename ObjectType , typename ChecksumType >
Number of bytes needed to write this structure.
- Parameters
-
[in] | Stream | The stream from which to the object is being read or written. |
- Returns
- The number of bytes need to read or write this object.
◆ pCreate() [1/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- The newly allocated object.
◆ pCreate() [2/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- The newly allocated object.
◆ pCreate() [3/3]
template<typename ObjectType , typename ChecksumType >
Virtual constructor.
- Parameters
-
[in] | Stream | The input stream from where the object is being read. |
- Returns
- The newly allocated object.
◆ pWrite() [1/3]
template<typename ObjectType , typename ChecksumType >
Write the structure to the stream.
- Parameters
-
[in] | Stream | The output stream where the object is to be written. |
◆ pWrite() [2/3]
template<typename ObjectType , typename ChecksumType >
Write the structure to the stream.
- Parameters
-
[in] | Stream | The output stream where the object is to be written. |
◆ pWrite() [3/3]
template<typename ObjectType , typename ChecksumType >
Write the structure to the stream.
- Parameters
-
[in] | Stream | The output stream where the object is to be written. |
The documentation for this class was generated from the following files:
- /build/ldas-tools-framecpp/debian/tmp/usr/include/framecpp/Common/FrameSpec.hh
- /build/ldas-tools-framecpp/obj-x86_64-linux-gnu/include/framecpp/Common/FrameSpec.hh
- Common/FrameSpec.hh
- /build/ldas-tools-framecpp/src/Common/FrameSpec.cc