#include <IOStream.hh>
Classes | |
class | container_reference |
class | ptr_reference |
class | Resizer |
class | resolver |
struct | smart_pointer_hash |
Public Types | |
typedef std::istream::char_type | char_type |
typedef std::istream::char_type | char_type |
typedef std::istream | istream_type |
typedef std::istream | istream_type |
typedef FrameBufferInterface | buffer_type |
typedef FrameBufferInterface | buffer_type |
Public Member Functions | |
IStream (buffer_type *Buffer, bool AutoDelete=true) | |
IStream (buffer_type *Buffer, bool AutoDelete=true) | |
virtual | ~IStream () |
virtual | ~IStream () |
virtual void | Cleanup () |
virtual void | Cleanup () |
CheckSumFilter * | GetCheckSumFile () const |
CheckSumFilter * | GetCheckSumFile () const |
void | SetCheckSumFile (const CheckSum::kind_type Type) |
void | SetCheckSumFile (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumFrame () const |
CheckSumFilter * | GetCheckSumFrame () const |
void | SetCheckSumFrame (const CheckSum::kind_type Type) |
void | SetCheckSumFrame (const CheckSum::kind_type Type) |
CheckSumFilter * | GetCheckSumObject () const |
CheckSumFilter * | GetCheckSumObject () const |
void | SetCheckSumObject (const CheckSum::kind_type Type) |
void | SetCheckSumObject (const CheckSum::kind_type Type) |
virtual const FrHeader & | GetFrHeader () const |
virtual const FrHeader & | GetFrHeader () const |
Dictionary::ptr_struct_key_type | NextLookup (object_type Obj) const |
Dictionary::ptr_struct_key_type | NextLookup (object_type Obj) const |
void | RemoveResolver (const void *Old, int MaxDepth) |
void | RemoveResolver (const void *Old, int MaxDepth) |
template<typename T> | |
void | PushPtr (boost::shared_ptr< T > *Obj) |
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_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> | |
void | PushRef (Container< T > &C) |
template<typename T, typename OT> | |
void | ReplaceRef (Container< T > &C, const Container< OT > &Old, const int MaxDepth) |
template<typename T, typename OT> | |
void | ReplaceRef (Container< T > &C, const Container< OT > &Old, const int MaxDepth) |
FrameBufferInterface * | rdbuf () const |
FrameBufferInterface * | rdbuf () const |
IStream & | read (char_type *S, std::streamsize N) |
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) |
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 () |
ptr_struct_base_type | ReadPtrStruct () |
void | Resolve () |
Method to resolve links. | |
void | Resolve () |
cmn_streamsize_type | Size () |
Return the size of the stream. | |
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) |
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) |
template<> | |
IStream & | operator>> (LDASTools::AL::GPSTime &Data) |
template<> | |
IStream & | operator>> (LDASTools::AL::GPSTime &Data) |
bool | ByteSwapping () const |
bool | ByteSwapping () const |
Protected Types | |
typedef boost::shared_ptr< resolver > | resolver_type |
typedef boost::shared_ptr< resolver > | resolver_type |
typedef std::list< resolver_type > | resolver_container_type |
typedef std::list< resolver_type > | resolver_container_type |
Protected Member Functions | |
void | nextReplace (object_type OldObj, object_type NewObj) |
void | nextReplace (object_type OldObj, object_type NewObj) |
void | byteSwapping (bool Value) |
void | byteSwapping (bool Value) |
virtual void | pushResolver (resolver_type Resolver) |
virtual void | pushResolver (resolver_type Resolver) |
object_type | objectLookup (object_type::element_type *Pointer) |
object_type | objectLookup (object_type::element_type *Pointer) |
const resolver_container_type & | resolverContainer () const |
resolver_container_type & | resolverContainer () |
const resolver_container_type & | resolverContainer () const |
resolver_container_type & | resolverContainer () |
void | setAutoDeleteBuffer (const bool Value) |
void | setAutoDeleteBuffer (const bool Value) |
Protected Attributes | |
bool | m_logNextPtr |
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, 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 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< CheckSumFilter > | checksum_filter_type |
typedef std::unique_ptr< buffer_type > | buffer_ptr_type |
typedef std::unique_ptr< buffer_type > | buffer_ptr_type |
|
private |
|
private |
typedef FrameBufferInterface FrameCPP::Common::IStream::buffer_type |
typedef FrameBufferInterface FrameCPP::Common::IStream::buffer_type |
typedef std::istream::char_type FrameCPP::Common::IStream::char_type |
typedef std::istream::char_type FrameCPP::Common::IStream::char_type |
|
private |
|
private |
typedef std::istream FrameCPP::Common::IStream::istream_type |
typedef std::istream FrameCPP::Common::IStream::istream_type |
|
private |
Maintains information to reconstruct linked lists.
|
private |
Maintains information to reconstruct linked lists.
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
FrameCPP::Common::IStream::IStream | ( | buffer_type * | Buffer, |
bool | AutoDelete = true ) |
|
inlinevirtual |
|
virtual |
|
inline |
bool FrameCPP::Common::IStream::ByteSwapping | ( | ) | const |
|
inlineprotected |
|
protected |
|
virtual |
Reimplemented from FrameCPP::Common::StreamBase.
|
virtual |
Reimplemented from FrameCPP::Common::StreamBase.
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumFile | ( | ) | const |
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumFrame | ( | ) | const |
|
inline |
CheckSumFilter * FrameCPP::Common::IStream::GetCheckSumObject | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
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 | ) |
|
inline |
void FrameCPP::Common::IStream::PushPtr | ( | boost::shared_ptr< T > * | Obj | ) |
|
inline |
void FrameCPP::Common::IStream::PushRef | ( | Container< T > & | C | ) |
|
protectedvirtual |
|
protectedvirtual |
|
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 | ( | ) |
|
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 |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |