ACE_INet 8.0.5
Loading...
Searching...
No Matches
ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR > Class Template Reference

#include <String_IOStream.h>

Inheritance diagram for ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >:
Collaboration diagram for ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >:

Public Types

typedef BasicBufferedStreamBuffer< ACE_CHAR_T, TR > super
typedef super::char_type char_type
typedef super::openmode openmode
typedef ACE_String_Base< ACE_CHAR_T > string_type
typedef string_type::size_type size_type
typedef super::pos_type pos_type
typedef super::off_type off_type
typedef super::seekdir seekdir
Public Types inherited from ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >
typedef std::basic_streambuf< ACE_CHAR_T, TR > base_type
typedef std::basic_ios< ACE_CHAR_T, TR > ios_type
typedef ACE_CHAR_T char_type
typedef TR char_traits
typedef base_type::int_type int_type
typedef base_type::pos_type pos_type
typedef base_type::off_type off_type
typedef ios_type::seekdir seekdir
typedef ios_type::openmode openmode
typedef StreamInterceptorBase< char_type, char_traitsinterceptor_type

Public Member Functions

 String_StreamBufferBase (openmode mode)
 String_StreamBufferBase (string_type &string, openmode mode)
virtual ~String_StreamBufferBase ()
const string_typestr () const
void close_string ()
void clear_string ()
Public Member Functions inherited from ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >
 BasicBufferedStreamBuffer (std::streamsize bufsz, typename std::basic_ios< ACE_CHAR_T, TR >::openmode mode)
virtual ~BasicBufferedStreamBuffer ()
virtual int_type overflow (int_type c)
virtual int_type underflow ()
virtual int sync ()
void set_interceptor (interceptor_type &interceptor)

Protected Member Functions

virtual int read_from_stream (char_type *buffer, std::streamsize length)
virtual int write_to_stream (const char_type *buffer, std::streamsize length)
virtual pos_type seekoff (off_type off, seekdir way, openmode which)
virtual pos_type seekpos (pos_type pos, openmode which)
Protected Member Functions inherited from ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >
void set_mode (typename std::basic_ios< ACE_CHAR_T, TR >::openmode mode)
std::basic_ios< ACE_CHAR_T, TR >::openmode get_mode () const
virtual int read_from_stream (char_type *buffer, std::streamsize length)
virtual int write_to_stream (const char_type *buffer, std::streamsize length)
void reset_buffers ()

Private Types

enum  { BUFFER_SIZE = 1024 }

Private Attributes

string_type string_
string_typestring_ref_
size_type rd_ptr_

Member Typedef Documentation

◆ char_type

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef super::char_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::char_type

◆ off_type

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef super::off_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::off_type

◆ openmode

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef super::openmode ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::openmode

◆ pos_type

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef super::pos_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::pos_type

◆ seekdir

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef super::seekdir ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::seekdir

◆ size_type

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef string_type::size_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::size_type

◆ string_type

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef ACE_String_Base<ACE_CHAR_T> ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::string_type

◆ super

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef BasicBufferedStreamBuffer<ACE_CHAR_T, TR> ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::super

Member Enumeration Documentation

◆ anonymous enum

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
anonymous enum
private
Enumerator
BUFFER_SIZE 

Constructor & Destructor Documentation

◆ String_StreamBufferBase() [1/2]

template<class ACE_CHAR_T, class TR>
ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::String_StreamBufferBase ( openmode mode)

◆ String_StreamBufferBase() [2/2]

template<class ACE_CHAR_T, class TR>
ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::String_StreamBufferBase ( string_type & string,
openmode mode )

◆ ~String_StreamBufferBase()

template<class ACE_CHAR_T, class TR>
ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::~String_StreamBufferBase ( )
virtual

Member Function Documentation

◆ clear_string()

template<class ACE_CHAR_T, class TR>
void ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::clear_string ( )

◆ close_string()

template<class ACE_CHAR_T, class TR>
void ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::close_string ( )

◆ read_from_stream()

template<class ACE_CHAR_T, class TR>
int ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::read_from_stream ( char_type * buffer,
std::streamsize length )
protectedvirtual

◆ seekoff()

template<class ACE_CHAR_T, class TR>
String_StreamBufferBase< ACE_CHAR_T, TR >::pos_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::seekoff ( off_type off,
seekdir way,
openmode which )
protectedvirtual

◆ seekpos()

template<class ACE_CHAR_T, class TR>
String_StreamBufferBase< ACE_CHAR_T, TR >::pos_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::seekpos ( pos_type pos,
openmode which )
protectedvirtual

◆ str()

template<class ACE_CHAR_T, class TR>
const String_StreamBufferBase< ACE_CHAR_T, TR >::string_type & ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::str ( ) const

◆ write_to_stream()

template<class ACE_CHAR_T, class TR>
int ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::write_to_stream ( const char_type * buffer,
std::streamsize length )
protectedvirtual

Member Data Documentation

◆ rd_ptr_

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
size_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::rd_ptr_
private

◆ string_

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
string_type ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::string_
private

◆ string_ref_

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
string_type* ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::string_ref_
private

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