ldas-tools-framecpp  2.7.0
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
FrameCPP::Common::OFrameStream Class Reference

#include <FrameStream.hh>

Inheritance diagram for FrameCPP::Common::OFrameStream:
Inheritance graph
[legend]
Collaboration diagram for FrameCPP::Common::OFrameStream:
Collaboration graph
[legend]

Classes

struct  detector_cmp
 

Public Types

typedef OStream::buffer_type buffer_type
 
typedef INT_4U chkSum_type
 
typedef OStream::buffer_type buffer_type
 
typedef INT_4U chkSum_type
 
typedef FrHeader::frame_library_type frame_library_type
 
typedef FrHeader::frame_library_type frame_library_type
 
typedef FrHeader::library_revision_type library_revision_type
 
typedef FrHeader::library_revision_type library_revision_type
 
typedef FrameSpec::version_type version_type
 
typedef FrameSpec::version_type version_type
 
typedef const StreamRefInterfacestreamref_interface_type
 
typedef const StreamRefInterfacestreamref_interface_type
 
typedef INT_4U fr_event_offset_type
 
typedef INT_4U fr_event_offset_type
 
typedef INT_4U fr_sim_event_offset_type
 
typedef INT_4U fr_sim_event_offset_type
 
typedef boost::shared_ptr< FrameSpec::Objectobject_type
 
typedef boost::shared_ptr< FrameSpec::Objectobject_type
 
typedef boost::shared_ptr< FrameSpec::Objectobject_type
 
typedef boost::shared_ptr< FrameSpec::Objectobject_type
 

Public Member Functions

 OFrameStream (buffer_type *Buffer, INT_2U Version=FRAME_SPEC_CURRENT)
 
 OFrameStream (bool AutoDelete, buffer_type *Buffer, INT_2U Version=FRAME_SPEC_CURRENT)
 
 ~OFrameStream ()
 
void Close ()
 
void DisableTOC ()
 
virtual INT_4U GetNumberOfFrames () const
 
virtual INT_8U GetTOCOffset () const
 
void SetAutoDeleteBuffer (const bool AutoDelete)
 Establish if the buffer is to be released with the Stream. More...
 
void SetMD5Sum (bool Value)
 
void Write (object_type Obj)
 
void WriteFrame (object_type FrameObject, chkSum_type FrameChecksumType=Common::CheckSum::NONE)
 Write Frame data to the stream. More...
 
void WriteFrame (object_type FrameObject, INT_2U CompressionScheme, INT_2U CompressionLevel, chkSum_type FrameChecksumType=CheckSum::NONE)
 Write Frame data to the stream. More...
 
void WriteFrStatData (object_type FrameObject)
 
 OFrameStream (buffer_type *Buffer, INT_2U Version=FRAME_SPEC_CURRENT)
 
 OFrameStream (bool AutoDelete, buffer_type *Buffer, INT_2U Version=FRAME_SPEC_CURRENT)
 
 ~OFrameStream ()
 
void Close ()
 
void DisableTOC ()
 
virtual INT_4U GetNumberOfFrames () const
 
virtual INT_8U GetTOCOffset () const
 
void SetAutoDeleteBuffer (const bool AutoDelete)
 Establish if the buffer is to be released with the Stream. More...
 
void SetMD5Sum (bool Value)
 
void Write (object_type Obj)
 
void WriteFrame (object_type FrameObject, chkSum_type FrameChecksumType=Common::CheckSum::NONE)
 Write Frame data to the stream. More...
 
void WriteFrame (object_type FrameObject, INT_2U CompressionScheme, INT_2U CompressionLevel, chkSum_type FrameChecksumType=CheckSum::NONE)
 Write Frame data to the stream. More...
 
void WriteFrStatData (object_type FrameObject)
 
buffer_typerdbuf () const
 
buffer_typerdbuf () const
 
void SetCheckSumFile (const CheckSum::kind_type Type)
 
void SetCheckSumFile (const CheckSum::kind_type Type)
 
buffer_typerdbuf () const
 
buffer_typerdbuf () const
 
void SetCheckSumFile (const CheckSum::kind_type Type)
 
void SetCheckSumFile (const CheckSum::kind_type Type)
 
frame_library_type FrameLibrary () const
 
frame_library_type FrameLibrary () const
 
library_revision_type LibraryRevision () const
 
library_revision_type LibraryRevision () const
 
version_type Version () const
 
version_type Version () const
 
const std::string & GetLastError () const
 
const std::string & GetLastError () const
 
const MD5SumGetMD5Sum () const
 
const MD5SumGetMD5Sum () const
 

Protected Types

typedef const Dictionary::streamref_type::element_type * const_stream_ref_ptr_type
 
typedef const Dictionary::streamref_type::element_type * const_stream_ref_ptr_type
 
typedef Dictionary::streamref_type streamref_type
 
typedef Dictionary::streamref_type streamref_type
 
typedef std::unique_ptr< CheckSumFilterchecksum_filter_type
 
typedef std::unique_ptr< CheckSumFilterchecksum_filter_type
 
typedef std::unique_ptr< MD5SumFiltermd5sum_filter_type
 
typedef std::unique_ptr< MD5SumFiltermd5sum_filter_type
 
typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > streamid_to_fsiid_type
 
typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > streamid_to_fsiid_type
 
typedef boost::shared_ptr< PTR_STRUCT_BASEptr_struct_base_type
 
typedef boost::shared_ptr< PTR_STRUCT_BASEptr_struct_base_type
 
typedef std::ostream ostream_type
 
typedef std::ostream ostream_type
 
typedef ostream_type::char_type char_type
 
typedef ostream_type::char_type char_type
 
typedef FrameSpec::ObjectInterface::unique_object_type unique_object_type
 
typedef FrameSpec::ObjectInterface::unique_object_type unique_object_type
 

Protected Member Functions

virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
void setLastError (const std::string &Message)
 
void setLastError (const std::string &Message)
 
void setTOC ()
 
void setTOC ()
 
const StreamRefInterfacestreamRef () const
 
const StreamRefInterfacestreamRef () const
 
void version_stream (version_type Version)
 
void version_stream (version_type Version)
 
void frameLibrary (frame_library_type FrameLibrary)
 
void frameLibrary (frame_library_type FrameLibrary)
 
void libraryRevision (library_revision_type LibraryRevision)
 
void libraryRevision (library_revision_type LibraryRevision)
 
version_type memoryVersion () const
 
version_type memoryVersion () const
 
version_type streamVersion () const
 
version_type streamVersion () const
 
virtual void reset ()
 
virtual void reset ()
 
virtual void Cleanup ()
 
virtual void Cleanup ()
 
INT_2U GetClassId (const std::string &ClassName) const
 
INT_2U GetClassId (const std::string &ClassName) const
 
INT_2U GetFSIId (INT_2U StreamId) const
 
INT_2U GetFSIId (INT_2U StreamId) const
 
cmn_streamsize_type PtrStructBytes () const
 
cmn_streamsize_type PtrStructBytes () const
 
const_stream_ref_ptr_type ReferenceStreamRef () const
 
const_stream_ref_ptr_type ReferenceStreamRef () const
 
const DictionaryGetDictionary () const
 
DictionaryGetDictionary ()
 
const DictionaryGetDictionary () const
 
DictionaryGetDictionary ()
 
void Compression (INT_2U &CompressionScheme, INT_2U &CompressionLevel)
 
void Compression (INT_2U &CompressionScheme, INT_2U &CompressionLevel)
 
INT_2U CompressionScheme () const
 
INT_2U CompressionScheme () const
 
INT_2U CompressionLevel () const
 
INT_2U CompressionLevel () const
 
template<typename Header >
const Header * GetFrHeader () const
 
template<typename Header >
const Header * GetFrHeader () const
 
void Next (object_type Obj, object_type NextObj)
 
object_type Next (object_type Obj) const
 
void Next (object_type Obj, object_type NextObj)
 
object_type Next (object_type Obj) const
 
const PTR_STRUCT_BASEReference (object_type Obj) const
 
const PTR_STRUCT_BASEReference (object_type Obj) const
 
OStreamwrite (const char_type *S, std::streamsize N)
 
OStreamwrite (const char_type *S, std::streamsize N)
 
object_type Pop ()
 Get an object from the output queue. More...
 
object_type Pop ()
 Get an object from the output queue. More...
 
void PushSingle (object_type Obj)
 Append an object to the output queue. More...
 
void PushSingle (object_type Obj)
 Append an object to the output queue. More...
 
template<typename Iter >
void PushMulti (Iter Start, Iter End, size_t Size)
 Append multiple objects to the output queue. More...
 
template<typename Iter >
void PushMulti (Iter Start, Iter End, size_t Size)
 Append multiple objects to the output queue. More...
 
const Common::PTR_STRUCT_BASENextPtrStruct (object_type Cur) const
 Create a PTR_STRUCT for next object. More...
 
const Common::PTR_STRUCT_BASENextPtrStruct (const object_type::element_type *Cur) const
 Create a PTR_STRUCT for next object. More...
 
const Common::PTR_STRUCT_BASENextPtrStruct (object_type Cur) const
 Create a PTR_STRUCT for next object. More...
 
const Common::PTR_STRUCT_BASENextPtrStruct (const object_type::element_type *Cur) const
 Create a PTR_STRUCT for next object. More...
 
OStreamoperator<< (object_type Data)
 
OStreamoperator<< (Pointer Data)
 
template<typename T , const std::string &(T::*)() const F>
OStreamoperator<< (const SearchContainer< T, F > &SC)
 
template<typename T >
OStreamoperator<< (const Container< T > &C)
 
template<typename L >
OStreamoperator<< (const STRING< L > &String)
 
template<typename L >
OStreamoperator<< (const STRING_SHADOW< L > &String)
 
template<typename L >
OStreamoperator<< (const std::vector< STRING< L > > &Strings)
 
template<typename DT >
OStreamoperator<< (const std::vector< DT > &N)
 
template<typename DT >
OStreamoperator<< (const DT &N)
 
OStreamoperator<< (object_type Data)
 
OStreamoperator<< (Pointer Data)
 
template<typename T , const std::string &(T::*)() const F>
OStreamoperator<< (const SearchContainer< T, F > &SC)
 
template<typename T >
OStreamoperator<< (const Container< T > &C)
 
template<typename L >
OStreamoperator<< (const STRING< L > &String)
 
template<typename L >
OStreamoperator<< (const STRING_SHADOW< L > &String)
 
template<typename L >
OStreamoperator<< (const std::vector< STRING< L > > &Strings)
 
template<typename DT >
OStreamoperator<< (const std::vector< DT > &N)
 
template<typename DT >
OStreamoperator<< (const DT &N)
 
template<>
OStreamoperator<< (const LDASTools::AL::GPSTime &Data)
 
buffer_typerdbuf () const
 
CheckSumFilterGetCheckSumFile () const
 
CheckSumFilterGetCheckSumFile () const
 
void SetCheckSumFile (const CheckSum::kind_type Type)
 
CheckSumFilterGetCheckSumFrame () const
 
CheckSumFilterGetCheckSumFrame () const
 
void SetCheckSumFrame (const CheckSum::kind_type Type)
 
void SetCheckSumFrame (const CheckSum::kind_type Type)
 
CheckSumFilterGetCheckSumObject () const
 
CheckSumFilterGetCheckSumObject () const
 
void SetCheckSumObject (const CheckSum::kind_type Type)
 
void SetCheckSumObject (const CheckSum::kind_type Type)
 
void setFrHeader (unique_object_type &Obj)
 
void setFrHeader (unique_object_type &Obj)
 
void setAutoDeleteBuffer (const bool Value)
 Establish if the buffer is to be released with the Stream. More...
 
void setAutoDeleteBuffer (const bool Value)
 Establish if the buffer is to be released with the Stream. More...
 

Protected Attributes

bool m_closed_state
 
std::unique_ptr< MD5SumFilterm_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...
 

Private Types

typedef boost::shared_ptr< FrDetectorfr_detector_type
 
typedef boost::shared_ptr< FrStatDatafr_stat_data_type
 
typedef std::set< INT_2U > defined_container_type
 
typedef std::list< fr_stat_data_typefr_stat_list_type
 
typedef std::map< fr_detector_type, fr_stat_list_type, detector_cmpfr_stat_container_type
 
typedef boost::shared_ptr< FrDetectorfr_detector_type
 
typedef boost::shared_ptr< FrStatDatafr_stat_data_type
 
typedef std::set< INT_2U > defined_container_type
 
typedef std::list< fr_stat_data_typefr_stat_list_type
 
typedef std::map< fr_detector_type, fr_stat_list_type, detector_cmpfr_stat_container_type
 

Private Member Functions

void init ()
 
void write_stream_objects ()
 
void init ()
 
void write_stream_objects ()
 

Private Attributes

boost::shared_ptr< FrTOCm_toc
 
INT_8U m_toc_location
 
INT_4U m_frame_count
 
defined_container_type m_defined
 
fr_stat_container_type m_fr_stats
 
bool m_has_header
 

Member Typedef Documentation

◆ buffer_type [1/2]

◆ buffer_type [2/2]

◆ char_type [1/2]

◆ char_type [2/2]

◆ checksum_filter_type [1/2]

typedef std::unique_ptr< CheckSumFilter > FrameCPP::Common::StreamBase::checksum_filter_type
protectedinherited

◆ checksum_filter_type [2/2]

typedef std::unique_ptr< CheckSumFilter > FrameCPP::Common::StreamBase::checksum_filter_type
protectedinherited

◆ chkSum_type [1/2]

◆ chkSum_type [2/2]

◆ const_stream_ref_ptr_type [1/2]

typedef const Dictionary::streamref_type::element_type* FrameCPP::Common::StreamBase::const_stream_ref_ptr_type
inherited

◆ const_stream_ref_ptr_type [2/2]

typedef const Dictionary::streamref_type::element_type* FrameCPP::Common::StreamBase::const_stream_ref_ptr_type
inherited

◆ defined_container_type [1/2]

◆ defined_container_type [2/2]

◆ fr_detector_type [1/2]

typedef boost::shared_ptr< FrDetector > FrameCPP::Common::OFrameStream::fr_detector_type
private

◆ fr_detector_type [2/2]

typedef boost::shared_ptr< FrDetector > FrameCPP::Common::OFrameStream::fr_detector_type
private

◆ fr_event_offset_type [1/2]

◆ fr_event_offset_type [2/2]

◆ fr_sim_event_offset_type [1/2]

◆ fr_sim_event_offset_type [2/2]

◆ fr_stat_container_type [1/2]

◆ fr_stat_container_type [2/2]

◆ fr_stat_data_type [1/2]

typedef boost::shared_ptr< FrStatData > FrameCPP::Common::OFrameStream::fr_stat_data_type
private

◆ fr_stat_data_type [2/2]

typedef boost::shared_ptr< FrStatData > FrameCPP::Common::OFrameStream::fr_stat_data_type
private

◆ fr_stat_list_type [1/2]

◆ fr_stat_list_type [2/2]

◆ frame_library_type [1/2]

typedef FrHeader::frame_library_type FrameCPP::Common::FrameStream::frame_library_type
inherited

◆ frame_library_type [2/2]

typedef FrHeader::frame_library_type FrameCPP::Common::FrameStream::frame_library_type
inherited

◆ library_revision_type [1/2]

typedef FrHeader::library_revision_type FrameCPP::Common::FrameStream::library_revision_type
inherited

◆ library_revision_type [2/2]

typedef FrHeader::library_revision_type FrameCPP::Common::FrameStream::library_revision_type
inherited

◆ md5sum_filter_type [1/2]

typedef std::unique_ptr< MD5SumFilter > FrameCPP::Common::StreamBase::md5sum_filter_type
protectedinherited

◆ md5sum_filter_type [2/2]

typedef std::unique_ptr< MD5SumFilter > FrameCPP::Common::StreamBase::md5sum_filter_type
protectedinherited

◆ object_type [1/4]

typedef boost::shared_ptr< FrameSpec::Object > FrameCPP::Common::StreamBase::object_type
inherited

◆ object_type [2/4]

typedef boost::shared_ptr< FrameSpec::Object > FrameCPP::Common::StreamBase::object_type
inherited

◆ object_type [3/4]

