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

#include <IOStream.hh>

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

Public Types

typedef boost::shared_ptr< FrameSpec::Objectobject_type
 
typedef const Dictionary::streamref_type::element_type * const_stream_ref_ptr_type
 
typedef Dictionary::streamref_type streamref_type
 
typedef boost::shared_ptr< FrameSpec::Objectobject_type
 
typedef const Dictionary::streamref_type::element_type * const_stream_ref_ptr_type
 
typedef Dictionary::streamref_type streamref_type
 

Public Member Functions

 StreamBase ()
 
virtual ~StreamBase ()
 
virtual void Cleanup ()
 
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 DictionaryGetDictionary () const
 
DictionaryGetDictionary ()
 
 StreamBase ()
 
virtual ~StreamBase ()
 
virtual void Cleanup ()
 
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 DictionaryGetDictionary () const
 
DictionaryGetDictionary ()
 

Protected Types

typedef std::unique_ptr< CheckSumFilterchecksum_filter_type
 
typedef std::unique_ptr< MD5SumFiltermd5sum_filter_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 std::unique_ptr< CheckSumFilterchecksum_filter_type
 
typedef std::unique_ptr< MD5SumFiltermd5sum_filter_type
 
typedef LDASTools::AL::unordered_map< INT_2U, INT_2U > streamid_to_fsiid_type
 
typedef boost::shared_ptr< PTR_STRUCT_BASEptr_struct_base_type
 

Protected Member Functions

const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 
const FrameSpec::InfoframeSpecInfo () const
 
virtual void frameSpecInfo (const FrameSpec::Info *Spec)
 

Protected Attributes

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 LDASTools::AL::unordered_map< std::string, INT_2U, LDASTools::AL::hash< std::string >, LDASTools::AL::CaseInsensitiveCmp > cntocid_mapping_type
 
typedef LDASTools::AL::unordered_map< std::string, INT_2U, LDASTools::AL::hash< std::string >, LDASTools::AL::CaseInsensitiveCmp > cntocid_mapping_type
 

Static Private Member Functions

static bool initialize ()
 
static void cleanup_at_exit ()
 
static bool initialize ()
 
static void cleanup_at_exit ()
 

Private Attributes

const FrameSpec::Infom_frame_spec
 
cmn_streamsize_type m_ptr_struct_bytes
 

Static Private Attributes

static const bool m_initialized = StreamBase::initialize( )
 
static cntocid_mapping_type m_class_name_to_class_id
 

Member Typedef Documentation

◆ checksum_filter_type [1/2]

◆ checksum_filter_type [2/2]

◆ cntocid_mapping_type [1/2]

typedef LDASTools::AL::unordered_map< std::string, INT_2U, LDASTools::AL::hash< std::string >, LDASTools::AL::CaseInsensitiveCmp > FrameCPP::Common::StreamBase::cntocid_mapping_type
private

◆ cntocid_mapping_type [2/2]

typedef LDASTools::AL::unordered_map< std::string, INT_2U, LDASTools::AL::hash< std::string >, LDASTools::AL::CaseInsensitiveCmp > FrameCPP::Common::StreamBase::cntocid_mapping_type
private

◆ const_stream_ref_ptr_type [1/2]

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

◆ const_stream_ref_ptr_type [2/2]

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

◆ md5sum_filter_type [1/2]

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

◆ md5sum_filter_type [2/2]

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

◆ object_type [1/2]

◆ object_type [2/2]

◆ ptr_struct_base_type [1/2]

◆ ptr_struct_base_type [2/2]

◆ streamid_to_fsiid_type [1/2]

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

◆ streamid_to_fsiid_type [2/2]

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

◆ streamref_type [1/2]

◆ streamref_type [2/2]

Constructor & Destructor Documentation

◆ StreamBase() [1/2]

FrameCPP::Common::StreamBase::StreamBase ( )

◆ ~StreamBase() [1/2]

FrameCPP::Common::StreamBase::~StreamBase ( )
virtual

◆ StreamBase() [2/2]

FrameCPP::Common::StreamBase::StreamBase ( )

◆ ~StreamBase() [2/2]

virtual FrameCPP::Common::StreamBase::~StreamBase ( )
virtual

Member Function Documentation

◆ Cleanup() [1/2]

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

◆ Cleanup() [2/2]

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

◆ cleanup_at_exit() [1/2]

void FrameCPP::Common::StreamBase::cleanup_at_exit ( )
staticprivate

◆ cleanup_at_exit() [2/2]

static void FrameCPP::Common::StreamBase::cleanup_at_exit ( )
staticprivate

◆ frameSpecInfo() [1/4]

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

◆ frameSpecInfo() [2/4]

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

◆ frameSpecInfo() [3/4]

void FrameCPP::Common::StreamBase::frameSpecInfo ( const FrameSpec::Info Spec)
protectedvirtual

◆ frameSpecInfo() [4/4]

virtual void FrameCPP::Common::StreamBase::frameSpecInfo ( const FrameSpec::Info Spec)
protectedvirtual

◆ GetClassId() [1/2]

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

◆ GetClassId() [2/2]

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

◆ GetDictionary() [1/4]

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

◆ GetDictionary() [2/4]

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

◆ GetDictionary() [3/4]

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

◆ GetDictionary() [4/4]

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

◆ GetFSIId() [1/2]

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

◆ GetFSIId() [2/2]

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

◆ initialize() [1/2]

bool FrameCPP::Common::StreamBase::initialize ( )
staticprivate

◆ initialize() [2/2]

static bool FrameCPP::Common::StreamBase::initialize ( )
staticprivate

◆ PtrStructBytes() [1/2]

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

◆ PtrStructBytes() [2/2]

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

◆ ReferenceStreamRef() [1/2]

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

◆ ReferenceStreamRef() [2/2]

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

Member Data Documentation

◆ m_class_name_to_class_id

static cntocid_mapping_type FrameCPP::Common::StreamBase::m_class_name_to_class_id
staticprivate

◆ m_dictionary

Dictionary FrameCPP::Common::StreamBase::m_dictionary
protected

◆ m_file_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_file_checksum
protected

Checksum for file.

◆ m_file_md5sum

md5sum_filter_type FrameCPP::Common::StreamBase::m_file_md5sum
protected

MD5Sum value for the files.

◆ m_frame_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_frame_checksum
protected

Checksum for frame.

◆ m_frame_spec

const FrameSpec::Info * FrameCPP::Common::StreamBase::m_frame_spec
private

◆ m_initialized

static const bool FrameCPP::Common::StreamBase::m_initialized = StreamBase::initialize( )
staticprivate

◆ m_null_stream_ref

object_type FrameCPP::Common::StreamBase::m_null_stream_ref
protected

◆ m_obj_checksum

checksum_filter_type FrameCPP::Common::StreamBase::m_obj_checksum
protected

Checksum for object.

◆ m_ptr_struct_bytes

cmn_streamsize_type FrameCPP::Common::StreamBase::m_ptr_struct_bytes
mutableprivate

◆ m_ptr_struct_object

ptr_struct_base_type FrameCPP::Common::StreamBase::m_ptr_struct_object
protected

◆ m_stream_id_to_fsi_id

streamid_to_fsiid_type FrameCPP::Common::StreamBase::m_stream_id_to_fsi_id
mutableprotected

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