ldas-tools-framecpp
2.5.8
|
#include <FrameStream.hh>
Public Types | |
typedef IStream::buffer_type | buffer_type |
typedef INT_4U | size_type |
typedef FrHeader::frame_library_type | frame_library_type |
typedef FrHeader::library_revision_type | library_revision_type |
typedef FrameSpec::version_type | version_type |
typedef const StreamRefInterface * | streamref_interface_type |
typedef INT_4U | fr_event_offset_type |
typedef INT_4U | fr_sim_event_offset_type |
typedef LDASTools::AL::SharedPtr< FrameSpec::Object > | object_type |
Public Member Functions | |
IFrameStream (buffer_type *Stream, INT_2U Version=FRAME_SPEC_CURRENT) | |
IFrameStream (bool AutoDelete, buffer_type *Stream, INT_2U Version=FRAME_SPEC_CURRENT) | |
virtual void | Cleanup () |
size_type | GetCurrentFrameOffset () const |
Retrieve the current frame. More... | |
virtual const FrHeader & | GetFrHeader () const |
const FrTOC * | GetTOC () const |
size_type | GetNumberOfFrames () const |
FrameSpec::Info::verification_func_type | VerificationFunc () const |
object_type | Read () |
object_type | ReadNextFrameAsObject () |
object_type | ReadDetector (const std::string &Name) |
Read the detector via the table of contents. More... | |
object_type | ReadFrame (bool Decompress=false) |
object_type | ReadFrameN (INT_4U FrameIndex, bool Decompress=false) |
object_type | ReadFrameNSubset (INT_4U FrameIndex, INT_4U ElementMask) |
IFrameStream::object_type | ReadFrStatData (INT_8U Position) |
Read FrStatData at a given postion in the stream. More... | |
INT_4U | ReadFrStatData (const std::string &NamePattern, const std::string &DetectorPattern, const LDASTools::AL::GPSTime &StartTime, const LDASTools::AL::GPSTime &EndTime, const INT_4U Version, FrStatData::Query &QueryResults) |
void | SetAutoDeleteBuffer (const bool AutoDelete) |
void | SetCheckSumFile (const CheckSum::kind_type Type) |
void | SetMD5Sum (bool Value) |
void | VerifyHeader (Verify &Verifier) |
frame_library_type | FrameLibrary () const |
library_revision_type | LibraryRevision () const |
version_type | Version () const |
const std::string & | GetLastError () const |
const MD5Sum & | GetMD5Sum () const |
Protected Types | |
typedef LDASTools::AL::SharedPtr< FrTOC > | toc_type |
typedef const Dictionary::streamref_type::element_type * | const_stream_ref_ptr_type |
typedef Dictionary::streamref_type | streamref_type |
typedef std::unique_ptr< CheckSumFilter > | checksum_filter_type |
typedef std::unique_ptr< MD5SumFilter > | md5sum_filter_type |
typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > | streamid_to_fsiid_type |
typedef LDASTools::AL::SharedPtr< PTR_STRUCT_BASE > | ptr_struct_base_type |
typedef std::istream::char_type | char_type |
typedef std::istream | istream_type |
typedef LDASTools::AL::SharedPtr< resolver > | resolver_type |
typedef std::list< resolver_type > | resolver_container_type |
Protected Member Functions | |
virtual ptr_struct_base_type | Next (object_type::element_type *Obj) |
object_type | advanceToFrame (INT_4U Frame) |
object_type | readFrameHSubset (INT_4U Frame, INT_4U ElementMask) |
object_type | readFrAdcData (INT_4U Frame, const std::string &Channel) |
object_type | readFrAdcData (INT_4U Frame, INT_4U Channel) |
object_type | readFrAdcStruct (INT_4U Frame, const std::string &Channel) |
object_type | readFrAdcStruct (INT_4U Frame, INT_4U Channel) |
object_type | readFrEvent (INT_4U Frame, const std::string &Channel) |
object_type | readFrEvent (const std::string &EventType, fr_event_offset_type Offset) |
object_type | readFrEventStruct (INT_4U Frame, const std::string &Channel) |
object_type | readFrProcData (INT_4U Frame, const std::string &Channel) |
object_type | readFrProcData (INT_4U Frame, INT_4U Channel) |
object_type | readFrProcStruct (INT_4U Frame, const std::string &Channel) |
object_type | readFrProcStruct (INT_4U Frame, INT_4U Channel) |
object_type | readFrRawData (INT_4U Frame) |
object_type | readFrSerData (INT_4U Frame, const std::string &Channel) |
object_type | readFrSerStruct (INT_4U Frame, const std::string &Channel) |
object_type | readFrSimData (INT_4U Frame, const std::string &Channel) |
object_type | readFrSimStruct (INT_4U Frame, const std::string &Channel) |
object_type | readFrSimEvent (INT_4U Frame, const std::string &Channel) |
object_type | readFrSimEvent (const std::string &SimEventType, fr_sim_event_offset_type Offset) |
object_type | readFrSimEventStruct (INT_4U Frame, const std::string &Channel) |
object_type | readNextFrame () |
LDASTools::AL::SharedPtr< StreamRefInterface > | readStreamRef () |
void | readTOC () |
virtual void | reset () |
object_type | readObject (const StreamRefInterface *StreamRef) |
Read an Object referenced in the stream. More... | |
void | readRecursive (INT_4U StopOnClassId, bool Decompress=false) |
bool | removeRecursiveDependant (const StreamRefInterface *StreamRef) |
virtual void | addRecursiveDependant (ptr_struct_base_type Ref) |
void | addRecursiveDependant (const StreamRefInterface *StreamRef) |
toc_type | getTOC () |
virtual void | pushResolver (resolver_type Resolver) |
void | seedTOCInfo (const IFrameStream &Source) |
virtual void | frameSpecInfo (const FrameSpec::Info *Spec) |
const FrameSpec::Info & | frameSpecInfo () const |
void | setLastError (const std::string &Message) |
void | setTOC () |
const StreamRefInterface & | streamRef () const |
void | version_stream (version_type Version) |
void | frameLibrary (frame_library_type FrameLibrary) |
void | libraryRevision (library_revision_type LibraryRevision) |
version_type | memoryVersion () const |
version_type | streamVersion () const |
INT_2U | GetClassId (const std::string &ClassName) const |
INT_2U | GetFSIId (INT_2U StreamId) const |
cmn_streamsize_type | PtrStructBytes () const |
const_stream_ref_ptr_type | ReferenceStreamRef () const |
const Dictionary & | GetDictionary () const |
Dictionary & | GetDictionary () |
CheckSumFilter * | GetCheckSumFile () const |
CheckSumFilter * | GetCheckSumFrame () const |
void | SetCheckSumFrame (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumObject () const |
void | SetCheckSumObject (const CheckSum::kind_type Type) |
Dictionary::ptr_struct_key_type | NextLookup (object_type Obj) const |
void | RemoveResolver (const void *Old, int MaxDepth) |
template<typename T > | |
void | PushPtr (LDASTools::AL::SharedPtr< T > *Obj) |
template<typename T_NEW , typename T_OLD > | |
void | ReplacePtr (LDASTools::AL::SharedPtr< T_NEW > *Obj, LDASTools::AL::SharedPtr< T_OLD > *OldPtr, const int MaxDepth) |
template<typename T > | |
void | PushRef (Container< T > &C) |
template<typename T , typename OT > | |
void | ReplaceRef (Container< T > &C, const Container< OT > &Old, const int MaxDepth) |
FrameBufferInterface * | rdbuf () const |
IStream & | read (char_type *S, std::streamsize N) |
virtual ptr_struct_base_type | Next (object_type Obj) |
ptr_struct_base_type | ReadPtrStruct () |
void | Resolve () |
Method to resolve links. More... | |
cmn_streamsize_type | Size () |
Return the size of the stream. More... | |
template<typename T > | |
IStream & | operator>> (LDASTools::AL::SharedPtr< T > *Data) |
template<typename T , const std::string &(T::*)() const F> | |
IStream & | operator>> (SearchContainer< T, F > &SC) |
template<typename T > | |
IStream & | operator>> (Container< T > &C) |
template<typename L > | |
IStream & | operator>> (STRING< L > &String) |
template<typename L > | |
IStream & | operator>> (STRING_SHADOW< L > &String) |
template<typename L > | |
IStream & | operator>> (std::vector< STRING< L > > &String) |
template<typename DT > | |
IStream & | operator>> (std::vector< DT > &Data) |
template<typename DT > | |
IStream & | operator>> (DT &Data) |
template<typename T , typename S > | |
IStream & | operator>> (IStream::Resizer< T, S > Value) |
template<> | |
IStream & | operator>> (LDASTools::AL::GPSTime &Data) |
bool | ByteSwapping () const |
void | nextReplace (object_type OldObj, object_type NewObj) |
void | byteSwapping (bool Value) |
object_type | objectLookup (object_type::element_type *Pointer) |
const resolver_container_type & | resolverContainer () const |
resolver_container_type & | resolverContainer () |
void | setAutoDeleteBuffer (const bool Value) |
Protected Attributes | |
bool | m_closed_state |
std::unique_ptr< MD5SumFilter > | m_md5sumFilter |
Dictionary | m_dictionary |
object_type | m_null_stream_ref |
ptr_struct_base_type | m_ptr_struct_object |
streamid_to_fsiid_type | m_stream_id_to_fsi_id |
checksum_filter_type | m_file_checksum |
Checksum for file. More... | |
checksum_filter_type | m_frame_checksum |
Checksum for frame. More... | |
checksum_filter_type | m_obj_checksum |
Checksum for object. More... | |
md5sum_filter_type | m_file_md5sum |
MD5Sum value for the files. More... | |
bool | m_logNextPtr |
Friends | |
class | Verify |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
typedef INT_4U FrameCPP::Common::IFrameStream::size_type |
|
protectedinherited |
|
inherited |
|
inherited |
|
protected |
|
inherited |
FrameCPP::Common::IFrameStream::IFrameStream | ( | buffer_type * | Stream, |
INT_2U | Version = FRAME_SPEC_CURRENT |
||
) |
FrameCPP::Common::IFrameStream::IFrameStream | ( | bool | AutoDelete, |
buffer_type * | Stream, | ||
INT_2U | Version = FRAME_SPEC_CURRENT |
||
) |
|
protectedvirtual |
|
protected |
|
protected |
|
inlineinherited |
|
inlineprotectedinherited |
|
virtual |
Reimplemented from FrameCPP::Common::IStream.
|
inlineinherited |
|
inlineprotectedinherited |
|
protectedvirtualinherited |
Reimplemented from FrameCPP::Common::StreamBase.
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inline |
Retrieve the current frame.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Reimplemented from FrameCPP::Common::IStream.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inlineprotected |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
protectedvirtual |
Reimplemented from FrameCPP::Common::IStream.
|
virtualinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedvirtual |
Reimplemented from FrameCPP::Common::IStream.
|
inlineinherited |
IFrameStream::object_type FrameCPP::Common::IFrameStream::Read | ( | ) |
IFrameStream::object_type FrameCPP::Common::IFrameStream::ReadDetector | ( | const std::string & | Name | ) |
Read the detector via the table of contents.
[in] | Name | The name of the detector to be read |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
IFrameStream::object_type FrameCPP::Common::IFrameStream::ReadFrameN | ( | INT_4U | FrameIndex, |
bool | Decompress = false |
||
) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
IFrameStream::object_type FrameCPP::Common::IFrameStream::ReadFrStatData | ( | INT_8U | Position | ) |
Read FrStatData at a given postion in the stream.
Position | Offset of the FrStatData in the stream |
INT_4U FrameCPP::Common::IFrameStream::ReadFrStatData | ( | const std::string & | NamePattern, |
const std::string & | DetectorPattern, | ||
const LDASTools::AL::GPSTime & | StartTime, | ||
const LDASTools::AL::GPSTime & | EndTime, | ||
const INT_4U | Version, | ||
FrStatData::Query & | QueryResults | ||
) |
|
protected |
|
inline |
|
protected |
Read an Object referenced in the stream.
StreamRef | Stream reference information for the requested object. |
|
inherited |
Reads the next group of bytes from the stream as a PTR_STRUCT as defined by the active frame specification associated with the stream.
|
protected |
|
protected |
|
protected |
|
inherited |
|
protected |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedvirtual |
Reimplemented from FrameCPP::Common::FrameStream.
|
inherited |
Method to resolve links.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotected |
|
inline |
|
inlineprotectedinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inline |
|
protectedinherited |
|
inlineinherited |
Return the size of the stream.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
void FrameCPP::Common::IFrameStream::VerifyHeader | ( | Verify & | Verifier | ) |
|
inlineinherited |
|
inlineprotectedinherited |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Checksum for file.
|
protectedinherited |
MD5Sum value for the files.
|
protectedinherited |
Checksum for frame.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Checksum for object.
|
protectedinherited |
|
mutableprotectedinherited |