typedef boost::shared_ptr< FrameSpec::Object > FrameCPP::Common::StreamBase::object_type
inherited

◆ object_type [4/4]

typedef boost::shared_ptr< FrameSpec::Object > FrameCPP::Common::StreamBase::object_type
inherited

◆ ostream_type [1/2]

typedef std::ostream FrameCPP::Common::OStream::ostream_type
inherited

◆ ostream_type [2/2]

typedef std::ostream FrameCPP::Common::OStream::ostream_type
inherited

◆ ptr_struct_base_type [1/2]

typedef boost::shared_ptr< PTR_STRUCT_BASE > FrameCPP::Common::StreamBase::ptr_struct_base_type
protectedinherited

◆ ptr_struct_base_type [2/2]

typedef boost::shared_ptr< PTR_STRUCT_BASE > FrameCPP::Common::StreamBase::ptr_struct_base_type
protectedinherited

◆ streamid_to_fsiid_type [1/2]

typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > FrameCPP::Common::StreamBase::streamid_to_fsiid_type
protectedinherited

◆ streamid_to_fsiid_type [2/2]

typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > FrameCPP::Common::StreamBase::streamid_to_fsiid_type
protectedinherited

◆ streamref_interface_type [1/2]

◆ streamref_interface_type [2/2]

◆ streamref_type [1/2]

◆ streamref_type [2/2]

◆ unique_object_type [1/2]

◆ unique_object_type [2/2]

◆ version_type [1/2]

◆ version_type [2/2]

Constructor & Destructor Documentation

◆ OFrameStream() [1/4]

FrameCPP::Common::OFrameStream::OFrameStream ( buffer_type Buffer,
INT_2U  Version = FRAME_SPEC_CURRENT 
)

◆ OFrameStream() [2/4]

FrameCPP::Common::OFrameStream::OFrameStream ( bool  AutoDelete,
buffer_type Buffer,
INT_2U  Version = FRAME_SPEC_CURRENT 
)

◆ ~OFrameStream() [1/2]

FrameCPP::Common::OFrameStream::~OFrameStream ( )

◆ OFrameStream() [3/4]

FrameCPP::Common::OFrameStream::OFrameStream ( buffer_type Buffer,
INT_2U  Version = FRAME_SPEC_CURRENT 
)

◆ OFrameStream() [4/4]

FrameCPP::Common::OFrameStream::OFrameStream ( bool  AutoDelete,
buffer_type Buffer,
INT_2U  Version = FRAME_SPEC_CURRENT 
)

◆ ~OFrameStream() [2/2]

FrameCPP::Common::OFrameStream::~OFrameStream ( )

Member Function Documentation

◆ Cleanup() [1/2]

void FrameCPP::Common::StreamBase::Cleanup ( )
virtualinherited

◆ Cleanup() [2/2]

virtual void FrameCPP::Common::StreamBase::Cleanup ( )
virtualinherited

◆ Close() [1/2]

void FrameCPP::Common::OFrameStream::Close ( )

◆ Close() [2/2]

void FrameCPP::Common::OFrameStream::Close ( )

◆ Compression() [1/2]

void FrameCPP::Common::OStream::Compression ( INT_2U &  CompressionScheme,
INT_2U &  CompressionLevel 
)
inlineinherited

param[in,out] CompressionScheme param[in,out] CompressionType

◆ Compression() [2/2]

void FrameCPP::Common::OStream::Compression ( INT_2U &  CompressionScheme,
INT_2U &  CompressionLevel 
)
inherited

param[in,out] CompressionScheme param[in,out] CompressionType

◆ CompressionLevel() [1/2]

INT_2U FrameCPP::Common::OStream::CompressionLevel ( ) const
inlineinherited

◆ CompressionLevel() [2/2]

INT_2U FrameCPP::Common::OStream::CompressionLevel ( ) const
inherited

◆ CompressionScheme() [1/2]

INT_2U FrameCPP::Common::OStream::CompressionScheme ( ) const
inlineinherited

◆ CompressionScheme() [2/2]

INT_2U FrameCPP::Common::OStream::CompressionScheme ( ) const
inherited

◆ DisableTOC() [1/2]

void FrameCPP::Common::OFrameStream::DisableTOC ( )
inline

◆ DisableTOC() [2/2]

void FrameCPP::Common::OFrameStream::DisableTOC ( )

◆ FrameLibrary() [1/2]

frame_library_type FrameCPP::Common::FrameStream::FrameLibrary ( ) const
inherited

◆ FrameLibrary() [2/2]

FrameStream::frame_library_type FrameStream::FrameLibrary ( ) const
inlineinherited

◆ frameLibrary() [1/2]

void FrameStream::frameLibrary ( frame_library_type  FrameLibrary)
inlineprotectedinherited

◆ frameLibrary() [2/2]

void FrameCPP::Common::FrameStream::frameLibrary ( frame_library_type  FrameLibrary)
protectedinherited

◆ frameSpecInfo() [1/11]

const FrameSpec::Info & FrameCPP::Common::StreamBase::frameSpecInfo
inlineprotectedinherited

◆ frameSpecInfo() [2/11]

void FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [3/11]

const FrameSpec::Info& FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [4/11]

virtual void FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [5/11]

const FrameSpec::Info & FrameCPP::Common::StreamBase::frameSpecInfo
inlineprotectedinherited

◆ frameSpecInfo() [6/11]

void FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [7/11]

const FrameSpec::Info& FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [8/11]

virtual void FrameCPP::Common::StreamBase::frameSpecInfo
protectedinherited

◆ frameSpecInfo() [9/11]

virtual void FrameCPP::Common::FrameStream::frameSpecInfo ( const FrameSpec::Info Spec)
protectedvirtualinherited

Reimplemented from FrameCPP::Common::StreamBase.

◆ frameSpecInfo() [10/11]

void FrameStream::frameSpecInfo ( const FrameSpec::Info Spec)
protectedvirtualinherited

Reimplemented from FrameCPP::Common::StreamBase.

◆ frameSpecInfo() [11/11]

const FrameSpec::Info & FrameCPP::Common::StreamBase::frameSpecInfo ( ) const
inlineprotectedinherited

◆ GetCheckSumFile() [1/2]

CheckSumFilter * FrameCPP::Common::OStream::GetCheckSumFile ( ) const
inlineinherited

◆ GetCheckSumFile() [2/2]

CheckSumFilter* FrameCPP::Common::OStream::GetCheckSumFile ( ) const
inherited

◆ GetCheckSumFrame() [1/2]

CheckSumFilter * FrameCPP::Common::OStream::GetCheckSumFrame ( ) const
inlineinherited

◆ GetCheckSumFrame() [2/2]

CheckSumFilter* FrameCPP::Common::OStream::GetCheckSumFrame ( ) const
inherited

◆ GetCheckSumObject() [1/2]

CheckSumFilter * FrameCPP::Common::OStream::GetCheckSumObject ( ) const
inlineinherited

◆ GetCheckSumObject() [2/2]

CheckSumFilter* FrameCPP::Common::OStream::GetCheckSumObject ( ) const
inherited

◆ GetClassId() [1/2]

INT_2U FrameCPP::Common::StreamBase::GetClassId ( const std::string &  ClassName) const
inherited

◆ GetClassId() [2/2]

INT_2U FrameCPP::Common::StreamBase::GetClassId ( const std::string &  ClassName) const
inherited

◆ GetDictionary() [1/4]

const Dictionary & FrameCPP::Common::StreamBase::GetDictionary ( ) const
inlineinherited

◆ GetDictionary() [2/4]

const Dictionary& FrameCPP::Common::StreamBase::GetDictionary ( ) const
inherited

◆ GetDictionary() [3/4]

Dictionary & FrameCPP::Common::StreamBase::GetDictionary ( )
inlineinherited

◆ GetDictionary() [4/4]

Dictionary& FrameCPP::Common::StreamBase::GetDictionary ( )
inherited

◆ GetFrHeader() [1/2]

template<typename Header >
const Header * FrameCPP::Common::OStream::GetFrHeader ( ) const
inlineinherited

◆ GetFrHeader() [2/2]

template<typename Header >
const Header* FrameCPP::Common::OStream::GetFrHeader ( ) const
inherited

◆ GetFSIId() [1/2]

INT_2U FrameCPP::Common::StreamBase::GetFSIId ( INT_2U  StreamId) const
inlineinherited

◆ GetFSIId() [2/2]

INT_2U FrameCPP::Common::StreamBase::GetFSIId ( INT_2U  StreamId) const
inherited

◆ GetLastError() [1/2]

const std::string & FrameStream::GetLastError ( ) const
inlineinherited

◆ GetLastError() [2/2]

const std::string& FrameCPP::Common::FrameStream::GetLastError ( ) const
inherited

◆ GetMD5Sum() [1/2]

const MD5Sum & FrameStream::GetMD5Sum ( ) const
inlineinherited

◆ GetMD5Sum() [2/2]

const MD5Sum& FrameCPP::Common::FrameStream::GetMD5Sum ( ) const
inherited

◆ GetNumberOfFrames() [1/2]

INT_4U FrameCPP::Common::OFrameStream::GetNumberOfFrames ( ) const
inlinevirtual

Reimplemented from FrameCPP::Common::OStream.

◆ GetNumberOfFrames() [2/2]

virtual INT_4U FrameCPP::Common::OFrameStream::GetNumberOfFrames ( ) const
virtual

Reimplemented from FrameCPP::Common::OStream.

◆ GetTOCOffset() [1/2]

virtual INT_8U FrameCPP::Common::OFrameStream::GetTOCOffset ( ) const
virtual

Reimplemented from FrameCPP::Common::OStream.

◆ GetTOCOffset() [2/2]

INT_8U FrameCPP::Common::OFrameStream::GetTOCOffset ( ) const
inlinevirtual

Reimplemented from FrameCPP::Common::OStream.

◆ init() [1/2]

void FrameCPP::Common::OFrameStream::init ( )
private

◆ init() [2/2]

void FrameCPP::Common::OFrameStream::init ( )
private

◆ LibraryRevision() [1/2]

FrameStream::library_revision_type FrameStream::LibraryRevision ( ) const
inlineinherited

◆ LibraryRevision() [2/2]

library_revision_type FrameCPP::Common::FrameStream::LibraryRevision ( ) const
inherited

◆ libraryRevision() [1/2]

void FrameStream::libraryRevision ( library_revision_type  LibraryRevision)
inlineprotectedinherited

◆ libraryRevision() [2/2]

void FrameCPP::Common::FrameStream::libraryRevision ( library_revision_type  LibraryRevision)
protectedinherited

◆ memoryVersion() [1/2]

FrameStream::version_type FrameStream::memoryVersion ( ) const
inlineprotectedinherited

◆ memoryVersion() [2/2]

version_type FrameCPP::Common::FrameStream::memoryVersion ( ) const
protectedinherited

◆ Next() [1/4]

void FrameCPP::Common::OStream::Next ( object_type  Obj,
object_type  NextObj 
)
inherited

