ACE_INet  6.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
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 >:
Inheritance graph
Collaboration diagram for ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >:
Collaboration graph

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_traits
interceptor_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
 
void reset_buffers ()
 

Private Types

enum  { BUFFER_SIZE = 1024 }
 

Private Attributes

string_type string_
 
string_typestring_ref_
 
size_type rd_ptr_
 

Member Typedef Documentation

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
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
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
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
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
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
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
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

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<class ACE_CHAR_T , class TR >
void ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::clear_string ( )
template<class ACE_CHAR_T , class TR >
void ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >::close_string ( )
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
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
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
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
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

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
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
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: