ldas-tools-framecpp 3.0.4
 
Loading...
Searching...
No Matches
FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO Class Reference

#include <FrTOCSerDataClassicIO.hh>

Inheritance diagram for FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO:
Collaboration diagram for FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO:

Classes

struct  byte_counter
 
struct  deflate
 
struct  inflate
 

Public Types

typedef INT_4U frame_count_type
 
typedef INT_4U frame_count_type
 
typedef INT_4U n_type
 
typedef INT_4U n_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_typeinfo_type
 
typedef std::vector< position_typeinfo_type
 
typedef std::map< name_type, info_typeMapSer_type
 
typedef std::map< name_type, info_typeMapSer_type
 
typedef std::vector< name_typekey_container_type
 
typedef std::vector< name_typekey_container_type
 

Public Member Functions

 FrTOCSerDataClassicIO ()=default
 
Common::FrameSpec::size_type Bytes (const stream_base_type &Stream) const
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream.
 
FrTOCSerDataClassicIOoperator= (const Previous::FrTOCImpl::FrTOCSerDataClassicIO &Source)
 
void QuerySer (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSerData being written.
 
 FrTOCSerDataClassicIO ()=default
 
Common::FrameSpec::size_type Bytes (const stream_base_type &Stream) const
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream.
 
FrTOCSerDataClassicIOoperator= (const Previous::FrTOCImpl::FrTOCSerDataClassicIO &Source)
 
void QuerySer (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrSerData being written.
 
const key_container_typeGetPositionKeys () const
 
const key_container_typeGetPositionKeys () const
 
const MapSer_typeGetSer () const
 Return all channels.
 
MapSer_type::const_iterator GetSer (const std::string &Channel) const
 Return the indexed data for a named channel.
 
MapSer_type::const_iterator GetSer (INT_4U Channel) const
 Return the indexed data for a named channel.
 
const MapSer_typeGetSer () const
 Return all channels.
 
MapSer_type::const_iterator GetSer (const std::string &Channel) const
 Return the indexed data for a named channel.
 
MapSer_type::const_iterator GetSer (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 STRING io_name_type
 
typedef std::vector< io_name_typeio_key_container_type
 
typedef STRING io_name_type
 
typedef std::vector< io_name_typeio_key_container_type
 

Protected Member Functions

const io_key_container_typeGetIOPositionKeys () const
 
void write (ostream_type &Stream) const
 Write the structure to the stream.
 
const io_key_container_typeGetIOPositionKeys () const
 
void write (ostream_type &Stream) const
 Write the structure to the stream.
 

Protected Attributes

io_key_container_type m_io_keys
 
key_container_type m_keys
 
MapSer_type m_info
 

Private Attributes

Common::FrTOC::cmn_name_container_type name_keys
 

Member Typedef Documentation

◆ frame_count_type [1/2]

◆ frame_count_type [2/2]

◆ info_type [1/2]

typedef std::vector< position_type > FrameCPP::v8::FrTOCSerData::info_type
inherited

◆ info_type [2/2]

typedef std::vector< position_type > FrameCPP::v8::FrTOCSerData::info_type
inherited

◆ io_key_container_type [1/2]

◆ io_key_container_type [2/2]

◆ io_name_type [1/2]

◆ io_name_type [2/2]

◆ key_container_type [1/2]

◆ key_container_type [2/2]

◆ MapSer_type [1/2]

◆ MapSer_type [2/2]

◆ n_type [1/2]

typedef INT_4U FrameCPP::v8::FrTOCSerData::n_type
inherited

◆ n_type [2/2]

typedef INT_4U FrameCPP::v8::FrTOCSerData::n_type
inherited

◆ name_type [1/2]

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

◆ name_type [2/2]

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

◆ position_type [1/2]

◆ position_type [2/2]

Constructor & Destructor Documentation

◆ FrTOCSerDataClassicIO() [1/2]

FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::FrTOCSerDataClassicIO ( )
default

◆ FrTOCSerDataClassicIO() [2/2]

FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::FrTOCSerDataClassicIO ( )
default

Member Function Documentation

◆ Bytes() [1/2]

Common::FrameSpec::size_type FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::Bytes ( const stream_base_type & Stream) const
inline

◆ Bytes() [2/2]

Common::FrameSpec::size_type FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::Bytes ( const stream_base_type & Stream) const
inline

◆ Description() [1/2]

template<typename SE>
static void FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::Description ( Common::Description & Desc)
inlinestatic

The description of 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_9::FrTOCImpl::FrTOCSerDataClassicIO::Description ( Common::Description & Desc)
inlinestatic

The description of structure.

Returns
A Description object which describes this structure as specified by the frame specification.

◆ GetIOPositionKeys() [1/2]

const io_key_container_type & FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::GetIOPositionKeys ( ) const
inlineprotected

◆ GetIOPositionKeys() [2/2]

const io_key_container_type & FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::GetIOPositionKeys ( ) const
inlineprotected

◆ GetPositionKeys() [1/2]

const key_container_type & FrameCPP::v8::FrTOCSerData::GetPositionKeys ( ) const
inlineinherited

◆ GetPositionKeys() [2/2]

const key_container_type & FrameCPP::v8::FrTOCSerData::GetPositionKeys ( ) const
inlineinherited

◆ GetSer() [1/6]

const MapSer_type & FrameCPP::v8::FrTOCSerData::GetSer ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrSerData elements.

◆ GetSer() [2/6]

const MapSer_type & FrameCPP::v8::FrTOCSerData::GetSer ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrSerData elements.

◆ GetSer() [3/6]

MapSer_type::const_iterator FrameCPP::v8::FrTOCSerData::GetSer ( 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 FrSerData element.

◆ GetSer() [4/6]

MapSer_type::const_iterator FrameCPP::v8::FrTOCSerData::GetSer ( 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 FrSerData element.

◆ GetSer() [5/6]

MapSer_type::const_iterator FrameCPP::v8::FrTOCSerData::GetSer ( 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 FrSerData element.

◆ GetSer() [6/6]

MapSer_type::const_iterator FrameCPP::v8::FrTOCSerData::GetSer ( 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 FrSerData element.

◆ Load() [1/2]

void FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::Load ( istream_type & Stream,
INT_4U FrameCount )
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/2]

void FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::Load ( istream_type & Stream,
INT_4U FrameCount )
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/2]

FrTOCSerDataClassicIO & FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::operator= ( const Previous::FrTOCImpl::FrTOCSerDataClassicIO & Source)
inline

◆ operator=() [2/2]

FrTOCSerDataClassicIO & FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::operator= ( const Previous::FrTOCImpl::FrTOCSerDataClassicIO & Source)
inline

◆ QuerySer() [1/2]

void FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::QuerySer ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )
inline

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

◆ QuerySer() [2/2]

void FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::QuerySer ( const Common::TOCInfo & Info,
INT_4U FrameOffset,
INT_8U Position )
inline

Gather TOC info for FrSerData 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_9::FrTOCImpl::FrTOCSerDataClassicIO::write ( ostream_type & 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_9::FrTOCImpl::FrTOCSerDataClassicIO::write ( ostream_type & 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

MapSer_type FrTOCSerData::m_info
protectedinherited

◆ m_io_keys

io_key_container_type FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::m_io_keys
protected

◆ m_keys

key_container_type FrTOCSerData::m_keys
protectedinherited

◆ name_keys

Common::FrTOC::cmn_name_container_type FrameCPP::Version_9::FrTOCImpl::FrTOCSerDataClassicIO::name_keys
private

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