ldas-tools-framecpp 2.7.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
FrameCPP::Version_8::FrTOCSimEvent Class Reference

Indexed elements of the FrSimEvent structure. More...

#include <FrTOCSimEvent.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCSimEvent:
Inheritance graph
[legend]

Public Member Functions

 FrTOCSimEvent ()
 Default constructor.
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
const nameSimEvent_container_type & GetSimEvent () const
 Return all events.
 
void QuerySimEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimEvent being written.
 
const FrTOCSimEventoperator= (const Previous::FrTOCSimEvent &Source)
 asignment operator
 
bool operator== (const FrTOCSimEvent &RHS) const
 equality operator
 
 FrTOCSimEvent ()
 Default constructor.
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
const nameSimEvent_container_type & GetSimEvent () const
 Return all events.
 
void QuerySimEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimEvent being written.
 
const FrTOCSimEventoperator= (const Previous::FrTOCSimEvent &Source)
 asignment operator
 
bool operator== (const FrTOCSimEvent &RHS) const
 equality operator
 

Static Public Member Functions

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

Protected Member Functions

 FrTOCSimEvent (Common::IStream &Stream)
 Stream constructor.
 
positionSimEvent_type positionSimEvent (INT_4U Frame, const std::string &SimEvent) const
 Locate the position of the event.
 
positionSimEvent_type positionSimEvent (const std::string &EventType, INT_4U Index) const
 Locate the position of the event.
 
void write (Common::OStream &Stream) const
 Write the structure to the stream.
 
 FrTOCSimEvent (Common::IStream &Stream)
 Stream constructor.
 
positionSimEvent_type positionSimEvent (INT_4U Frame, const std::string &SimEvent) const
 Locate the position of the event.
 
positionSimEvent_type positionSimEvent (const std::string &EventType, INT_4U Index) const
 Locate the position of the event.
 
void write (Common::OStream &Stream) const
 Write the structure to the stream.
 

Detailed Description

Indexed elements of the FrSimEvent structure.

Constructor & Destructor Documentation

◆ FrTOCSimEvent() [1/2]

FrameCPP::Version_8::FrTOCSimEvent::FrTOCSimEvent ( Common::IStream & Stream)
protected

Stream constructor.

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

◆ FrTOCSimEvent() [2/2]

FrameCPP::Version_8::FrTOCSimEvent::FrTOCSimEvent ( Common::IStream & Stream)
protected

Stream constructor.

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

Member Function Documentation

◆ Bytes() [1/2]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCSimEvent::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.

◆ Bytes() [2/2]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCSimEvent::Bytes ( const Common::StreamBase & Stream) const

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() [1/2]

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

The description of structure.

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

◆ Description() [2/2]

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

The description of structure.

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

◆ GetSimEvent() [1/2]

const FrTOCSimEvent::nameSimEvent_container_type & FrameCPP::Version_8::FrTOCSimEvent::GetSimEvent ( ) const
inline

Return all events.

Returns
Constant container to the indexed FrSimEvent elements.

◆ GetSimEvent() [2/2]

const nameSimEvent_container_type & FrameCPP::Version_8::FrTOCSimEvent::GetSimEvent ( ) const

Return all events.

Returns
Constant container to the indexed FrSimEvent elements.

◆ operator=() [1/2]

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

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [2/2]

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

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator==() [1/2]

bool FrameCPP::Version_8::FrTOCSimEvent::operator== ( const FrTOCSimEvent & 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.

◆ operator==() [2/2]

bool FrameCPP::Version_8::FrTOCSimEvent::operator== ( const FrTOCSimEvent & 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.

◆ positionSimEvent() [1/4]

FrTOCSimEvent::positionSimEvent_type FrameCPP::Version_8::FrTOCSimEvent::positionSimEvent ( const std::string & EventType,
INT_4U Index ) const
protected

Locate the position of the event.

Parameters
[in]EventTypeThe name of the event.
[in]IndexOffset of the event.
Returns
The file position of the requested event.

◆ positionSimEvent() [2/4]

positionSimEvent_type FrameCPP::Version_8::FrTOCSimEvent::positionSimEvent ( const std::string & EventType,
INT_4U Index ) const
protected

Locate the position of the event.

Parameters
[in]EventTypeThe name of the event.
[in]IndexOffset of the event.
Returns
The file position of the requested event.

◆ positionSimEvent() [3/4]

FrTOCSimEvent::positionSimEvent_type FrameCPP::Version_8::FrTOCSimEvent::positionSimEvent ( INT_4U Frame,
const std::string & SimEvent ) const
protected

Locate the position of the event.

Parameters
[in]FrameFrame offset of the event.
[in]SimEventThe name of the event.
Returns
The file position of the requested event.

◆ positionSimEvent() [4/4]

positionSimEvent_type FrameCPP::Version_8::FrTOCSimEvent::positionSimEvent ( INT_4U Frame,
const std::string & SimEvent ) const
protected

Locate the position of the event.

Parameters
[in]FrameFrame offset of the event.
[in]SimEventThe name of the event.
Returns
The file position of the requested event.

◆ QuerySimEvent() [1/2]

void FrameCPP::Version_8::FrTOCSimEvent::QuerySimEvent ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )

Gather TOC info for FrSimEvent 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.

◆ QuerySimEvent() [2/2]

void FrameCPP::Version_8::FrTOCSimEvent::QuerySimEvent ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )

Gather TOC info for FrSimEvent 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() [1/2]

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

Write the structure to the stream.

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

◆ write() [2/2]

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

Write the structure to the stream.

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

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