ldas-tools-framecpp
2.5.8
|
Used for TOC optimization of channel offsets. More...
#include <FrTOC.hh>
Public Types | |
typedef INT_4U | frame_count_type |
typedef INT_4U | n_type |
typedef TString | name_type |
typedef TPosition | position_type |
typedef std::vector < position_type > | info_type |
typedef std::map< name_type, info_type > | Map_type |
typedef std::vector< name_type > | key_container_type |
Public Member Functions | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
const key_container_type & | GetPositionKeys () const |
void | write (Common::OStream &Stream) const |
const PositionWithCache & | operator= (const PositionWithCache &Source) |
Protected Member Functions | |
PositionWithCache () | |
PositionWithCache (Common::IStream &Stream, frame_count_type FrameCount) | |
const Map_type & | getInfo () const |
Map_type::const_iterator | getInfo (const std::string &Name) const |
Map_type::const_iterator | getInfo (INT_4U Index) const |
void | cachePositions (istream_type &Stream) |
TOC optimization. More... | |
void | setPositionsOffset (istream_type &Stream) |
bool | operator== (const PositionWithCache &RHS) const |
Protected Attributes | |
key_container_type | m_keys |
Map_type | m_info |
Used for TOC optimization of channel offsets.
typedef INT_4U FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::frame_count_type |
typedef std::vector< position_type > FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::info_type |
typedef std::vector< name_type > FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::key_container_type |
typedef std::map< name_type, info_type > FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::Map_type |
typedef INT_4U FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::n_type |
typedef TString FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::name_type |
typedef TPosition FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::position_type |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
TOC optimization.
This method optimizes the TOC reading by only reading the structure offsets. Once read, it is moved into the structure.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
protected |
|
protected |