ACE_INet  6.1.0
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR > Class Template Reference

#include <BufferedStreamBuffer.h>

Inheritance diagram for ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >:
Inheritance graph
[legend]
Collaboration diagram for ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >:
Collaboration graph
[legend]

List of all members.

Public Types

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

 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

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

int flush_buffer ()
 BasicBufferedStreamBuffer (const BasicBufferedStreamBuffer &)
BasicBufferedStreamBufferoperator= (const BasicBufferedStreamBuffer &)

Private Attributes

std::streamsize bufsize_
ACE_Auto_Array_Ptr< char_typebuffer_
std::basic_ios< ACE_CHAR_T, TR >
::openmode 
mode_
interceptor_typeinterceptor_

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


Member Typedef Documentation

template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef std::basic_streambuf<ACE_CHAR_T, TR> ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::base_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef TR ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::char_traits
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef ACE_CHAR_T ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::char_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef base_type::int_type ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::int_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef StreamInterceptorBase<char_type, char_traits> ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::interceptor_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef std::basic_ios<ACE_CHAR_T, TR> ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::ios_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef base_type::off_type ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::off_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef ios_type::openmode ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::openmode
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef base_type::pos_type ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::pos_type
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
typedef ios_type::seekdir ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::seekdir

Constructor & Destructor Documentation

template<class ACE_CHAR_T, class TR>
ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::BasicBufferedStreamBuffer ( std::streamsize  bufsz,
typename std::basic_ios< ACE_CHAR_T, TR >::openmode  mode 
)
template<class ACE_CHAR_T , class TR >
ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::~BasicBufferedStreamBuffer ( ) [virtual]
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::BasicBufferedStreamBuffer ( const BasicBufferedStreamBuffer< ACE_CHAR_T, TR > &  ) [private]

Member Function Documentation

template<class ACE_CHAR_T , class TR >
int ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::flush_buffer ( ) [private]
template<class ACE_CHAR_T , class TR >
std::basic_ios< ACE_CHAR_T, TR >::openmode ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::get_mode ( ) const [protected]
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
BasicBufferedStreamBuffer& ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::operator= ( const BasicBufferedStreamBuffer< ACE_CHAR_T, TR > &  ) [private]
template<class ACE_CHAR_T , class TR >
BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::int_type ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::overflow ( int_type  c) [virtual]
template<class ACE_CHAR_T , class TR >
int ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::read_from_stream ( char_type buffer,
std::streamsize  length 
) [protected, virtual]
template<class ACE_CHAR_T , class TR >
void ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::reset_buffers ( ) [protected]
template<class ACE_CHAR_T , class TR >
void ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::set_interceptor ( interceptor_type interceptor)
template<class ACE_CHAR_T, class TR>
void ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::set_mode ( typename std::basic_ios< ACE_CHAR_T, TR >::openmode  mode) [protected]
template<class ACE_CHAR_T , class TR >
int ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::sync ( ) [virtual]
template<class ACE_CHAR_T , class TR >
BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::int_type ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::underflow ( ) [virtual]
template<class ACE_CHAR_T , class TR >
int ACE::IOS::BasicBufferedStreamBuffer< 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>>
ACE_Auto_Array_Ptr<char_type> ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::buffer_ [private]
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
std::streamsize ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::bufsize_ [private]
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
interceptor_type* ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::interceptor_ [private]
template<class ACE_CHAR_T, class TR = std::char_traits<ACE_CHAR_T>>
std::basic_ios<ACE_CHAR_T, TR>::openmode ACE::IOS::BasicBufferedStreamBuffer< ACE_CHAR_T, TR >::mode_ [private]

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