arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

basic_ikokostream< _Elem, _Traits, _Alloc > Class Template Reference

#include <kokostream.h>

List of all members.

template<class _Elem, class _Traits, class _Alloc>
class basic_ikokostream< _Elem, _Traits, _Alloc >


Public Types

typedef _Alloc allocator_type
typedef basic_kokobuf< _Elem,
_Traits, _Alloc > 
_Mysb
 type of stream buffer we use

typedef std::basic_string<
_Elem, _Traits, _Alloc > 
_Mystr
 type of string we return


Public Member Functions

 basic_ikokostream (_Mysb *sb)
 construct, use an existing buffer

virtual ~basic_ikokostream ()
 destruct

void setStreamBuffer (_Mysb *sb)
 change buffer

gutz::SmartPtr< _MysbgetStreamBuffer ()
 get buffer

_Mysbrdbuf () const
 get the buffer object

_Mystr str () const
 Deep copy string out.

void str (const _Mystr &_Newstr)
 Resize & deep copy in.


Protected Attributes

gutz::SmartPtr< _Mysb_kokobuffer

Member Typedef Documentation

template<class _Elem, class _Traits, class _Alloc>
typedef basic_kokobuf<_Elem, _Traits, _Alloc> basic_ikokostream< _Elem, _Traits, _Alloc >::_Mysb
 

type of stream buffer we use

Definition at line 654 of file kokostream.h.

template<class _Elem, class _Traits, class _Alloc>
typedef std::basic_string<_Elem, _Traits, _Alloc> basic_ikokostream< _Elem, _Traits, _Alloc >::_Mystr
 

type of string we return

Definition at line 656 of file kokostream.h.

Referenced by basic_ikokostream< _Elem, _Traits, _Alloc >::str().

template<class _Elem, class _Traits, class _Alloc>
typedef _Alloc basic_ikokostream< _Elem, _Traits, _Alloc >::allocator_type
 

Definition at line 652 of file kokostream.h.


Constructor & Destructor Documentation

template<class _Elem, class _Traits, class _Alloc>
basic_ikokostream< _Elem, _Traits, _Alloc >::basic_ikokostream _Mysb sb  )  [inline, explicit]
 

construct, use an existing buffer

Definition at line 660 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer.

template<class _Elem, class _Traits, class _Alloc>
virtual basic_ikokostream< _Elem, _Traits, _Alloc >::~basic_ikokostream  )  [inline, virtual]
 

destruct

Definition at line 668 of file kokostream.h.


Member Function Documentation

template<class _Elem, class _Traits, class _Alloc>
gutz::SmartPtr<_Mysb> basic_ikokostream< _Elem, _Traits, _Alloc >::getStreamBuffer  )  [inline]
 

get buffer

Definition at line 682 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer.

template<class _Elem, class _Traits, class _Alloc>
_Mysb* basic_ikokostream< _Elem, _Traits, _Alloc >::rdbuf  )  const [inline]
 

get the buffer object

Definition at line 686 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer, and gutz::SmartPtr< _Mysb >::getPtr().

template<class _Elem, class _Traits, class _Alloc>
void basic_ikokostream< _Elem, _Traits, _Alloc >::setStreamBuffer _Mysb sb  )  [inline]
 

change buffer

Definition at line 674 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer.

template<class _Elem, class _Traits, class _Alloc>
void basic_ikokostream< _Elem, _Traits, _Alloc >::str const _Mystr _Newstr  )  [inline]
 

Resize & deep copy in.

Definition at line 700 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer.

template<class _Elem, class _Traits, class _Alloc>
_Mystr basic_ikokostream< _Elem, _Traits, _Alloc >::str  )  const [inline]
 

Deep copy string out.

Definition at line 693 of file kokostream.h.

References basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer, and basic_ikokostream< _Elem, _Traits, _Alloc >::_Mystr.


Member Data Documentation

template<class _Elem, class _Traits, class _Alloc>
gutz::SmartPtr<_Mysb> basic_ikokostream< _Elem, _Traits, _Alloc >::_kokobuffer [protected]
 

Definition at line 706 of file kokostream.h.

Referenced by basic_ikokostream< _Elem, _Traits, _Alloc >::basic_ikokostream(), basic_ikokostream< _Elem, _Traits, _Alloc >::getStreamBuffer(), basic_ikokostream< _Elem, _Traits, _Alloc >::rdbuf(), basic_ikokostream< _Elem, _Traits, _Alloc >::setStreamBuffer(), and basic_ikokostream< _Elem, _Traits, _Alloc >::str().


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk