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

#include <StringStream.hh>

Public Types

typedef std::istringstream base_stream_type
 
typedef base_stream_type::char_type char_type
 
typedef std::streamsize streamsize_type
 
typedef std::streamoff streamoff_type
 
typedef std::ios_base::seekdir seekdir_type
 
typedef std::istringstream base_stream_type
 
typedef base_stream_type::char_type char_type
 
typedef std::streamsize streamsize_type
 
typedef std::streamoff streamoff_type
 
typedef std::ios_base::seekdir seekdir_type
 

Public Member Functions

 IStringStream (const std::string &Source, bool ByteSwap)
 
 IStringStream (const char_type *Source, streamsize_type SourceSize, bool ByteSwap)
 
bool good () const
 
IStringStreamseekg (streamsize_type Position)
 
IStringStreamseekg (streamoff_type Offset, seekdir_type Way)
 
streamsize_type tellg ()
 
template<typename L >
IStringStreamoperator>> (STRING< L > &Data)
 
template<typename DT >
IStringStreamoperator>> (DT &Data)
 
 IStringStream (const std::string &Source, bool ByteSwap)
 
 IStringStream (const char_type *Source, streamsize_type SourceSize, bool ByteSwap)
 
bool good () const
 
IStringStreamseekg (streamsize_type Position)
 
IStringStreamseekg (streamoff_type Offset, seekdir_type Way)
 
streamsize_type tellg ()
 
template<typename L >
IStringStreamoperator>> (STRING< L > &Data)
 
template<typename DT >
IStringStreamoperator>> (DT &Data)
 

Private Member Functions

void initialize () const
 
void initialize () const
 

Private Attributes

const std::string & source_string
 
const char_typesource_char_array
 
const streamsize_type source_char_array_size
 
base_stream_type stream
 
bool byte_swap
 
bool initialized
 

Static Private Attributes

static const std::string SOURCE_STRING_NULL
 

Member Typedef Documentation

◆ base_stream_type [1/2]

◆ base_stream_type [2/2]

◆ char_type [1/2]

typedef base_stream_type::char_type FrameCPP::Common::IStringStream::char_type

◆ char_type [2/2]

typedef base_stream_type::char_type FrameCPP::Common::IStringStream::char_type

◆ seekdir_type [1/2]

typedef std::ios_base::seekdir FrameCPP::Common::IStringStream::seekdir_type

◆ seekdir_type [2/2]

typedef std::ios_base::seekdir FrameCPP::Common::IStringStream::seekdir_type

◆ streamoff_type [1/2]

◆ streamoff_type [2/2]

◆ streamsize_type [1/2]

◆ streamsize_type [2/2]

Constructor & Destructor Documentation

◆ IStringStream() [1/4]

FrameCPP::Common::IStringStream::IStringStream ( const std::string &  Source,
bool  ByteSwap 
)
inline

◆ IStringStream() [2/4]

FrameCPP::Common::IStringStream::IStringStream ( const char_type Source,
streamsize_type  SourceSize,
bool  ByteSwap 
)
inline

◆ IStringStream() [3/4]

FrameCPP::Common::IStringStream::IStringStream ( const std::string &  Source,
bool  ByteSwap 
)

◆ IStringStream() [4/4]

FrameCPP::Common::IStringStream::IStringStream ( const char_type Source,
streamsize_type  SourceSize,
bool  ByteSwap 
)

Member Function Documentation

◆ good() [1/2]

bool FrameCPP::Common::IStringStream::good ( ) const
inline

◆ good() [2/2]

bool FrameCPP::Common::IStringStream::good ( ) const

◆ initialize() [1/2]

void FrameCPP::Common::IStringStream::initialize ( ) const
inlineprivate

◆ initialize() [2/2]

void FrameCPP::Common::IStringStream::initialize ( ) const
private

◆ operator>>() [1/4]

template<typename L >
IStringStream & FrameCPP::Common::IStringStream::operator>> ( STRING< L > &  Data)
inline

◆ operator>>() [2/4]

template<typename L >
IStringStream& FrameCPP::Common::IStringStream::operator>> ( STRING< L > &  Data)

◆ operator>>() [3/4]

template<typename DT >
IStringStream & FrameCPP::Common::IStringStream::operator>> ( DT Data)
inline

◆ operator>>() [4/4]

template<typename DT >
IStringStream& FrameCPP::Common::IStringStream::operator>> ( DT Data)

◆ seekg() [1/4]

IStringStream& FrameCPP::Common::IStringStream::seekg ( streamsize_type  Position)

◆ seekg() [2/4]

IStringStream & FrameCPP::Common::IStringStream::seekg ( streamsize_type  Position)
inline

◆ seekg() [3/4]

IStringStream& FrameCPP::Common::IStringStream::seekg ( streamoff_type  Offset,
seekdir_type  Way 
)

◆ seekg() [4/4]

IStringStream & FrameCPP::Common::IStringStream::seekg ( streamoff_type  Offset,
seekdir_type  Way 
)
inline

◆ tellg() [1/2]

streamsize_type FrameCPP::Common::IStringStream::tellg ( )

◆ tellg() [2/2]

IStringStream::streamsize_type FrameCPP::Common::IStringStream::tellg ( )
inline

Member Data Documentation

◆ byte_swap

bool FrameCPP::Common::IStringStream::byte_swap
private

◆ initialized

bool FrameCPP::Common::IStringStream::initialized
mutableprivate

◆ source_char_array

const char_type * FrameCPP::Common::IStringStream::source_char_array
private

◆ source_char_array_size

const streamsize_type FrameCPP::Common::IStringStream::source_char_array_size
private

◆ source_string

const std::string & FrameCPP::Common::IStringStream::source_string
private

◆ SOURCE_STRING_NULL

static const std::string FrameCPP::Common::IStringStream::SOURCE_STRING_NULL
staticprivate

◆ stream

base_stream_type FrameCPP::Common::IStringStream::stream
mutableprivate

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