ldas-tools-framecpp  2.6.2
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FrameCPP::Version_8::FrTOCStatData Class Reference

Indexed elements of the FrSimData structure. More...

#include <FrTOCStatData.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCStatData:
FrameCPP::Version_8::FrTOC

Classes

struct  stat_instance_type
 
struct  stat_type
 

Public Types

typedef STRING name_type
 
typedef INT_4U nstat_type
 
typedef STRING detector_type
 
typedef INT_4U nstat_instance_type
 
typedef INT_4U tstart_type
 
typedef INT_4U tend_type
 
typedef INT_4U version_type
 
typedef INT_8U positionStat_type
 
typedef std::vector< stat_instance_typestat_instance_container_type
 
typedef std::map< name_type, stat_typestat_container_type
 

Public Member Functions

 FrTOCStatData ()
 Default constructor. More...
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
const stat_container_typeGetStat () const
 Return all channels. More...
 
INT_4U GetNTotalStat () const
 Return number of FrStatData structures. More...
 
const FrTOCStatDataoperator= (const Previous::FrTOCStatData &Source)
 asignment operator More...
 
bool operator== (const FrTOCStatData &RHS) const
 equality operator More...
 
void QueryStatData (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrStatData being written. More...
 

Static Public Member Functions

template<typename SE >
static void Description (Common::Description &Desc)
 The description of structure. More...
 

Protected Member Functions

 FrTOCStatData (Common::IStream &Stream)
 Stream constructor. More...
 
void write (Common::OStream &Stream) const
 Write the structure to the stream. More...
 

Protected Attributes

stat_container_type m_info
 

Detailed Description

Indexed elements of the FrSimData structure.

Member Typedef Documentation

◆ detector_type

◆ name_type

◆ nstat_instance_type

◆ nstat_type

◆ positionStat_type

◆ stat_container_type

◆ stat_instance_container_type

◆ tend_type

◆ tstart_type

◆ version_type

Constructor & Destructor Documentation

◆ FrTOCStatData() [1/2]

FrameCPP::Version_8::FrTOCStatData::FrTOCStatData ( )

Default constructor.

◆ FrTOCStatData() [2/2]

FrameCPP::Version_8::FrTOCStatData::FrTOCStatData ( Common::IStream Stream)
protected

Stream constructor.

Parameters
[in]StreamThe input stream from where the object is being read.

Member Function Documentation

◆ Bytes()

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCStatData::Bytes ( const Common::StreamBase Stream) const
inline

Number of bytes needed to write this structure.

Parameters
[in]StreamThe stream from which to the object is being read or written.
Returns
The number of bytes need to read or write this object.

◆ Description()

template<typename SE >
void FrameCPP::Version_8::FrTOCStatData::Description ( Common::Description Desc)
static

The description of structure.

Parameters
[out]DescStorage for the description of the structure.
Returns
A Description object which describes this structure as specified by the frame specification.

◆ GetNTotalStat()

INT_4U FrameCPP::Version_8::FrTOCStatData::GetNTotalStat ( ) const
inline

Return number of FrStatData structures.

Returns
The number of FrStatData structures.

◆ GetStat()

const FrTOCStatData::stat_container_type & FrameCPP::Version_8::FrTOCStatData::GetStat ( ) const
inline

Return all channels.

Returns
Constant container to the indexed FrStatData elements.

◆ operator=()

const FrTOCStatData & FrameCPP::Version_8::FrTOCStatData::operator= ( const Previous::FrTOCStatData &  Source)

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator==()

bool FrameCPP::Version_8::FrTOCStatData::operator== ( const FrTOCStatData RHS) const

equality operator

Parameters
[in]RHSThe FrTOCAdcData object to be compared.
Returns
The value true is returned if this object is equivelent to the RHS instance; false otherwise.

◆ QueryStatData()

void FrameCPP::Version_8::FrTOCStatData::QueryStatData ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)

Gather TOC info for FrStatData being written.

Parameters
[in]InfoInformation
[in]FrameOffsetThe frame offset of the frame being written. The frame offsets start at 0 (zero).
[in]PositionThe byte offset from the start of the file where the structure is written.

◆ write()

void FrameCPP::Version_8::FrTOCStatData::write ( Common::OStream Stream) const
protected

Write the structure to the stream.

Parameters
[in]StreamThe output stream where the object is to be written.

Member Data Documentation

◆ m_info

stat_container_type FrameCPP::Version_8::FrTOCStatData::m_info
protected

The documentation for this class was generated from the following files: