Used for TOC optimization of channel offsets. More...
#include <FrTOC.hh>
Classes | |
class | input_iterator |
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 |
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) |
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. | |
void | setPositionsOffset (istream_type &Stream) |
bool | operator== (const PositionWithCache &RHS) const |
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. | |
void | setPositionsOffset (istream_type &Stream) |
bool | operator== (const PositionWithCache &RHS) const |
Protected Attributes | |
key_container_type | m_keys |
Map_type | m_info |
Private Types | |
typedef std::vector< position_type > | positions_cache_type |
typedef std::vector< position_type > | positions_cache_type |
Private Attributes | |
frame_count_type | frame_count |
positions_cache_type | positions_cache |
position_type | positions_cache_offset |
Used for TOC optimization of channel offsets.
typedef INT_4U FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::frame_count_type |
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< 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::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 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 INT_4U FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::n_type |
typedef TString FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::name_type |
typedef TString FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::name_type |
typedef TPosition FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::position_type |
typedef TPosition FrameCPP::Common::FrTOC::PositionWithCache< TString, TPosition >::position_type |
|
private |
|
private |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
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 |
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 |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
private |
|
protected |
|
protected |
|
private |
A cache of the positions of the FrAdcData structures within the stream.
|
private |
The number of bytes from the end of the stream where the array containing the FrAdcData offsets.