◆ Next() [2/4]

void FrameCPP::Common::OStream::Next ( object_type  Obj,
object_type  NextObj 
)
inherited

◆ Next() [3/4]

OStream::object_type FrameCPP::Common::OStream::Next ( object_type  Obj) const
inherited

◆ Next() [4/4]

object_type FrameCPP::Common::OStream::Next ( object_type  Obj) const
inherited

◆ NextPtrStruct() [1/4]

const PTR_STRUCT_BASE & FrameCPP::Common::OStream::NextPtrStruct ( object_type  Cur) const
inherited

Create a PTR_STRUCT for next object.

◆ NextPtrStruct() [2/4]

const Common::PTR_STRUCT_BASE& FrameCPP::Common::OStream::NextPtrStruct ( object_type  Cur) const
inherited

Create a PTR_STRUCT for next object.

◆ NextPtrStruct() [3/4]

const PTR_STRUCT_BASE & FrameCPP::Common::OStream::NextPtrStruct ( const object_type::element_type *  Cur) const
inherited

Create a PTR_STRUCT for next object.

◆ NextPtrStruct() [4/4]

const Common::PTR_STRUCT_BASE& FrameCPP::Common::OStream::NextPtrStruct ( const object_type::element_type *  Cur) const
inherited

Create a PTR_STRUCT for next object.

◆ operator<<() [1/19]

OStream & FrameCPP::Common::OStream::operator<< ( object_type  Data)
inlineinherited
Todo:
support MD5Sum

◆ operator<<() [2/19]

OStream& FrameCPP::Common::OStream::operator<< ( object_type  Data)
inherited
Todo:
support MD5Sum

◆ operator<<() [3/19]

OStream & FrameCPP::Common::OStream::operator<< ( Pointer  Data)
inlineinherited

◆ operator<<() [4/19]

OStream& FrameCPP::Common::OStream::operator<< ( Pointer  Data)
inherited

◆ operator<<() [5/19]

template<typename T , const std::string &(T::*)() const F>
OStream& FrameCPP::Common::OStream::operator<< ( const SearchContainer< T, F > &  SC)
inlineinherited

◆ operator<<() [6/19]

template<typename T , const std::string &(T::*)() const F>
OStream& FrameCPP::Common::OStream::operator<< ( const SearchContainer< T, F > &  SC)
inlineinherited

◆ operator<<() [7/19]

template<typename T >
OStream& FrameCPP::Common::OStream::operator<< ( const Container< T > &  C)
inlineinherited

◆ operator<<() [8/19]

template<typename T >
OStream& FrameCPP::Common::OStream::operator<< ( const Container< T > &  C)
inlineinherited

◆ operator<<() [9/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const STRING< L > &  String)
inlineinherited

◆ operator<<() [10/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const STRING< L > &  String)
inlineinherited

◆ operator<<() [11/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const STRING_SHADOW< L > &  String)
inlineinherited

◆ operator<<() [12/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const STRING_SHADOW< L > &  String)
inlineinherited

◆ operator<<() [13/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const std::vector< STRING< L > > &  Strings)
inlineinherited

◆ operator<<() [14/19]

template<typename L >
OStream& FrameCPP::Common::OStream::operator<< ( const std::vector< STRING< L > > &  Strings)
inlineinherited

◆ operator<<() [15/19]

template<typename DT >
OStream& FrameCPP::Common::OStream::operator<< ( const std::vector< DT > &  N)
inherited

◆ operator<<() [16/19]

template<typename DT >
OStream & FrameCPP::Common::OStream::operator<< ( const std::vector< DT > &  N)
inlineinherited

◆ operator<<() [17/19]

template<typename DT >
OStream& FrameCPP::Common::OStream::operator<< ( const DT N)
inherited

◆ operator<<() [18/19]

template<typename DT >
OStream & FrameCPP::Common::OStream::operator<< ( const DT N)
inlineinherited

◆ operator<<() [19/19]

OStream & FrameCPP::Common::OStream::operator<< ( const LDASTools::AL::GPSTime &  Data)
inlineinherited

◆ Pop() [1/2]

OStream::object_type FrameCPP::Common::OStream::Pop ( )
inlineinherited

Get an object from the output queue.

Returns
The next object to be written to the stream.

This method retieves the next object to be written along with information indicating if the object should be deallocated once written.

◆ Pop() [2/2]

object_type FrameCPP::Common::OStream::Pop ( )
inherited

Get an object from the output queue.

Returns
The next object to be written to the stream.

◆ PtrStructBytes() [1/2]

cmn_streamsize_type FrameCPP::Common::StreamBase::PtrStructBytes ( ) const
inlineinherited

◆ PtrStructBytes() [2/2]

cmn_streamsize_type FrameCPP::Common::StreamBase::PtrStructBytes ( ) const
inherited

◆ PushMulti() [1/2]

template<typename Iter >
void FrameCPP::Common::OStream::PushMulti ( Iter  Start,
Iter  End,
size_t  Size 
)
inlineinherited

Append multiple objects to the output queue.

Parameters
[in]StartThe first element to be added to the queue.
[in]EndThe last element to be added to the queue.
[in]SizeThe number of elements to be added to the queue.

◆ PushMulti() [2/2]

template<typename Iter >
void FrameCPP::Common::OStream::PushMulti ( Iter  Start,
Iter  End,
size_t  Size 
)
inlineinherited

Append multiple objects to the output queue.

Parameters
[in]StartThe first element to be added to the queue.
[in]EndThe last element to be added to the queue.
[in]SizeThe number of elements to be added to the queue.

