ldas-tools-framecpp  2.8.1
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::FrTOCEventClassicIO Class Reference

#include <FrTOCEventClassicIO.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO:
Inheritance graph
[legend]
Collaboration diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO:
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 nTotalEvent_type
 
typedef INT_4U nTotalEvent_type
 
typedef INT_4U nTotalEvent_type
 
typedef INT_4U gtimesEvent_type
 
typedef INT_4U gtimesEvent_type
 
typedef INT_4U gtimesEvent_type
 
typedef INT_4U gtimenEvent_type
 
typedef INT_4U gtimenEvent_type
 
typedef INT_4U gtimenEvent_type
 
typedef REAL_4 amplitudeEvent_type
 
typedef REAL_4 amplitudeEvent_type
 
typedef REAL_4 amplitudeEvent_type
 
typedef INT_8U positionEvent_type
 
typedef INT_8U positionEvent_type
 
typedef INT_8U positionEvent_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_typenameEvent_container_type
 
typedef std::map< name_type, events_container_typenameEvent_container_type
 
typedef std::map< name_type, events_container_typenameEvent_container_type
 

Public Member Functions

 FrTOCEventClassicIO ()=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 QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrEvent being written. More...
 
const FrTOCEventClassicIOoperator= (const Previous::FrTOCEvent &Source)
 asignment operator More...
 
FrTOCEventClassicIOoperator= (FrTOCEventClassicIO &&TOC)
 
 FrTOCEventClassicIO ()=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 QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrEvent being written. More...
 
const FrTOCEventClassicIOoperator= (const Previous::FrTOCEvent &Source)
 asignment operator More...
 
FrTOCEventClassicIOoperator= (FrTOCEventClassicIO &&TOC)
 
 FrTOCEventClassicIO ()=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 QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrEvent being written. More...
 
const FrTOCEventClassicIOoperator= (const Previous::FrTOCEvent &Source)
 asignment operator More...
 
FrTOCEventClassicIOoperator= (FrTOCEventClassicIO &&TOC)
 
const nameEvent_container_typeGetEvent () const
 Return all events. More...
 
const nameEvent_container_typeGetEvent () const
 Return all events. More...
 
const nameEvent_container_typeGetEvent () 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...
 
positionEvent_type positionEvent (INT_4U Frame, const std::string &Event) const
 Locate the position of the event. More...
 
positionEvent_type positionEvent (const std::string &Event, INT_4U Index) const
 
positionEvent_type positionEvent (INT_4U Frame, const std::string &Event) const
 Locate the position of the event. More...
 
positionEvent_type positionEvent (const std::string &Event, INT_4U Index) const
 
positionEvent_type positionEvent (INT_4U Frame, const std::string &Event) const
 Locate the position of the event. More...
 
positionEvent_type positionEvent (const std::string &Event, INT_4U Index) const
 

Protected Attributes

nameEvent_container_type m_info
 

Member Typedef Documentation

◆ amplitudeEvent_type [1/3]

◆ amplitudeEvent_type [2/3]

◆ amplitudeEvent_type [3/3]

◆ events_container_type [1/3]

◆ events_container_type [2/3]

◆ events_container_type [3/3]

◆ gtimenEvent_type [1/3]

◆ gtimenEvent_type [2/3]

◆ gtimenEvent_type [3/3]

◆ gtimesEvent_type [1/3]

◆ gtimesEvent_type [2/3]

◆ gtimesEvent_type [3/3]

◆ name_type [1/3]

◆ name_type [2/3]

◆ name_type [3/3]

◆ nameEvent_container_type [1/3]

◆ nameEvent_container_type [2/3]

◆ nameEvent_container_type [3/3]

◆ nevent_type [1/3]

◆ nevent_type [2/3]

◆ nevent_type [3/3]

◆ nTotalEvent_type [1/3]

◆ nTotalEvent_type [2/3]

◆ nTotalEvent_type [3/3]

◆ positionEvent_type [1/3]

◆ positionEvent_type [2/3]

◆ positionEvent_type [3/3]

Constructor & Destructor Documentation

◆ FrTOCEventClassicIO() [1/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::FrTOCEventClassicIO ( )
default

◆ FrTOCEventClassicIO() [2/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::FrTOCEventClassicIO ( )
default

◆ FrTOCEventClassicIO() [3/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::FrTOCEventClassicIO ( )
default

Member Function Documentation

◆ Bytes() [1/3]

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

◆ GetEvent() [1/3]

const nameEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::GetEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrEvent elements.

◆ GetEvent() [2/3]

const nameEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::GetEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrEvent elements.

◆ GetEvent() [3/3]

const nameEvent_container_type& FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::GetEvent ( ) const
inlineinherited

Return all events.

Returns
Constant container to the indexed FrEvent elements.

◆ Load() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::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::FrTOCEventClassicIO::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::FrTOCEventClassicIO::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 FrTOCEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::operator= ( const Previous::FrTOCEvent &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [2/6]

const FrTOCEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::operator= ( const Previous::FrTOCEvent &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [3/6]

const FrTOCEventClassicIO& FrameCPP::Version_8::FrTOCImpl::FrTOCEventClassicIO::operator= ( const Previous::FrTOCEvent &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [4/6]

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

◆ operator=() [5/6]

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

◆ operator=() [6/6]

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

◆ positionEvent() [1/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( const std::string &  Event,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionEvent() [2/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( const std::string &  Event,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionEvent() [3/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( const std::string &  Event,
INT_4U  Index 
) const
inlineprotectedinherited

◆ positionEvent() [4/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( INT_4U  Frame,
const std::string &  Event 
) const
inlineprotectedinherited

Locate the position of the event.

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

◆ positionEvent() [5/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( INT_4U  Frame,
const std::string &  Event 
) const
inlineprotectedinherited

Locate the position of the event.

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

◆ positionEvent() [6/6]

positionEvent_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::positionEvent ( INT_4U  Frame,
const std::string &  Event 
) const
inlineprotectedinherited

Locate the position of the event.

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

◆ QueryEvent() [1/3]

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

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

◆ QueryEvent() [2/3]

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

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

◆ QueryEvent() [3/3]

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

Gather TOC info for FrEvent 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::FrTOCEventClassicIO::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::FrTOCEventClassicIO::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::FrTOCEventClassicIO::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::FrTOCEventData::event_type_size
staticinherited
Initial value:
= sizeof( gtimesEvent_type ) +
sizeof( gtimenEvent_type ) + sizeof( amplitudeEvent_type ) +
REAL_4 amplitudeEvent_type
Definition: FrTOCEventData.hh:46
INT_8U positionEvent_type
Definition: FrTOCEventData.hh:47
INT_4U gtimesEvent_type
Definition: FrTOCEventData.hh:44
INT_4U gtimenEvent_type
Definition: FrTOCEventData.hh:45

◆ m_info

nameEvent_container_type FrameCPP::Version_8::FrTOCImpl::FrTOCEventData::m_info
protectedinherited

◆ NO_DATA_AVAILABLE

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

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