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

std::rope Class Template Reference

#include <stl_rope.h>

Inherits std::_Rope_base< _CharT, _Alloc >.

List of all members.

Public Types


Public Methods


Static Public Attributes


Protected Types

enum  { _S_copy_max = 23 }

Static Protected Methods


Static Protected Attributes


Friends

class  _Rope_iterator< _CharT, _Alloc >
class  _Rope_const_iterator< _CharT, _Alloc >
class  _Rope_iterator_base< _CharT, _Alloc >
class  _Rope_char_ptr_proxy< _CharT, _Alloc >
class  _Rope_char_ref_proxy< _CharT, _Alloc >

template<class _CharT, class _Alloc> class std::rope


Member Typedef Documentation

typedef _CharT value_type
 

typedef ptrdiff_t difference_type
 

typedef size_t size_type
 

typedef _CharT const_reference
 

typedef const _CharT* const_pointer
 

typedef _Rope_iterator<_CharT,_Alloc> iterator
 

typedef _Rope_const_iterator<_CharT,_Alloc> const_iterator
 

typedef _Rope_char_ref_proxy<_CharT,_Alloc> reference
 

typedef _Rope_char_ptr_proxy<_CharT,_Alloc> pointer
 

typedef _Rope_base<_CharT,_Alloc> _Base [protected]
 

Reimplemented from std::_Rope_base.

typedef _Base::allocator_type allocator_type [protected]
 

Reimplemented from std::_Rope_base.

typedef __GC_CONST _CharT* _Cstrptr [protected]
 

typedef _Rope_RopeRep<_CharT,_Alloc> _RopeRep [protected]
 

Reimplemented from std::_Rope_base.

typedef _Rope_RopeConcatenation<_CharT,_Alloc> _RopeConcatenation [protected]
 

typedef _Rope_RopeLeaf<_CharT,_Alloc> _RopeLeaf [protected]
 

typedef _Rope_RopeFunction<_CharT,_Alloc> _RopeFunction [protected]
 

typedef _Rope_RopeSubstring<_CharT,_Alloc> _RopeSubstring [protected]
 

typedef _Rope_self_destruct_ptr<_CharT,_Alloc> _Self_destruct_ptr [protected]
 

typedef reverse_iterator<const_iterator> const_reverse_iterator
 

typedef reverse_iterator<iterator> reverse_iterator
 


Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
_S_copy_max  


Constructor & Destructor Documentation

rope ( const _CharT * __s,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( const _CharT * __s,
size_t __len,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( const _CharT * __s,
const _CharT * __e,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( const const_iterator & __s,
const const_iterator & __e,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( const iterator & __s,
const iterator & __e,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( _CharT __c,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( size_t __n,
_CharT __c,
const allocator_type & __a = allocator_type() )
 

rope ( const allocator_type & __a = allocator_type() ) [inline]
 

rope ( char_producer< _CharT > * __fn,
size_t __len,
bool __delete_fn,
const allocator_type & __a = allocator_type() ) [inline]
 

rope ( const rope<_CharT, _Alloc> & __x,
const allocator_type & __a = allocator_type() ) [inline]
 

~rope ( ) [inline]
 


Member Function Documentation

bool _S_is0 ( _CharT __c ) [inline, static, protected]
 

_CharT _S_fetch ( _RopeRep * __r,
size_type __pos ) [static, protected]
 

_CharT* _S_fetch_ptr ( _RopeRep * __r,
size_type __pos ) [static, protected]
 

bool _S_apply_to_pieces ( _Rope_char_consumer< _CharT > & __c,
const _RopeRep * __r,
size_t __begin,
size_t __end ) [static, protected]
 

void _S_unref ( _RopeRep * __t ) [inline, static, protected]
 

void _S_ref ( _RopeRep * __t ) [inline, static, protected]
 

_RopeRep* _S_substring ( _RopeRep * __base,
size_t __start,
size_t __endp1 ) [static, protected]
 

_RopeRep* _S_concat_char_iter ( _RopeRep * __r,
const _CharT * __iter,
size_t __slen ) [static, protected]
 

_RopeRep* _S_destr_concat_char_iter ( _RopeRep * __r,
const _CharT * __iter,
size_t __slen ) [static, protected]
 

_RopeRep* _S_concat ( _RopeRep * __left,
_RopeRep * __right ) [static, protected]
 

void apply_to_pieces ( size_t __begin,
size_t __end,
_Rope_char_consumer< _CharT > & __c ) const [inline]
 

size_t _S_rounded_up_size ( size_t __n ) [inline, static, protected]
 

size_t _S_allocated_capacity ( size_t __n ) [inline, static, protected]
 

_RopeLeaf* _S_new_RopeLeaf ( __GC_CONST _CharT * __s,
size_t __size,
allocator_type __a ) [inline, static, protected]
 

_RopeConcatenation* _S_new_RopeConcatenation ( _RopeRep * __left,
_RopeRep * __right,
allocator_type __a ) [inline, static, protected]
 

_RopeFunction* _S_new_RopeFunction ( char_producer< _CharT > * __f,
size_t __size,
bool __d,
allocator_type __a ) [inline, static, protected]
 

_RopeSubstring* _S_new_RopeSubstring ( _Rope_RopeRep< _CharT, _Alloc > * __b,
size_t __s,
size_t __l,
allocator_type __a ) [inline, static, protected]
 

_RopeLeaf* _S_RopeLeaf_from_unowned_char_ptr ( const _CharT * __s,
size_t __size,
allocator_type __a ) [inline, static, protected]
 

_RopeRep* _S_tree_concat ( _RopeRep * __left,
_RopeRep * __right ) [static, protected]
 

_RopeLeaf* _S_leaf_concat_char_iter ( _RopeLeaf * __r,
const _CharT * __iter,
size_t __slen ) [static, protected]
 

_RopeLeaf* _S_destr_leaf_concat_char_iter ( _RopeLeaf * __r,
const _CharT * __iter,
size_t __slen ) [static, protected]
 

bool empty ( ) const [inline]
 

int compare ( const rope<_CharT, _Alloc> & __y ) const [inline]
 

rope & operator= ( const rope<_CharT, _Alloc> & __x ) [inline]
 

void clear ( ) [inline]
 

void push_back ( _CharT __x ) [inline]
 

void pop_back ( ) [inline]
 

_CharT back ( ) const [inline]
 

void push_front ( _CharT __x ) [inline]
 

void pop_front ( ) [inline]
 

_CharT front ( ) const [inline]
 

void balance ( ) [inline]
 

void copy ( _CharT * __buffer ) const [inline]
 

size_type copy ( size_type __pos,
size_type __n,
_CharT * __buffer ) const [inline]
 

void dump ( ) [inline]
 

const _CharT* c_str ( ) const
 

const _CharT* replace_with_c_str ( )
 

void delete_c_str ( ) [inline]
 

_CharT operator[] ( size_type __pos ) const [inline]
 

_CharT at ( size_type __pos ) const [inline]
 

const_iterator begin ( ) const [inline]
 

const_iterator const_begin ( ) const [inline]
 

const_iterator end ( ) const [inline]
 

const_iterator const_end ( ) const [inline]
 

size_type size ( ) const [inline]
 

size_type length ( ) const [inline]
 

size_type max_size ( ) const [inline]
 

const_reverse_iterator rbegin ( ) const [inline]
 

const_reverse_iterator const_rbegin ( ) const [inline]
 

const_reverse_iterator rend ( ) const [inline]
 

const_reverse_iterator const_rend ( ) const [inline]
 

rope & append ( const _CharT * __iter,
size_t __n ) [inline]
 

rope & append ( const _CharT * __c_string ) [inline]
 

rope & append ( const _CharT * __s,
const _CharT * __e ) [inline]
 

rope & append ( const_iterator __s,
const_iterator __e ) [inline]
 

rope & append ( _CharT __c ) [inline]
 

rope & append ( ) [inline]
 

rope & append ( const rope<_CharT, _Alloc> & __y ) [inline]
 

rope & append ( size_t __n,
_CharT __c ) [inline]
 

void swap ( rope<_CharT, _Alloc> & __b ) [inline]
 

_RopeRep* replace ( _RopeRep * __old,
size_t __pos1,
size_t __pos2,
_RopeRep * __r ) [inline, static, protected]
 

void insert ( size_t __p,
const rope<_CharT, _Alloc> & __r ) [inline]
 

void insert ( size_t __p,
size_t __n,
_CharT __c ) [inline]
 

void insert ( size_t __p,
const _CharT * __i,
size_t __n ) [inline]
 

void insert ( size_t __p,
const _CharT * __c_string ) [inline]
 

void insert ( size_t __p,
_CharT __c ) [inline]
 

void insert ( size_t __p ) [inline]
 

void insert ( size_t __p,
const _CharT * __i,
const _CharT * __j ) [inline]
 

void insert ( size_t __p,
const const_iterator & __i,
const const_iterator & __j ) [inline]
 

void insert ( size_t __p,
const iterator & __i,
const iterator & __j ) [inline]
 

void replace ( size_t __p,
size_t __n,
const rope<_CharT, _Alloc> & __r ) [inline]
 

void replace ( size_t __p,
size_t __n,
const _CharT * __i,
size_t __i_len ) [inline]
 

void replace ( size_t __p,
size_t __n,
_CharT __c ) [inline]
 

void replace ( size_t __p,
size_t __n,
const _CharT * __c_string ) [inline]
 

void replace ( size_t __p,
size_t __n,
const _CharT * __i,
const _CharT * __j ) [inline]
 

void replace ( size_t __p,
size_t __n,
const const_iterator & __i,
const const_iterator & __j ) [inline]
 

void replace ( size_t __p,
size_t __n,
const iterator & __i,
const iterator & __j ) [inline]
 

void replace ( size_t __p,
_CharT __c ) [inline]
 

void replace ( size_t __p,
const rope<_CharT, _Alloc> & __r ) [inline]
 

void replace ( size_t __p,
const _CharT * __i,
size_t __i_len ) [inline]
 

void replace ( size_t __p,
const _CharT * __c_string ) [inline]
 

void replace ( size_t __p,
const _CharT * __i,
const _CharT * __j ) [inline]
 

void replace ( size_t __p,
const const_iterator & __i,
const const_iterator & __j ) [inline]
 

void replace ( size_t __p,
const iterator & __i,
const iterator & __j ) [inline]
 

void erase ( size_t __p,
size_t __n ) [inline]
 

void erase ( size_t __p ) [inline]
 

iterator insert ( const iterator & __p,
const rope<_CharT, _Alloc> & __r ) [inline]
 

iterator insert ( const iterator & __p,
size_t __n,
_CharT __c ) [inline]
 

iterator insert ( const iterator & __p,
_CharT __c ) [inline]
 

iterator insert ( const iterator & __p ) [inline]
 

iterator insert ( const iterator & __p,
const _CharT * c_string ) [inline]
 

iterator insert ( const iterator & __p,
const _CharT * __i,
size_t __n ) [inline]
 

iterator insert ( const iterator & __p,
const _CharT * __i,
const _CharT * __j ) [inline]
 

iterator insert ( const iterator & __p,
const const_iterator & __i,
const const_iterator & __j ) [inline]
 

iterator insert ( const iterator & __p,
const iterator & __i,
const iterator & __j ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const rope<_CharT, _Alloc> & __r ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
_CharT __c ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const _CharT * __c_string ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const _CharT * __i,
size_t __n ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const _CharT * __i,
const _CharT * __j ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const const_iterator & __i,
const const_iterator & __j ) [inline]
 

void replace ( const iterator & __p,
const iterator & __q,
const iterator & __i,
const iterator & __j ) [inline]
 

void replace ( const iterator & __p,
const rope<_CharT, _Alloc> & __r ) [inline]
 

void replace ( const iterator & __p,
_CharT __c ) [inline]
 

void replace ( const iterator & __p,
const _CharT * __c_string ) [inline]
 

void replace ( const iterator & __p,
const _CharT * __i,
size_t __n ) [inline]
 

void replace ( const iterator & __p,
const _CharT * __i,
const _CharT * __j ) [inline]
 

void replace ( const iterator & __p,
const_iterator __i,
const_iterator __j ) [inline]
 

void replace ( const iterator & __p,
iterator __i,
iterator __j ) [inline]
 

iterator erase ( const iterator & __p,
const iterator & __q ) [inline]
 

iterator erase ( const iterator & __p ) [inline]
 

rope substr ( size_t __start,
size_t __len = 1 ) const [inline]
 

rope substr ( iterator __start,
iterator __end ) const [inline]
 

rope substr ( iterator __start ) const [inline]
 

rope substr ( const_iterator __start,
const_iterator __end ) const [inline]
 

rope< _CharT, _Alloc > substr<_CharT,_Alloc> ( const_iterator __start ) [inline]
 

size_type find ( _CharT __c,
size_type __pos = 0 ) const
 

size_type find ( const _CharT * __s,
size_type __pos = 0 ) const [inline]
 

iterator mutable_begin ( ) [inline]
 

iterator mutable_end ( ) [inline]
 

reverse_iterator mutable_rbegin ( ) [inline]
 

reverse_iterator mutable_rend ( ) [inline]
 

reference mutable_reference_at ( size_type __pos ) [inline]
 

const_iterator end ( ) [inline]
 

const_iterator begin ( ) [inline]
 

const_reverse_iterator rend ( ) [inline]
 

const_reverse_iterator rbegin ( ) [inline]
 


Friends And Related Function Documentation

friend class _Rope_iterator< _CharT, _Alloc > [friend]
 

friend class _Rope_const_iterator< _CharT, _Alloc > [friend]
 

friend struct _Rope_RopeRep< _CharT, _Alloc > [friend]
 

friend class _Rope_iterator_base< _CharT, _Alloc > [friend]
 

friend class _Rope_char_ptr_proxy< _CharT, _Alloc > [friend]
 

friend class _Rope_char_ref_proxy< _CharT, _Alloc > [friend]
 

friend struct _Rope_RopeSubstring< _CharT, _Alloc > [friend]
 

rope<_CharT2,_Alloc2> operator+ ( const rope< _CharT2, _Alloc2 > & __left,
const rope< _CharT2, _Alloc2 > & __right ) [friend]
 

rope<_CharT2,_Alloc2> operator+ ( const rope< _CharT2, _Alloc2 > & __left,
const _CharT2 * __right ) [friend]
 

rope<_CharT2,_Alloc2> operator+ ( const rope< _CharT2, _Alloc2 > & __left,
_CharT2 __right ) [friend]
 


Member Data Documentation

_CharT _S_empty_c_str[1] [static, protected]
 

const size_type npos [static]
 


The documentation for this class was generated from the following files:
Generated at Fri Apr 6 15:54:35 2001 for libstdc++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001