◆ PushSingle() [1/2]

void FrameCPP::Common::OStream::PushSingle ( object_type  Obj)
inherited

Append an object to the output queue.

Parameters
[in]ObjThe object to be written.

◆ PushSingle() [2/2]

void FrameCPP::Common::OStream::PushSingle ( object_type  Obj)
inlineinherited

Append an object to the output queue.

Parameters
[in]ObjThe object to be written.

This method adds an object to the queue of objects to be written. It preserves the order in which the objects should be written to the stream by keeping a local iterator indicating the point of insertion.

◆ rdbuf() [1/5]

buffer_type* FrameCPP::Common::OStream::rdbuf
inline

◆ rdbuf() [2/5]

buffer_type* FrameCPP::Common::OStream::rdbuf
inline

◆ rdbuf() [3/5]

buffer_type* FrameCPP::Common::OStream::rdbuf
inline

◆ rdbuf() [4/5]

buffer_type* FrameCPP::Common::OStream::rdbuf
inline

◆ rdbuf() [5/5]

buffer_type* FrameCPP::Common::OStream::rdbuf ( ) const
inlineinherited

◆ Reference() [1/2]

const PTR_STRUCT_BASE & FrameCPP::Common::OStream::Reference ( object_type  Obj) const
inherited

◆ Reference() [2/2]

const PTR_STRUCT_BASE& FrameCPP::Common::OStream::Reference ( object_type  Obj) const
inherited

◆ ReferenceStreamRef() [1/2]

StreamBase::const_stream_ref_ptr_type FrameCPP::Common::StreamBase::ReferenceStreamRef ( ) const
inherited

◆ ReferenceStreamRef() [2/2]

const_stream_ref_ptr_type FrameCPP::Common::StreamBase::ReferenceStreamRef ( ) const
inherited

◆ reset() [1/2]

virtual void FrameCPP::Common::FrameStream::reset ( )
protectedvirtualinherited

◆ reset() [2/2]

void FrameStream::reset ( )
protectedvirtualinherited

◆ SetAutoDeleteBuffer() [1/2]

void FrameCPP::Common::OFrameStream::SetAutoDeleteBuffer ( const bool  AutoDelete)
inline

Establish if the buffer is to be released with the Stream.

Parameters
[in]AutoDeleteIf true, then the buffer will be released with the destruction of this instance. If false, then the buffer will exist even after the destruction of this instance.

◆ SetAutoDeleteBuffer() [2/2]

void FrameCPP::Common::OFrameStream::SetAutoDeleteBuffer ( const bool  AutoDelete)

Establish if the buffer is to be released with the Stream.

Parameters
[in]AutoDeleteIf true, then the buffer will be released with the destruction of this instance. If false, then the buffer will exist even after the destruction of this instance.

◆ setAutoDeleteBuffer() [1/2]

void FrameCPP::Common::OStream::setAutoDeleteBuffer ( const bool  Value)
inlineprotectedinherited

Establish if the buffer is to be released with the Stream.

Parameters
[in]ValueIf true, then the buffer will be released with the destruction of this instance. If false, then the buffer will exist even after the destruction of this instance.

◆ setAutoDeleteBuffer() [2/2]

void FrameCPP::Common::OStream::setAutoDeleteBuffer ( const bool  Value)
protectedinherited

Establish if the buffer is to be released with the Stream.

Parameters
[in]ValueIf true, then the buffer will be released with the destruction of this instance. If false, then the buffer will exist even after the destruction of this instance.

◆ SetCheckSumFile() [1/5]

void FrameCPP::Common::OStream::SetCheckSumFile

◆ SetCheckSumFile() [2/5]

void FrameCPP::Common::OStream::SetCheckSumFile

◆ SetCheckSumFile() [3/5]

void FrameCPP::Common::OStream::SetCheckSumFile
inline

◆ SetCheckSumFile() [4/5]

void FrameCPP::Common::OStream::SetCheckSumFile
inline

◆ SetCheckSumFile() [5/5]

void FrameCPP::Common::OStream::SetCheckSumFile ( const CheckSum::kind_type  Type)
inlineinherited

◆ SetCheckSumFrame() [1/2]

void FrameCPP::Common::OStream::SetCheckSumFrame ( const CheckSum::kind_type  Type)
inlineinherited

◆ SetCheckSumFrame() [2/2]

void FrameCPP::Common::OStream::SetCheckSumFrame ( const CheckSum::kind_type  Type)
inherited

◆ SetCheckSumObject() [1/2]

void FrameCPP::Common::OStream::SetCheckSumObject ( const CheckSum::kind_type  Type)
inlineinherited

◆ SetCheckSumObject() [2/2]

void FrameCPP::Common::OStream::SetCheckSumObject ( const CheckSum::kind_type  Type)
inherited

◆ setFrHeader() [1/2]

void FrameCPP::Common::OStream::setFrHeader ( unique_object_type Obj)
protectedinherited

◆ setFrHeader() [2/2]

void FrameCPP::Common::OStream::setFrHeader ( unique_object_type Obj)
inlineprotectedinherited

◆ setLastError() [1/2]

void FrameStream::setLastError ( const std::string &  Message)
inlineprotectedinherited

◆ setLastError() [2/2]

void FrameCPP::Common::FrameStream::setLastError ( const std::string &  Message)
protectedinherited

◆ SetMD5Sum() [1/2]

void FrameCPP::Common::OFrameStream::SetMD5Sum ( bool  Value)
inline

