ACE_INet  6.1.0
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
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
[legend]
Collaboration diagram for ACE::IOS::String_StreamBufferBase< ACE_CHAR_T, TR >:
Collaboration graph
[legend]

List of all members.

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

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)

Private Types

enum  { BUFFER_SIZE = 1024 }

Private Attributes

string_type string_
string_typestring_ref_
size_type rd_ptr_

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


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 
) [protected, virtual]
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 
) [protected, virtual]
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 
) [protected, virtual]
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 
) [protected, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines