ReactOS  0.4.15-dev-4934-gfd1e799
_Rope_insert_char_consumer< _CharT, _Traits > Class Template Reference
Inheritance diagram for _Rope_insert_char_consumer< _CharT, _Traits >:
Collaboration diagram for _Rope_insert_char_consumer< _CharT, _Traits >:

Public Member Functions

 _Rope_insert_char_consumer (_Insert_ostream &__writer)
 ~_Rope_insert_char_consumer ()
bool operator() (const _CharT *__leaf, size_t __n)
- Public Member Functions inherited from _Rope_char_consumer< _CharT >
virtual ~_Rope_char_consumer ()

Private Types

typedef basic_ostream< _CharT, _Traits > _Insert_ostream
typedef _Rope_insert_char_consumer< _CharT, _Traits > _Self

Private Member Functions

_Selfoperator= (_Self const &)

Private Attributes


Detailed Description

template<class _CharT, class _Traits>
class _Rope_insert_char_consumer< _CharT, _Traits >

Definition at line 757 of file _rope.c.

Member Typedef Documentation

◆ _Insert_ostream

template<class _CharT, class _Traits>
typedef basic_ostream<_CharT,_Traits> _Rope_insert_char_consumer< _CharT, _Traits >::_Insert_ostream

Definition at line 759 of file _rope.c.

◆ _Self

template<class _CharT, class _Traits>
typedef _Rope_insert_char_consumer<_CharT,_Traits> _Rope_insert_char_consumer< _CharT, _Traits >::_Self

Definition at line 760 of file _rope.c.

Constructor & Destructor Documentation

◆ _Rope_insert_char_consumer()

template<class _CharT, class _Traits>
_Rope_insert_char_consumer< _CharT, _Traits >::_Rope_insert_char_consumer ( _Insert_ostream __writer)

Definition at line 766 of file _rope.c.

767  : _M_o(__writer) {}
_Insert_ostream & _M_o
Definition: _rope.c:761

◆ ~_Rope_insert_char_consumer()

template<class _CharT, class _Traits>
_Rope_insert_char_consumer< _CharT, _Traits >::~_Rope_insert_char_consumer ( )

Definition at line 768 of file _rope.c.

768 {}

Member Function Documentation

◆ operator()()

template<class _CharT , class _Traits >
bool _Rope_insert_char_consumer< _CharT, _Traits >::operator() ( const _CharT *  __leaf,
size_t  __n 

Implements _Rope_char_consumer< _CharT >.

Definition at line 776 of file _rope.c.

776  {
777  size_t __i;
778  // We assume that formatting is set up correctly for each element.
779  for (__i = 0; __i < __n; ++__i) _M_o.put(__leaf[__i]);
780  return true;
781 }
return __n
Definition: _algo.h:75
_Self & put(char_type __c)
Definition: _ostream.c:408
_Insert_ostream & _M_o
Definition: _rope.c:761

◆ operator=()

template<class _CharT, class _Traits>
_Self& _Rope_insert_char_consumer< _CharT, _Traits >::operator= ( _Self const )

Member Data Documentation

◆ _M_o

template<class _CharT, class _Traits>
_Insert_ostream& _Rope_insert_char_consumer< _CharT, _Traits >::_M_o

Definition at line 761 of file _rope.c.

The documentation for this class was generated from the following file: