ldas-tools-framecpp 2.9.2
|
#include <FrTOCProcDataClassicIO.hh>
Classes | |
class | input_iterator |
Public Types | |
typedef INT_4U | nproc_type |
typedef INT_4U | nproc_type |
typedef INT_4U | nproc_type |
typedef STRING | name_type |
typedef STRING | name_type |
typedef STRING | name_type |
typedef INT_8U | position_type |
typedef INT_8U | position_type |
typedef INT_8U | position_type |
typedef std::vector< position_type > | proc_info_type |
typedef std::vector< position_type > | proc_info_type |
typedef std::vector< position_type > | proc_info_type |
typedef std::map< name_type, proc_info_type > | MapProc_type |
typedef std::map< name_type, proc_info_type > | MapProc_type |
typedef std::map< name_type, proc_info_type > | MapProc_type |
Public Member Functions | |
FrTOCProcDataClassicIO ()=default | |
Default constructor. More... | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
void | QueryProc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
Gather TOC info for FrProcData being written. More... | |
const FrTOCProcDataClassicIO & | operator= (const Previous::FrTOCProcData &Source) |
asignment operator More... | |
FrTOCProcDataClassicIO & | operator= (FrTOCProcDataClassicIO &&TOC) |
bool | operator== (const FrTOCProcDataClassicIO &RHS) const |
equality operator More... | |
void | Load (istream_type &Stream, INT_4U FrameCount) |
Read contents from stream. More... | |
FrTOCProcDataClassicIO ()=default | |
Default constructor. More... | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
void | QueryProc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
Gather TOC info for FrProcData being written. More... | |
const FrTOCProcDataClassicIO & | operator= (const Previous::FrTOCProcData &Source) |
asignment operator More... | |
FrTOCProcDataClassicIO & | operator= (FrTOCProcDataClassicIO &&TOC) |
bool | operator== (const FrTOCProcDataClassicIO &RHS) const |
equality operator More... | |
void | Load (istream_type &Stream, INT_4U FrameCount) |
Read contents from stream. More... | |
FrTOCProcDataClassicIO ()=default | |
Default constructor. More... | |
Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. More... | |
void | QueryProc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
Gather TOC info for FrProcData being written. More... | |
const FrTOCProcDataClassicIO & | operator= (const Previous::FrTOCProcData &Source) |
asignment operator More... | |
FrTOCProcDataClassicIO & | operator= (FrTOCProcDataClassicIO &&TOC) |
bool | operator== (const FrTOCProcDataClassicIO &RHS) const |
equality operator More... | |
void | Load (istream_type &Stream, INT_4U FrameCount) |
Read contents from stream. More... | |
const key_container_type & | GetKeys () const |
Retrieve the keys. More... | |
const key_container_type & | GetKeys () const |
Retrieve the keys. More... | |
const key_container_type & | GetKeys () const |
Retrieve the keys. More... | |
const MapProc_type & | GetProc () const |
Return all channels. More... | |
MapProc_type::const_iterator | GetProc (const std::string &Channel) const |
Return the indexed data for a named channel. More... | |
MapProc_type::const_iterator | GetProc (INT_4U Channel) const |
Return the indexed data for a named channel. More... | |
const MapProc_type & | GetProc () const |
Return all channels. More... | |
MapProc_type::const_iterator | GetProc (const std::string &Channel) const |
Return the indexed data for a named channel. More... | |
MapProc_type::const_iterator | GetProc (INT_4U Channel) const |
Return the indexed data for a named channel. More... | |
const MapProc_type & | GetProc () const |
Return all channels. More... | |
MapProc_type::const_iterator | GetProc (const std::string &Channel) const |
Return the indexed data for a named channel. More... | |
MapProc_type::const_iterator | GetProc (INT_4U Channel) const |
Return the indexed data for a named channel. More... | |
Static Public Member Functions | |
template<typename SE > | |
static void | Description (Common::Description &Desc) |
The description of structure. More... | |
template<typename SE > | |
static void | Description (Common::Description &Desc) |
The description of structure. More... | |
template<typename SE > | |
static void | Description (Common::Description &Desc) |
The description of structure. More... | |
Protected Member Functions | |
void | cachePositions (istream_type &Stream) |
TOC optimization. More... | |
void | forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const |
Iterate over contents. More... | |
void | setPositionsOffset (istream_type &Stream) |
void | write (Common::OStream &Stream) const |
Write the structure to the stream. More... | |
void | cachePositions (istream_type &Stream) |
TOC optimization. More... | |
void | forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const |
Iterate over contents. More... | |
void | setPositionsOffset (istream_type &Stream) |
void | write (Common::OStream &Stream) const |
Write the structure to the stream. More... | |
void | cachePositions (istream_type &Stream) |
TOC optimization. More... | |
void | forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const |
Iterate over contents. More... | |
void | setPositionsOffset (istream_type &Stream) |
void | write (Common::OStream &Stream) const |
Write the structure to the stream. More... | |
Protected Attributes | |
key_container_type | m_keys |
MapProc_type | m_info |
Private Types | |
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 std::vector< position_type > | positions_cache_type |
typedef INT_4U | frame_count_type |
typedef INT_4U | n_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 std::vector< position_type > | positions_cache_type |
typedef INT_4U | frame_count_type |
typedef INT_4U | n_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 std::vector< position_type > | positions_cache_type |
typedef INT_4U | frame_count_type |
typedef INT_4U | n_type |
Private Attributes | |
frame_count_type | frame_count { 0 } |
positions_cache_type | positions_cache |
position_type | positions_cache_offset { 0 } |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inherited |
|
inherited |
|
inherited |
|
private |
|
private |
|
private |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
private |
|
private |
|
private |
|
inherited |
|
inherited |
|
inherited |
|
default |
Default constructor.
|
default |
Default constructor.
|
default |
Default constructor.
|
inline |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
|
inline |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
|
inline |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
|
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 |
TOC optimization.
This method optimizes the TOC reading by only reading the structure offsets. Once read, it is moved into the structure.
|
inlinestatic |
The description of structure.
[out] | Desc | Storage for the description of the structure. |
|
inlinestatic |
The description of structure.
[out] | Desc | Storage for the description of the structure. |
|
inlinestatic |
The description of structure.
[out] | Desc | Storage for the description of the structure. |
|
inlineprotected |
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. |
|
inlineprotected |
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. |
|
inlineprotected |
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. |
|
inlineinherited |
Retrieve the keys.
|
inlineinherited |
Retrieve the keys.
|
inlineinherited |
Retrieve the keys.
|
inlineinherited |
Return all channels.
|
inlineinherited |
Return all channels.
|
inlineinherited |
Return all channels.
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The name of the channel. |
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The name of the channel. |
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The name of the channel. |
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The numeric offset of the channel. |
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The numeric offset of the channel. |
|
inlineinherited |
Return the indexed data for a named channel.
[in] | Channel | The numeric offset of the channel. |
void FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::Load | ( | istream_type & | Stream, |
INT_4U | FrameCount | ||
) |
Read contents from stream.
[in] | Stream | The stream from which the object is being read. |
void FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::Load | ( | istream_type & | Stream, |
INT_4U | FrameCount | ||
) |
Read contents from stream.
[in] | Stream | The stream from which the object is being read. |
void FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::Load | ( | istream_type & | Stream, |
INT_4U | FrameCount | ||
) |
Read contents from stream.
[in] | Stream | The stream from which the object is being read. |
|
inline |
asignment operator
[in] | Source | The source to be copied. |
|
inline |
asignment operator
[in] | Source | The source to be copied. |
|
inline |
asignment operator
[in] | Source | The source to be copied. |
|
inline |
|
inline |
|
inline |
bool FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::operator== | ( | const FrTOCProcDataClassicIO & | RHS | ) | const |
equality operator
[in] | RHS | The FrTOCProcData object to be compared. |
bool FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::operator== | ( | const FrTOCProcDataClassicIO & | RHS | ) | const |
equality operator
[in] | RHS | The FrTOCProcData object to be compared. |
bool FrameCPP::Version_8::FrTOCImpl::FrTOCProcDataClassicIO::operator== | ( | const FrTOCProcDataClassicIO & | RHS | ) | const |
equality operator
[in] | RHS | The FrTOCProcData object to be compared. |
|
inline |
Gather TOC info for FrProcData being written.
[in] | Info | Information |
[in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
[in] | Position | The byte offset from the start of the file where the structure is written. |
|
inline |
Gather TOC info for FrProcData being written.
[in] | Info | Information |
[in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
[in] | Position | The byte offset from the start of the file where the structure is written. |
|
inline |
Gather TOC info for FrProcData being written.
[in] | Info | Information |
[in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
[in] | Position | The byte offset from the start of the file where the structure is written. |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
|
inlineprotected |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
|
inlineprotected |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
|
private |
|
protectedinherited |
|
protectedinherited |
|
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.