ACE_INet  6.0.7
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
ACE::IOS::String_StreamBufferBase Class Reference

#include <String_IOStream.h>

Inheritance diagram for ACE::IOS::String_StreamBufferBase:
Inheritance graph
[legend]
Collaboration diagram for ACE::IOS::String_StreamBufferBase:
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_

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
BUFFER_SIZE 

Constructor & Destructor Documentation

ACE::IOS::String_StreamBufferBase::String_StreamBufferBase ( openmode  mode)
ACE::IOS::String_StreamBufferBase::String_StreamBufferBase ( string_type string,
openmode  mode 
)
ACE::IOS::String_StreamBufferBase::~String_StreamBufferBase ( ) [virtual]

Member Function Documentation

void ACE::IOS::String_StreamBufferBase::clear_string ( )
void ACE::IOS::String_StreamBufferBase::close_string ( )
int ACE::IOS::String_StreamBufferBase::read_from_stream ( char_type buffer,
std::streamsize  length 
) [protected, virtual]
String_StreamBufferBase< ACE_CHAR_T, TR >::pos_type ACE::IOS::String_StreamBufferBase::seekoff ( off_type  off,
seekdir  way,
openmode  which 
) [protected, virtual]
String_StreamBufferBase< ACE_CHAR_T, TR >::pos_type ACE::IOS::String_StreamBufferBase::seekpos ( pos_type  pos,
openmode  which 
) [protected, virtual]
const String_StreamBufferBase< ACE_CHAR_T, TR >::string_type & ACE::IOS::String_StreamBufferBase::str ( ) const
int ACE::IOS::String_StreamBufferBase::write_to_stream ( const char_type buffer,
std::streamsize  length 
) [protected, virtual]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines