ldas-tools-framecpp  2.9.3
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO Class Reference

#include <FrTOCSimEventClassicIO.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO:
Inheritance graph
[legend]
Collaboration diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO:
Collaboration graph
[legend]

Public Types

typedef INT_4U nevent_type
 
typedef INT_4U nevent_type
 
typedef INT_4U nevent_type
 
typedef STRING name_type
 
typedef STRING name_type
 
typedef STRING name_type
 
typedef INT_4U nTotalSEvent_type
 
typedef INT_4U nTotalSEvent_type
 
typedef INT_4U nTotalSEvent_type
 
typedef INT_4U gtimesSim_type
 
typedef INT_4U gtimesSim_type
 
typedef INT_4U gtimesSim_type
 
typedef INT_4U gtimenSim_type
 
typedef INT_4U gtimenSim_type
 
typedef INT_4U gtimenSim_type
 
typedef REAL_4 amplitudeSimEvent_type
 
typedef REAL_4 amplitudeSimEvent_type
 
typedef REAL_4 amplitudeSimEvent_type
 
typedef INT_8U positionSimEvent_type
 
typedef INT_8U positionSimEvent_type
 
typedef INT_8U positionSimEvent_type
 
typedef std::vector< event_typeevents_container_type
 
typedef std::vector< event_typeevents_container_type
 
typedef std::vector< event_typeevents_container_type
 
typedef std::map< name_type, events_container_typenameSimEvent_container_type
 
typedef std::map< name_type, events_container_typenameSimEvent_container_type
 
typedef std::map< name_type, events_container_typenameSimEvent_container_type
 

Public Member Functions

 FrTOCSimEventClassicIO ()=default
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void Load (istream_type &Stream)
 Read contents from stream. More...
 
void QuerySimEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimEvent being written. More...
 
const FrTOCSimEventClassicIOoperator= (const Previous::FrTOCSimEvent &Source)
 asignment operator More...
 
FrTOCSimEventClassicIOoperator= (FrTOCSimEventClassicIO &&TOC)
 
 FrTOCSimEventClassicIO ()=default
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void Load (istream_type &Stream)
 Read contents from stream. More...
 
void QuerySimEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimEvent being written. More...
 
const FrTOCSimEventClassicIOoperator= (const Previous::FrTOCSimEvent &Source)
 asignment operator More...
 
FrTOCSimEventClassicIOoperator= (FrTOCSimEventClassicIO &&TOC)
 
 FrTOCSimEventClassicIO ()=default
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void Load (istream_type &Stream)
 Read contents from stream. More...
 
void QuerySimEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimEvent being written. More...
 
const FrTOCSimEventClassicIOoperator= (const Previous::FrTOCSimEvent &Source)
 asignment operator More...
 
FrTOCSimEventClassicIOoperator= (FrTOCSimEventClassicIO &&TOC)
 
const nameSimEvent_container_typeGetSimEvent () const
 Return all events. More...
 
const nameSimEvent_container_typeGetSimEvent () const
 Return all events. More...
 
const nameSimEvent_container_typeGetSimEvent () const
 Return all events. More...
 

Static Public Member Functions

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

Static Public Attributes

static const int event_type_size
 
constexpr static INT_4U NO_DATA_AVAILABLE = 0xFFFFFFFF
 

Protected Member Functions

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

Protected Attributes

nameSimEvent_container_type m_info
 

Member Typedef Documentation

◆ amplitudeSimEvent_type [1/3]

◆ amplitudeSimEvent_type [2/3]

◆ amplitudeSimEvent_type [3/3]

◆ events_container_type [1/3]

◆ events_container_type [2/3]

◆ events_container_type [3/3]

◆ gtimenSim_type [1/3]

◆ gtimenSim_type [2/3]

◆ gtimenSim_type [3/3]

◆ gtimesSim_type [1/3]

◆ gtimesSim_type [2/3]

◆ gtimesSim_type [3/3]

◆ name_type [1/3]

