ldas-tools-framecpp 3.0.4
 
Loading...
Searching...
No Matches
FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO Class Reference

#include <FrTOCSimDataClassicIO.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO:
Collaboration diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO:

Public Types

typedef INT_4U nsim_type
 
typedef INT_4U nsim_type
 
typedef std::string name_type
 
typedef std::string name_type
 
typedef INT_8U position_type
 
typedef INT_8U position_type
 
typedef std::vector< position_typesim_info_type
 
typedef std::vector< position_typesim_info_type
 
typedef std::map< name_type, sim_info_typeMapSim_type
 
typedef std::map< name_type, sim_info_typeMapSim_type
 

Public Member Functions

 FrTOCSimDataClassicIO ()=default
 Default constructor.
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
void QuerySim (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimData being written.
 
const FrTOCSimDataClassicIOoperator= (const Previous::FrTOCSimData &Source)
 asignment operator
 
FrTOCSimDataClassicIOoperator= (FrTOCSimDataClassicIO &&TOC)
 
bool operator== (const FrTOCSimDataClassicIO &RHS) const
 equality operator
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream.
 
 FrTOCSimDataClassicIO ()=default
 Default constructor.
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
void QuerySim (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSimData being written.
 
const FrTOCSimDataClassicIOoperator= (const Previous::FrTOCSimData &Source)
 asignment operator
 
FrTOCSimDataClassicIOoperator= (FrTOCSimDataClassicIO &&TOC)
 
bool operator== (const FrTOCSimDataClassicIO &RHS) const
 equality operator
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream.
 
const MapSim_typeGetSim () const
 Return all channels.
 
MapSim_type::const_iterator GetSim (const std::string &Channel) const
 Return the indexed data for a named channel.
 
MapSim_type::const_iterator GetSim (INT_4U Channel) const
 Return the indexed data for a named channel.
 
const MapSim_typeGetSim () const
 Return all channels.
 
MapSim_type::const_iterator GetSim (const std::string &Channel) const
 Return the indexed data for a named channel.
 
MapSim_type::const_iterator GetSim (INT_4U Channel) const
 Return the indexed data for a named channel.
 

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 Types

typedef std::vector< name_typekey_container_type
 
typedef std::vector< name_typekey_container_type
 

Protected Member Functions

void forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const
 Iterate over contents.
 
void write (Common::OStream &Stream) const
 Write the structure to the stream.
 
void forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const
 Iterate over contents.
 
void write (Common::OStream &Stream) const
 Write the structure to the stream.
 

Protected Attributes

key_container_type m_keys
 
MapSim_type m_info
 

Member Typedef Documentation

◆ key_container_type [1/2]

typedef std::vector< name_type > FrameCPP::v8::FrTOCSimData::key_container_type
protectedinherited

◆ key_container_type [2/2]

typedef std::vector< name_type > FrameCPP::v8::FrTOCSimData::key_container_type
protectedinherited

◆ MapSim_type [1/2]

◆ MapSim_type [2/2]

◆ name_type [1/2]

typedef std::string FrameCPP::v8::FrTOCSimData::name_type
inherited

◆ name_type [2/2]

typedef std::string FrameCPP::v8::FrTOCSimData::name_type
inherited

◆ nsim_type [1/2]

typedef INT_4U FrameCPP::v8::FrTOCSimData::nsim_type
inherited

◆ nsim_type [2/2]

typedef INT_4U FrameCPP::v8::FrTOCSimData::nsim_type
inherited

◆ position_type [1/2]

◆ position_type [2/2]

◆ sim_info_type [1/2]

typedef std::vector< position_type > FrameCPP::v8::FrTOCSimData::sim_info_type
inherited

◆ sim_info_type [2/2]

typedef std::vector< position_type > FrameCPP::v8::FrTOCSimData::sim_info_type
inherited

Constructor & Destructor Documentation

◆ FrTOCSimDataClassicIO() [1/2]

FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::FrTOCSimDataClassicIO ( )
default

Default constructor.

◆ FrTOCSimDataClassicIO() [2/2]

FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::FrTOCSimDataClassicIO ( )
default

Default constructor.

Member Function Documentation

◆ Bytes() [1/2]

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

template<typename SE>
static void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::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/2]

template<typename SE>
static void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::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.

◆ forEach() [1/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::forEach ( Common::FrTOC::query_info_type Info,
Common::FrTOC::FunctionBase & Action ) const
inlineprotected

Iterate over contents.

Parameters
[in]InfoSpecifies the type of information to be searched.
[in]ActionAction to be taken for each piece of information found.

◆ forEach() [2/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::forEach ( Common::FrTOC::query_info_type Info,
Common::FrTOC::FunctionBase & Action ) const
inlineprotected

Iterate over contents.

Parameters
[in]InfoSpecifies the type of information to be searched.
[in]ActionAction to be taken for each piece of information found.

◆ GetSim() [1/6]

const MapSim_type & FrameCPP::v8::FrTOCSimData::GetSim ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrSimData elements.

◆ GetSim() [2/6]

const MapSim_type & FrameCPP::v8::FrTOCSimData::GetSim ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrSimData elements.

◆ GetSim() [3/6]

MapSim_type::const_iterator FrameCPP::v8::FrTOCSimData::GetSim ( const std::string & Channel) const
inlineinherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe name of the channel.
Returns
Constant iterator to the indexed FrSimData element.

◆ GetSim() [4/6]

MapSim_type::const_iterator FrameCPP::v8::FrTOCSimData::GetSim ( const std::string & Channel) const
inlineinherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe name of the channel.
Returns
Constant iterator to the indexed FrSimData element.

◆ GetSim() [5/6]

MapSim_type::const_iterator FrameCPP::v8::FrTOCSimData::GetSim ( INT_4U Channel) const
inlineinherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe numeric offset of the channel.
Returns
Constant iterator to the indexed FrSimData element.

◆ GetSim() [6/6]

MapSim_type::const_iterator FrameCPP::v8::FrTOCSimData::GetSim ( INT_4U Channel) const
inlineinherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe numeric offset of the channel.
Returns
Constant iterator to the indexed FrSimData element.

◆ Load() [1/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::Load ( istream_type & Stream,
INT_4U FrameCount )

Read contents from stream.

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

◆ Load() [2/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::Load ( istream_type & Stream,
INT_4U FrameCount )

Read contents from stream.

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

◆ operator=() [1/4]

const FrTOCSimDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::operator= ( const Previous::FrTOCSimData & Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [2/4]

const FrTOCSimDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::operator= ( const Previous::FrTOCSimData & Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [3/4]

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

◆ operator=() [4/4]

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

◆ operator==() [1/2]

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

◆ QuerySim() [1/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::QuerySim ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )
inline

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

◆ QuerySim() [2/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::QuerySim ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )
inline

Gather TOC info for FrSimData 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::FrTOCImpl::FrTOCSimDataClassicIO::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/2]

void FrameCPP::Version_8::FrTOCImpl::FrTOCSimDataClassicIO::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

◆ m_info

MapSim_type FrameCPP::v8::FrTOCSimData::m_info
protectedinherited

◆ m_keys

key_container_type FrameCPP::v8::FrTOCSimData::m_keys
protectedinherited

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