ldas-tools-framecpp
2.7.0
|
#include <FrStatData.hh>
Public Member Functions | |
FrStatData () | |
Default constructor. More... | |
FrStatData (const FrStatData &statData) | |
FrStatData (const std::string &name, const std::string &comment, const std::string &representation, INT_4U timeStart, INT_4U timeEnd, INT_4U version) | |
FrStatData (const Previous::FrStatData &Source, istream_type *Stream) | |
cmn_streamsize_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
virtual FrStatData * | Clone () const |
constructor - virtual copy constructor More... | |
virtual FrStatData * | Create (istream_type &Stream) const |
constructor - virtual More... | |
virtual fr_detector_type | GetDetector () const |
virtual const char * | ObjectStructName () const |
Retrieve the class name of the object. More... | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. More... | |
FrStatData & | Merge (const FrStatData &RHS) |
Merge with another FrAdcData. More... | |
bool | operator== (const FrStatData &RHS) const |
Comparison operator. More... | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
Comparison operator. More... | |
FrStatData () | |
Default constructor. More... | |
FrStatData (const FrStatData &statData) | |
FrStatData (const std::string &name, const std::string &comment, const std::string &representation, INT_4U timeStart, INT_4U timeEnd, INT_4U version) | |
FrStatData (const Previous::FrStatData &Source, istream_type *Stream) | |
cmn_streamsize_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
virtual FrStatData * | Clone () const |
constructor - virtual copy constructor More... | |
virtual FrStatData * | Create (istream_type &Stream) const |
constructor - virtual More... | |
virtual fr_detector_type | GetDetector () const |
virtual const char * | ObjectStructName () const |
Retrieve the class name of the object. More... | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. More... | |
FrStatData & | Merge (const FrStatData &RHS) |
Merge with another FrAdcData. More... | |
bool | operator== (const FrStatData &RHS) const |
Comparison operator. More... | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
Comparison operator. More... | |
class_type | GetClass () const |
Retrieve the class identifier. More... | |
class_type | GetClass () const |
Retrieve the class identifier. More... | |
const Description * | GetDescription () const |
Retrieve FrSH/FrSE description of the parent object. More... | |
const Description * | GetDescription () const |
Retrieve FrSH/FrSE description of the parent object. More... | |
ostream_type & | WriteNext (ostream_type &Stream) const |
Write a next pointer to the parent to the stream. More... | |
ostream_type & | WriteNext (ostream_type &Stream) const |
Write a next pointer to the parent to the stream. More... | |
virtual Object * | Create () const |
constructor - virtual More... | |
virtual Object * | Create (std::istream &Buffer) const |
constructor - virtual More... | |
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, IStream *Stream) |
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
Verify an object. More... | |
virtual void | VerifyObject (Verify &Verifier, IFrameStream &Stream) const |
Verify an object. More... | |
const std::string & | GetName () const |
Retrieve static data name. More... | |
const std::string & | GetName () const |
Retrieve static data name. More... | |
const std::string & | GetComment () const |
Retrieve the comment. More... | |
const std::string & | GetComment () const |
Retrieve the comment. More... | |
const std::string & | GetRepresentation () const |
Retrieve the type of static data. More... | |
const std::string & | GetRepresentation () const |
Retrieve the type of static data. More... | |
timeStart_type | GetTimeStart () const |
Retrieve the start time. More... | |
timeStart_type | GetTimeStart () const |
Retrieve the start time. More... | |
timeEnd_type | GetTimeEnd () const |
Retrieve the end time. More... | |
timeEnd_type | GetTimeEnd () const |
Retrieve the end time. More... | |
version_type | GetVersion () const |
Retrieve the version number. More... | |
version_type | GetVersion () const |
Retrieve the version number. More... | |
bool | operator== (const FrStatDataNPS &RHS) const |
Comparison operator. More... | |
detector_type | GetDetector () |
const data_type & | RefData () const |
data_type & | RefData () |
const data_type & | RefData () const |
data_type & | RefData () |
const table_type & | RefTable () const |
table_type & | RefTable () |
const table_type & | RefTable () const |
table_type & | RefTable () |
detector_type * | AddressOfDetector () const |
detector_type * | AddressOfDetector () const |
void | SetDetector (detector_type Detector) |
void | SetDetector (detector_type Detector) |
bool | operator== (const FrStatDataPST &RHS) const |
void | TOCQuery (int InfoClass,...) const |
void | TOCQuery (int InfoClass,...) const |
Static Public Member Functions | |
static promote_ret_type | Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) |
static const char * | StructName () |
static const Common::Description * | StructDescription () |
static promote_ret_type | Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) |
static const char * | StructName () |
static const Common::Description * | StructDescription () |
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
Down grade 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... | |
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... | |
template<class T > | |
static int | DataType (const T *Data) |
template<class T > | |
static int | DataType (const T &Data) |
template<class T > | |
static int | DataType (const T *Data) |
template<class T > | |
static int | DataType (const T &Data) |
Static Public Attributes | |
static const INT_4U | ALL_VERSIONS = 0xFFFFFFFF |
static const INT_4U | LATEST_VERSION = 0xFFFFFFFE |
static const FrameSpec::Info::frame_object_types | STRUCT_ID |
static const INT_2U | MAX_REF = 3 |
Protected Member Functions | |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. More... | |
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const |
Upgrade an object. More... | |
virtual void | vTOCQuery (int InfoClass, va_list vl) const |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. More... | |
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const |
Upgrade an object. More... | |
virtual void | vTOCQuery (int InfoClass, va_list vl) const |
virtual class_type | getClass () const |
Retrieve the class identifier. More... | |
virtual class_type | getClass () const |
Retrieve the class identifier. More... | |
Protected Attributes | |
storage_type | m_data |
ref_type | m_refs |
Private Member Functions | |
FrStatData (istream_type &Stream) | |
FrStatData (istream_type &Stream) | |
Private Attributes | |
const class_type | m_class |
Storage for the class identifier. More... | |
const Description *const | m_desc |
Description for parent class. More... | |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef FrStatDataNPS FrameCPP::Version_4::FrStatData::nps_type |
typedef FrStatDataNPS FrameCPP::Version_4::FrStatData::nps_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef FrStatDataPS FrameCPP::Version_4::FrStatData::ps_type |
typedef FrStatDataPS FrameCPP::Version_4::FrStatData::ps_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
FrameCPP::Version_4::FrStatData::FrStatData | ( | ) |
Default constructor.
FrameCPP::Version_4::FrStatData::FrStatData | ( | const FrStatData & | statData | ) |
FrameCPP::Version_4::FrStatData::FrStatData | ( | const std::string & | name, |
const std::string & | comment, | ||
const std::string & | representation, | ||
INT_4U | timeStart, | ||
INT_4U | timeEnd, | ||
INT_4U | version | ||
) |
FrameCPP::Version_4::FrStatData::FrStatData | ( | const Previous::FrStatData & | Source, |
istream_type * | Stream | ||
) |
|
private |
FrameCPP::Version_4::FrStatData::FrStatData | ( | ) |
Default constructor.
FrameCPP::Version_4::FrStatData::FrStatData | ( | const FrStatData & | statData | ) |
FrameCPP::Version_4::FrStatData::FrStatData | ( | const std::string & | name, |
const std::string & | comment, | ||
const std::string & | representation, | ||
INT_4U | timeStart, | ||
INT_4U | timeEnd, | ||
INT_4U | version | ||
) |
FrameCPP::Version_4::FrStatData::FrStatData | ( | const Previous::FrStatData & | Source, |
istream_type * | Stream | ||
) |
|
private |
|
inlineinherited |
|
inlineinherited |
|
virtual |
Number of bytes needed to write this structure.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Number of bytes needed to write this structure.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
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::Version_8::FrTOC, FrameCPP::Version_6::FrTOC, FrameCPP::Version_4::FrTOC, FrameCPP::Version_8::FrTOC, FrameCPP::Version_6::FrTOC, and FrameCPP::Version_4::FrTOC.
|
virtual |
constructor - virtual
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
constructor - virtual
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtualinherited |
constructor - virtual
Reimplemented in FrameCPP::Version_8::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrDetector, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrTOC, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrStatData, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrSH, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrDetector, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrTOC, checksum_type >, FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameH, checksum_type >, and FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrStatData, checksum_type >.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
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 |
Retrieve the class identifier.
|
protectedvirtualinherited |
Retrieve the class identifier.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inherited |
Retrieve the class identifier.
|
protectedvirtualinherited |
Retrieve the class identifier.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inlineinherited |
Retrieve the comment.
|
inherited |
Retrieve the comment.
|
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 |
|
inlinevirtual |
Implements FrameCPP::Common::FrStatData.
|
inlinevirtual |
Implements FrameCPP::Common::FrStatData.
|
inlineinherited |
Retrieve static data name.
|
inherited |
Retrieve static data name.
|
inlineinherited |
Retrieve the type of static data.
|
inherited |
Retrieve the type of static data.
|
inlineinherited |
Retrieve the end time.
|
inherited |
Retrieve the end time.
|
inlineinherited |
Retrieve the start time.
|
inherited |
Retrieve the start time.
|
inlineinherited |
Retrieve the version number.
|
inherited |
Retrieve the version number.
FrStatData & FrameCPP::Version_4::FrStatData::Merge | ( | const FrStatData & | RHS | ) |
FrStatData& FrameCPP::Version_4::FrStatData::Merge | ( | const FrStatData & | RHS | ) |
Merge with another FrAdcData.
|
virtual |
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.
|
virtual |
Comparison operator.
[in] | RHS | Object to compare for equality. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
virtual |
Comparison operator.
[in] | RHS | Object to compare for equality. |
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
inline |
Comparison operator.
[in] | RHS | Object to compare for equality. |
bool FrameCPP::Version_4::FrStatData::operator== | ( | const FrStatData & | RHS | ) | const |
Comparison operator.
[in] | RHS | Object to compare for equality. |
|
inlineinherited |
Comparison operator.
[in] | RHS | Object to compare for equality. |
|
inlineinherited |
|
inlinestatic |
|
static |
|
protectedvirtual |
Upgrade an object.
Implements FrameCPP::Common::FrameSpec::ObjectInterface.
|
protectedvirtual |
Upgrade an object.
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. |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
static |
|
static |
|
inlinestatic |
|
static |
|
inlineinherited |
|
inherited |
|
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_8::FrVect, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrameH, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrameH, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrVect, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrameH, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrameH, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrEndOfFile, and FrameCPP::Version_3::FrameH.
|
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_8::FrVect, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrameH, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrameH, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrVect, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrameH, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrameH, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrEndOfFile, and FrameCPP::Version_3::FrameH.
|
protectedvirtual |
Implements FrameCPP::Common::TOCInfo.
|
protectedvirtual |
Implements FrameCPP::Common::TOCInfo.
|
virtual |
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. |
|
static |
|
static |
|
privateinherited |
Storage for the class identifier.
The class identifier uniquely identifies the parent class within the frame specification. All instances of parent class will have the same class identifier.
|
protectedinherited |
|
privateinherited |
Description for parent class.
The description for the parent class composed of one FrSH and one or more FrSE elements.
|
protectedinherited |
|
staticinherited |
|
staticinherited |