◆ name_type [2/3]

◆ name_type [3/3]

◆ nameSimEvent_container_type [1/3]

◆ nameSimEvent_container_type [2/3]

◆ nameSimEvent_container_type [3/3]

◆ nevent_type [1/3]

◆ nevent_type [2/3]

◆ nevent_type [3/3]

◆ nTotalSEvent_type [1/3]

◆ nTotalSEvent_type [2/3]

◆ nTotalSEvent_type [3/3]

◆ positionSimEvent_type [1/3]

◆ positionSimEvent_type [2/3]

◆ positionSimEvent_type [3/3]

Constructor & Destructor Documentation

◆ FrTOCSimEventClassicIO() [1/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::FrTOCSimEventClassicIO ( )
default

◆ FrTOCSimEventClassicIO() [2/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::FrTOCSimEventClassicIO ( )
default

◆ FrTOCSimEventClassicIO() [3/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::FrTOCSimEventClassicIO ( )
default

Member Function Documentation

◆ Bytes() [1/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::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/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::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() [3/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::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() [1/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Description ( Common::Description Desc)
inlinestatic

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.

◆ Description() [2/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Description ( Common::Description Desc)
inlinestatic

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.

◆ Description() [3/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Description ( Common::Description Desc)
inlinestatic

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.

◆ GetSimEvent() [1/3]

const nameSimEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::GetSimEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrSimEvent elements.

◆ GetSimEvent() [2/3]

const nameSimEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::GetSimEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrSimEvent elements.

◆ GetSimEvent() [3/3]

const nameSimEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::GetSimEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrSimEvent elements.

◆ Load() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Load ( istream_type Stream)
inline

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ Load() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Load ( istream_type Stream)
inline

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ Load() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::Load ( istream_type Stream)
inline

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ operator=() [1/6]

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

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [2/6]

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

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [3/6]

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

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [4/6]

FrTOCSimEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::operator= ( FrTOCSimEventClassicIO &&  TOC)
inline

◆ operator=() [5/6]

FrTOCSimEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::operator= ( FrTOCSimEventClassicIO &&  TOC)
inline

◆ operator=() [6/6]

FrTOCSimEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::operator= ( FrTOCSimEventClassicIO &&  TOC)
inline

◆ positionSimEvent() [1/6]

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( const std::string &  SimEvent,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionSimEvent() [2/6]

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( const std::string &  SimEvent,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionSimEvent() [3/6]

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( const std::string &  SimEvent,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionSimEvent() [4/6]

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( INT_4U  Frame,
const std::string &  SimEvent 
) const
inlineprotectedinherited

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() [5/6]

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( INT_4U  Frame,
const std::string &  SimEvent 
) const
inlineprotectedinherited

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

positionSimEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::positionSimEvent ( INT_4U  Frame,
const std::string &  SimEvent 
) const
inlineprotectedinherited

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/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::QuerySimEvent ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

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/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::QuerySimEvent ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

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

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::QuerySimEvent ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

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/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

◆ write() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

◆ write() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

Member Data Documentation

◆ event_type_size

static const int FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::event_type_size
staticinherited
Initial value:
= sizeof( gtimesSim_type ) +
sizeof( gtimenSim_type ) + sizeof( amplitudeSimEvent_type ) +
INT_4U gtimenSim_type
Definition: FrTOCSimEventData.hh:45
INT_8U positionSimEvent_type
Definition: FrTOCSimEventData.hh:47
REAL_4 amplitudeSimEvent_type
Definition: FrTOCSimEventData.hh:46
INT_4U gtimesSim_type
Definition: FrTOCSimEventData.hh:44

◆ m_info

nameSimEvent_container_type FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::m_info
protectedinherited

◆ NO_DATA_AVAILABLE

constexpr static INT_4U FrameCPP::Version_8::FrTOCImpl::FrTOCSimEventData::NO_DATA_AVAILABLE = 0xFFFFFFFF
staticconstexprinherited

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