ldas-tools-framecpp 3.0.4
|
#include <IOStream.hh>
Classes | |
class | container_reference |
class | ptr_reference |
class | Resizer |
Manipulator class for input streams. More... | |
class | resolver |
struct | smart_pointer_hash |
Public Types | |
typedef std::istream::char_type | char_type |
typedef std::istream | istream_type |
typedef FrameBufferInterface | buffer_type |
typedef std::istream::char_type | char_type |
typedef std::istream | istream_type |
typedef FrameBufferInterface | buffer_type |
typedef boost::shared_ptr< FrameSpec::Object > | object_type |
typedef boost::shared_ptr< FrameSpec::Object > | object_type |
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 |
Public Member Functions | |
IStream (buffer_type *Buffer, bool AutoDelete=true) | |
virtual | ~IStream () |
virtual void | Cleanup () |
CheckSumFilter * | GetCheckSumFile () const |
void | SetCheckSumFile (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumFrame () const |
void | SetCheckSumFrame (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumObject () const |
void | SetCheckSumObject (const CheckSum::kind_type Type) |
virtual const FrHeader & | GetFrHeader () const |
Dictionary::ptr_struct_key_type | NextLookup (object_type Obj) const |
void | RemoveResolver (const void *Old, int MaxDepth) |
template<typename T> | |
void | PushPtr (boost::shared_ptr< T > *Obj) |
template<typename T_NEW, typename T_OLD> | |
void | ReplacePtr (boost::shared_ptr< T_NEW > *Obj, boost::shared_ptr< 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) |
virtual ptr_struct_base_type | Next (object_type::element_type *Obj) |
ptr_struct_base_type | ReadPtrStruct () |
void | Resolve () |
Method to resolve links. | |
cmn_streamsize_type | Size () |
Return the size of the stream. | |
template<typename T> | |
IStream & | operator>> (boost::shared_ptr< 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) |
bool | ByteSwapping () const |
IStream (buffer_type *Buffer, bool AutoDelete=true) | |
virtual | ~IStream () |
virtual void | Cleanup () |
CheckSumFilter * | GetCheckSumFile () const |
void | SetCheckSumFile (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumFrame () const |
void | SetCheckSumFrame (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumObject () const |
void | SetCheckSumObject (const CheckSum::kind_type Type) |
virtual const FrHeader & | GetFrHeader () const |
Dictionary::ptr_struct_key_type | NextLookup (object_type Obj) const |
void | RemoveResolver (const void *Old, int MaxDepth) |
template<typename T> | |
void | PushPtr (boost::shared_ptr< T > *Obj) |
template<typename T_NEW, typename T_OLD> | |
void | ReplacePtr (boost::shared_ptr< T_NEW > *Obj, boost::shared_ptr< 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) |
virtual ptr_struct_base_type | Next (object_type::element_type *Obj) |
ptr_struct_base_type | ReadPtrStruct () |
void | Resolve () |
cmn_streamsize_type | Size () |
Return the size of the stream. | |
template<typename T> | |
IStream & | operator>> (boost::shared_ptr< 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) |
bool | ByteSwapping () const |
template<> | |
IStream & | operator>> (LDASTools::AL::GPSTime &Data) |
template<> | |
IStream & | operator>> (LDASTools::AL::GPSTime &Data) |
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 Dictionary & | GetDictionary () const |
Dictionary & | GetDictionary () |
const Dictionary & | GetDictionary () const |
Dictionary & | GetDictionary () |
Protected Types | |
typedef boost::shared_ptr< resolver > | resolver_type |
typedef std::list< resolver_type > | resolver_container_type |
typedef boost::shared_ptr< resolver > | resolver_type |
typedef std::list< resolver_type > | resolver_container_type |
typedef std::unique_ptr< MD5SumFilter > | md5sum_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::unordered_map< INT_2U, INT_2U > | streamid_to_fsiid_type |
typedef boost::shared_ptr< PTR_STRUCT_BASE > | ptr_struct_base_type |
typedef boost::shared_ptr< PTR_STRUCT_BASE > | ptr_struct_base_type |
Protected Member Functions | |
void | nextReplace (object_type OldObj, object_type NewObj) |
void | byteSwapping (bool Value) |
virtual void | pushResolver (resolver_type Resolver) |
object_type | objectLookup (object_type::element_type *Pointer) |
const resolver_container_type & | resolverContainer () const |
resolver_container_type & | resolverContainer () |
void | setAutoDeleteBuffer (const bool Value) |
void | nextReplace (object_type OldObj, object_type NewObj) |
void | byteSwapping (bool Value) |
virtual void | pushResolver (resolver_type Resolver) |
object_type | objectLookup (object_type::element_type *Pointer) |
const resolver_container_type & | resolverContainer () const |
resolver_container_type & | resolverContainer () |
void | setAutoDeleteBuffer (const bool Value) |
const FrameSpec::Info & | frameSpecInfo () const |
virtual void | frameSpecInfo (const FrameSpec::Info *Spec) |
const FrameSpec::Info & | frameSpecInfo () const |
virtual void | frameSpecInfo (const FrameSpec::Info *Spec) |
Protected Attributes | |
bool | m_logNextPtr |
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 |
md5sum_filter_type | m_file_md5sum |
MD5Sum value for the files. |
Private Types | |
typedef LDASTools::AL::unordered_map< object_type, Dictionary::ptr_struct_key_type, smart_pointer_hash< object_type > > | next_container_type |
Maintains information to reconstruct linked lists. | |
typedef LDASTools::AL::unordered_map< object_type::element_type *, object_type, LDASTools::AL::hash_pointer< object_type::element_type > > | object_container_type |
typedef std::unique_ptr< CheckSumFilter > | checksum_filter_type |
typedef std::unique_ptr< buffer_type > | buffer_ptr_type |
typedef LDASTools::AL::unordered_map< object_type, Dictionary::ptr_struct_key_type, smart_pointer_hash< object_type > > | next_container_type |
Maintains information to reconstruct linked lists. | |
typedef LDASTools::AL::unordered_map< object_type::element_type *, object_type, LDASTools::AL::hash_pointer< object_type::element_type > > | object_container_type |
typedef std::unique_ptr< CheckSumFilter > | checksum_filter_type |
typedef std::unique_ptr< buffer_type > | buffer_ptr_type |
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 bool | initialize () |
static void | cleanup_at_exit () |
static void | cleanup_at_exit () |
Static Private Attributes | |
static const bool | m_initialized = StreamBase::initialize( ) |
static cntocid_mapping_type | m_class_name_to_class_id |
|
private |
|
private |
typedef std::istream::char_type FrameCPP::Common::IStream::char_type |
typedef std::istream::char_type FrameCPP::Common::IStream::char_type |
|
private |
|
private |
|
privateinherited |
|
privateinherited |
|
inherited |
|
inherited |
typedef std::istream FrameCPP::Common::IStream::istream_type |
typedef std::istream FrameCPP::Common::IStream::istream_type |
|
protectedinherited |
|
protectedinherited |
|
private |
Maintains information to reconstruct linked lists.
|
private |
Maintains information to reconstruct linked lists.
|
private |
|
private |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inline |
|
inlinevirtual |
FrameCPP::Common::IStream::IStream | ( | buffer_type * | Buffer, |
bool | AutoDelete = true ) |
|
virtual |
|
inline |
bool FrameCPP::Common::IStream::ByteSwapping | ( | ) | const |
|
inlineprotected |
|
protected |
|
virtual |
Reimplemented from FrameCPP::Common::StreamBase.
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
virtual |
Reimplemented from FrameCPP::Common::StreamBase.
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
staticprivateinherited |
|
staticprivateinherited |
|
inlineprotectedinherited |
|
protectedinherited |
|
protectedvirtualinherited |
Reimplemented in FrameCPP::Common::FrameStream, and FrameCPP::Common::FrameStream.
|
protectedvirtualinherited |
Reimplemented in FrameCPP::Common::FrameStream, and FrameCPP::Common::FrameStream.
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumFile | ( | ) | const |
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumFrame | ( | ) | const |
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumObject | ( | ) | const |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
inlineinherited |
|
inherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream.
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream.
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
virtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
inline |
Dictionary::ptr_struct_key_type FrameCPP::Common::IStream::NextLookup | ( | object_type | Obj | ) | const |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
protected |
|
inline |
IStream & FrameCPP::Common::IStream::operator>> | ( | boost::shared_ptr< T > * | Data | ) |
|
inline |
IStream & FrameCPP::Common::IStream::operator>> | ( | IStream::Resizer< T, S > | Value | ) |
|
inline |
|
inline |
|
inline |
IStream & FrameCPP::Common::IStream::operator>> | ( | SearchContainer< T, F > & | SC | ) |
IStream & FrameCPP::Common::IStream::operator>> | ( | std::vector< STRING< L > > & | String | ) |
|
inline |
IStream & FrameCPP::Common::IStream::operator>> | ( | STRING_SHADOW< L > & | String | ) |
|
inlineinherited |
|
inherited |
|
inline |
void FrameCPP::Common::IStream::PushPtr | ( | boost::shared_ptr< T > * | Obj | ) |
|
inline |
void FrameCPP::Common::IStream::PushRef | ( | Container< T > & | C | ) |
|
protectedvirtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
protectedvirtual |
Reimplemented in FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
|
inline |
FrameBufferInterface * FrameCPP::Common::IStream::rdbuf | ( | ) | const |
IStream::ptr_struct_base_type IStream::ReadPtrStruct | ( | ) |
Reads the next group of bytes from the stream as a PTR_STRUCT as defined by the active frame specification associated with the stream.
ptr_struct_base_type FrameCPP::Common::IStream::ReadPtrStruct | ( | ) |
|
inherited |
|
inherited |
|
inline |
void FrameCPP::Common::IStream::RemoveResolver | ( | const void * | Old, |
int | MaxDepth ) |
|
inline |
void FrameCPP::Common::IStream::ReplacePtr | ( | boost::shared_ptr< T_NEW > * | Obj, |
boost::shared_ptr< T_OLD > * | OldPtr, | ||
const int | MaxDepth ) |
|
inline |
void FrameCPP::Common::IStream::ReplaceRef | ( | Container< T > & | C, |
const Container< OT > & | Old, | ||
const int | MaxDepth ) |
void IStream::Resolve | ( | ) |
Method to resolve links.
void FrameCPP::Common::IStream::Resolve | ( | ) |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
protected |
|
inline |
void FrameCPP::Common::IStream::SetCheckSumFile | ( | const CheckSum::kind_type | Type | ) |
|
inline |
void FrameCPP::Common::IStream::SetCheckSumFrame | ( | const CheckSum::kind_type | Type | ) |
|
inline |
void FrameCPP::Common::IStream::SetCheckSumObject | ( | const CheckSum::kind_type | Type | ) |
|
inline |
Return the size of the stream.
cmn_streamsize_type FrameCPP::Common::IStream::Size | ( | ) |
Return the size of the stream.
|
private |
|
private |
|
private |
|
staticprivateinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
MD5Sum value for the files.
|
private |
|
private |
|
privateinherited |
|
staticprivateinherited |
|
protected |
|
private |
|
protectedinherited |
|
private |
|
private |
|
mutableprivateinherited |
|
protectedinherited |
|
private |
|
mutableprotectedinherited |
|
private |
|
private |