◆ SetMD5Sum() [2/2]

void FrameCPP::Common::OFrameStream::SetMD5Sum ( bool  Value)

◆ setTOC() [1/2]

void FrameCPP::Common::FrameStream::setTOC ( )
protectedinherited

◆ setTOC() [2/2]

void FrameCPP::Common::FrameStream::setTOC ( )
protectedinherited

◆ streamRef() [1/2]

const StreamRefInterface& FrameCPP::Common::FrameStream::streamRef ( ) const
protectedinherited

◆ streamRef() [2/2]

const StreamRefInterface & FrameStream::streamRef ( ) const
inlineprotectedinherited

◆ streamVersion() [1/2]

version_type FrameCPP::Common::FrameStream::streamVersion ( ) const
protectedinherited

◆ streamVersion() [2/2]

FrameStream::version_type FrameStream::streamVersion ( ) const
inlineprotectedinherited

◆ Version() [1/2]

FrameStream::version_type FrameStream::Version ( ) const
inlineinherited

◆ Version() [2/2]

version_type FrameCPP::Common::FrameStream::Version ( ) const
inherited

◆ version_stream() [1/2]

void FrameCPP::Common::FrameStream::version_stream ( version_type  Version)
protectedinherited

◆ version_stream() [2/2]

void FrameStream::version_stream ( version_type  Version)
inlineprotectedinherited

◆ Write() [1/2]

void FrameCPP::Common::OFrameStream::Write ( object_type  Obj)
Todo:
Check that the compression mode is supported by by the writer
Todo:
Need to ensure that all FrStatData structures have been written to the stream. This is to verify that that an FrDetector structure has been associated with each FrStatData.

◆ Write() [2/2]

void FrameCPP::Common::OFrameStream::Write ( object_type  Obj)

◆ write() [1/2]

OStream& FrameCPP::Common::OStream::write ( const char_type S,
std::streamsize  N 
)
inherited

◆ write() [2/2]

OStream & FrameCPP::Common::OStream::write ( const char_type S,
std::streamsize  N 
)
inlineinherited

◆ write_stream_objects() [1/2]

void FrameCPP::Common::OFrameStream::write_stream_objects ( )
private

◆ write_stream_objects() [2/2]

void FrameCPP::Common::OFrameStream::write_stream_objects ( )
private

◆ WriteFrame() [1/4]

void FrameCPP::Common::OFrameStream::WriteFrame ( object_type  FrameObject,
chkSum_type  FrameChecksumType = Common::CheckSum::NONE 
)

Write Frame data to the stream.

◆ WriteFrame() [2/4]

void FrameCPP::Common::OFrameStream::WriteFrame ( object_type  FrameObject,
chkSum_type  FrameChecksumType = Common::CheckSum::NONE 
)

Write Frame data to the stream.

◆ WriteFrame() [3/4]

void FrameCPP::Common::OFrameStream::WriteFrame ( object_type  FrameObject,
INT_2U  CompressionScheme,
INT_2U  CompressionLevel,
chkSum_type  FrameChecksumType = CheckSum::NONE 
)

Write Frame data to the stream.

◆ WriteFrame() [4/4]

void FrameCPP::Common::OFrameStream::WriteFrame ( object_type  FrameObject,
INT_2U  CompressionScheme,
INT_2U  CompressionLevel,
chkSum_type  FrameChecksumType = CheckSum::NONE 
)

Write Frame data to the stream.

◆ WriteFrStatData() [1/2]

void FrameCPP::Common::OFrameStream::WriteFrStatData ( object_type  FrameObject)

◆ WriteFrStatData() [2/2]

void FrameCPP::Common::OFrameStream::WriteFrStatData ( object_type  FrameObject)

Member Data Documentation

◆ m_closed_state

bool FrameStream::m_closed_state
protectedinherited

◆ m_defined

defined_container_type FrameCPP::Common::OFrameStream::m_defined
private

◆ m_dictionary

Dictionary FrameCPP::Common::StreamBase::m_dictionary
protectedinherited

◆ m_file_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_file_checksum
protectedinherited

Checksum for file.

◆ m_file_md5sum

md5sum_filter_type FrameCPP::Common::StreamBase::m_file_md5sum
protectedinherited

MD5Sum value for the files.

◆ m_fr_stats

fr_stat_container_type FrameCPP::Common::OFrameStream::m_fr_stats
private

◆ m_frame_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_frame_checksum
protectedinherited

Checksum for frame.

◆ m_frame_count

INT_4U FrameCPP::Common::OFrameStream::m_frame_count
private

◆ m_has_header

bool FrameCPP::Common::OFrameStream::m_has_header
private

◆ m_md5sumFilter

std::unique_ptr< MD5SumFilter > FrameStream::m_md5sumFilter
protectedinherited

◆ m_null_stream_ref

object_type FrameCPP::Common::StreamBase::m_null_stream_ref
protectedinherited

◆ m_obj_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_obj_checksum
protectedinherited

Checksum for object.

◆ m_ptr_struct_object

ptr_struct_base_type FrameCPP::Common::StreamBase::m_ptr_struct_object
protectedinherited

◆ m_stream_id_to_fsi_id

streamid_to_fsiid_type FrameCPP::Common::StreamBase::m_stream_id_to_fsi_id
mutableprotectedinherited

◆ m_toc

boost::shared_ptr< FrTOC > FrameCPP::Common::OFrameStream::m_toc
private

◆ m_toc_location

INT_8U FrameCPP::Common::OFrameStream::m_toc_location
private

The documentation for this class was generated from the following files: