ldas-tools-framecpp
2.5.8
|
#include <FrTOCProcData.hh>
Public Types | |
typedef Common::FrTOC::PositionWithCache < STRING, FrTOCPosition::position_type > | base_type |
typedef FrTOCPosition::n_type | nproc_type |
typedef FrTOCPosition::position_type | position_type |
typedef FrTOCPosition::info_type | proc_info_type |
typedef FrTOCPosition::Map_type | MapProc_type |
typedef INT_4U | frame_count_type |
typedef INT_4U | n_type |
typedef STRING | name_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 | |
FrTOCProcData () | |
const MapProc_type & | GetProc () const |
MapProc_type::const_iterator | GetProc (const std::string &Name) const |
MapProc_type::const_iterator | GetProc (INT_4U index) const |
void | QueryProc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
bool | operator== (const FrTOCProcData &RHS) const |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
const key_container_type & | GetPositionKeys () const |
Static Public Member Functions | |
static void | Description (Common::Description &Desc) |
Protected Member Functions | |
FrTOCProcData (Common::IStream &Stream, INT_4U FrameCount) | |
void | forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const |
Iterate over contents. More... | |
void | write (Common::OStream &Stream) const |
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 |
typedef Common::FrTOC::PositionWithCache< STRING, FrTOCPosition::position_type> FrameCPP::Version_4::FrTOCProcData::base_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineprotected |
|
inlineinherited |
|
inlineprotectedinherited |
TOC optimization.
This method optimizes the TOC reading by only reading the structure offsets. Once read, it is moved into the structure.
|
static |
|
protected |
Iterate over contents.
[in] | Info | Specifies the type of information to be searched. |
[in] | Action | Action to be taken for each piece of information found. |
This method allows for iterting over each element of information and allows the caller to gather information about each element.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
bool FrameCPP::Version_4::FrTOCProcData::operator== | ( | const FrTOCProcData & | RHS | ) | const |
|
inlineprotectedinherited |
void FrameCPP::Version_4::FrTOCProcData::QueryProc | ( | const Common::TOCInfo & | Info, |
INT_4U | FrameOffset, | ||
INT_8U | Position | ||
) |
|
inlineprotectedinherited |
|
inlineprotected |
|
protectedinherited |
|
protectedinherited |