rope Class Reference

class rope
Public Member Functions
rope ( _RopeRep *, const allocator_type &)
rope (const _CharT *, const allocator_type &)
rope (const _CharT *, size_t , const allocator_type &)
rope (const _CharT *, const _CharT *, const allocator_type &)
rope (const const_iterator &, const const_iterator &, const allocator_type &)
rope (const iterator &, const iterator &, const allocator_type &)
rope (_CharT, const allocator_type &)
rope ( size_t , _CharT, const allocator_type &)
rope (const allocator_type &)
rope ( char_producer < _CharT > *, size_t , bool, const allocator_type &)
rope (const _Self &)
rope ( __move_source < _Self >)
~rope ()
size_t _S_char_ptr_len (const _CharT *)
_RopeRep * _S_concat_char_iter ( _RopeRep *, const _CharT *, size_t )
_RopeRep * _S_concat_rep ( _RopeRep *, _RopeRep *)
_RopeRep * _S_destr_concat_char_iter ( _RopeRep *, const _CharT *, size_t )
_CharT _S_fetch ( _RopeRep *, size_type )
_CharT * _S_fetch_ptr ( _RopeRep *, size_type )
void _S_ref ( _RopeRep *)
_RopeRep * _S_substring ( _RopeRep *, size_t , size_t )
void _S_unref ( _RopeRep *)
_Self & append (const _CharT *, size_t )
_Self & append (const _CharT *)
_Self & append (const _CharT *, const _CharT *)
_Self & append ( const_iterator , const_iterator )
_Self & append (_CharT)
_Self & append ()
_Self & append (const _Self &)
_Self & append ( size_t , _CharT)
void apply_to_pieces ( size_t , size_t , _CharConsumer &)
_CharT at ( size_type )
_CharT back ()
void balance ()
const_iterator begin ()
const_iterator begin ()
const _CharT * c_str ()
void clear ()
int compare (const _Self &)
const_iterator const_begin ()
const_iterator const_end ()
const_reverse_iterator const_rbegin ()
const_reverse_iterator const_rend ()
void copy (_CharT *)
size_type copy ( size_type , size_type , _CharT *)
void delete_c_str ()
bool empty ()
const_iterator end ()
const_iterator end ()
void erase ( size_t , size_t )
void erase ( size_t )
iterator erase (const iterator &, const iterator &)
iterator erase (const iterator &)
size_type find (const _Self &, size_type )
size_type find (_CharT, size_type )
size_type find (const _CharT *, size_type )
_CharT front ()
allocator_type get_allocator ()
void insert ( size_t , const _Self &)
void insert ( size_t , size_t , _CharT)
void insert ( size_t , const _CharT *, size_t )
void insert ( size_t , const _CharT *)
void insert ( size_t , _CharT)
void insert ( size_t )
void insert ( size_t , const _CharT *, const _CharT *)
void insert ( size_t , const const_iterator &, const const_iterator &)
void insert ( size_t , const iterator &, const iterator &)
iterator insert (const iterator &, const _Self &)
iterator insert (const iterator &, size_t , _CharT)
iterator insert (const iterator &, _CharT)
iterator insert (const iterator &)
iterator insert (const iterator &, const _CharT *)
iterator insert (const iterator &, const _CharT *, size_t )
iterator insert (const iterator &, const _CharT *, const _CharT *)
iterator insert (const iterator &, const const_iterator &, const const_iterator &)
iterator insert (const iterator &, const iterator &, const iterator &)
size_type length ()
size_type max_size ()
iterator mutable_begin ()
iterator mutable_end ()
reverse_iterator mutable_rbegin ()
reference mutable_reference_at ( size_type )
reverse_iterator mutable_rend ()
_Self & operator= (const _Self &)
_CharT operator[] ( size_type )
void pop_back ()
void pop_front ()
void push_back (_CharT)
void push_front (_CharT)
const_reverse_iterator rbegin ()
const_reverse_iterator rbegin ()
const_reverse_iterator rend ()
const_reverse_iterator rend ()
void replace ( size_t , size_t , const _Self &)
void replace ( size_t , size_t , const _CharT *, size_t )
void replace ( size_t , size_t , _CharT)
void replace ( size_t , size_t , const _CharT *)
void replace ( size_t , size_t , const _CharT *, const _CharT *)
void replace ( size_t , size_t , const const_iterator &, const const_iterator &)
void replace ( size_t , size_t , const iterator &, const iterator &)
void replace ( size_t , _CharT)
void replace ( size_t , const _Self &)
void replace ( size_t , const _CharT *, size_t )
void replace ( size_t , const _CharT *)
void replace ( size_t , const _CharT *, const _CharT *)
void replace ( size_t , const const_iterator &, const const_iterator &)
void replace ( size_t , const iterator &, const iterator &)
void replace (const iterator &, const iterator &, const _Self &)
void replace (const iterator &, const iterator &, _CharT)
void replace (const iterator &, const iterator &, const _CharT *)
void replace (const iterator &, const iterator &, const _CharT *, size_t )
void replace (const iterator &, const iterator &, const _CharT *, const _CharT *)
void replace (const iterator &, const iterator &, const const_iterator &, const const_iterator &)
void replace (const iterator &, const iterator &, const iterator &, const iterator &)
void replace (const iterator &, const _Self &)
void replace (const iterator &, _CharT)
void replace (const iterator &, const _CharT *)
void replace (const iterator &, const _CharT *, size_t )
void replace (const iterator &, const _CharT *, const _CharT *)
void replace (const iterator &, const_iterator , const_iterator )
void replace (const iterator &, iterator , iterator )
const _CharT * replace_with_c_str ()
size_type size ()
_Self substr ( size_t , size_t )
_Self substr ( iterator , iterator )
_Self substr ( iterator )
_Self substr ( const_iterator , const_iterator )
rope < _CharT, _Alloc > substr ( const_iterator )
void swap ( _Self &)
Protected Member Functions
void _M_reset ( _RopeRep *)
void _STLP_FUNCTION_THROWS _M_throw_out_of_range ()
_RopeLeaf * _S_RopeLeaf_from_unowned_char_ptr (const _CharT *, size_t , allocator_type )
void _S_add_leaf_to_forest ( _RopeRep *, _RopeRep **)
void _S_add_to_forest ( _RopeRep *, _RopeRep **)
_RopeRep * _S_balance ( _RopeRep *)
int _S_compare (const _RopeRep *, const _RopeRep *)
_RopeRep * _S_concat_and_set_balanced ( _RopeRep *, _RopeRep *)
_RopeLeaf * _S_destr_leaf_concat_char_iter ( _RopeLeaf *, const _CharT *, size_t )
bool _S_is_almost_balanced ( _RopeRep *)
bool _S_is_balanced ( _RopeRep *)
bool _S_is_roughly_balanced ( _RopeRep *)
_RopeLeaf * _S_leaf_concat_char_iter ( _RopeLeaf *, const _CharT *, size_t )
_RopeConcatenation * _S_new_RopeConcatenation ( _RopeRep *, _RopeRep *, allocator_type )
_RopeFunction * _S_new_RopeFunction ( char_producer < _CharT > *, size_t , bool, allocator_type )
_RopeLeaf * _S_new_RopeLeaf (_CharT *, size_t , allocator_type )
_RopeSubstring * _S_new_RopeSubstring ( _Rope_RopeRep < _CharT, _Alloc > *, size_t , size_t , allocator_type )
size_t _S_rounded_up_size ( size_t )
_RopeRep * _S_tree_concat ( _RopeRep *, _RopeRep *)
_RopeRep * replace ( _RopeRep *, size_t , size_t , _RopeRep *)
Private Member Functions
_CharT * _S_flatten ( _RopeRep *, _CharT *)
_CharT * _S_flatten ( _RopeRep *, size_t , size_t , _CharT *)
Public Member Type Definitions
typedef _Rope_char_consumer < _CharT > _CharConsumer
typedef _Rope_RopeConcatenation < _CharT, _Alloc > _RopeConcatenation
typedef _Rope_RopeFunction < _CharT, _Alloc > _RopeFunction
typedef _Rope_RopeLeaf < _CharT, _Alloc > _RopeLeaf
typedef _Rope_RopeSubstring < _CharT, _Alloc > _RopeSubstring
typedef _Rope_self_destruct_ptr < _CharT, _Alloc > _Self_destruct_ptr
typedef _Rope_const_iterator < _CharT, _Alloc > const_iterator
typedef const _CharT * const_pointer
typedef _CharT const_reference
typedef ptrdiff_t difference_type
typedef _Rope_iterator < _CharT, _Alloc > iterator
typedef _Rope_char_ptr_proxy < _CharT, _Alloc > pointer
typedef _Rope_char_ref_proxy < _CharT, _Alloc > reference
typedef size_t size_type
typedef _CharT value_type
Protected Member Type Definitions
typedef _STLP_PRIV _Rope_Concat_fn < _CharT, _Alloc > _Concat_fn
typedef _CharT * _Cstrptr
typedef _RopeRep::_IsBasicCharType _IsBasicCharType
typedef _Rope_RopeRep < _CharT, _Alloc > _RopeRep
Private Member Type Definitions
typedef rope < _CharT, _Alloc > _Self
Public Attributes
_STLP_PRIV _STLP_alloc_proxy < _RopeRep *, _CharT, allocator_type > _M_tree_ptr
_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS
const unsigned long _S_min_len
_Alloc::allocator_type allocator_type
Protected Attributes
_CharT _S_empty_c_str

Constructor & Destructor Documentation

rope(_RopeRep *, const allocator_type &)

rope ( _RopeRep * __t,
const allocator_type & __a =  allocator_type ()
) [inline]

Parameters

_RopeRep * __t
const allocator_type & __a =  allocator_type ()

rope(const _CharT *, const allocator_type &)

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

Parameters

const _CharT * __s
const allocator_type & __a =  allocator_type ()

rope(const _CharT *, size_t, const allocator_type &)

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

Parameters

const _CharT * __s
size_t __len
const allocator_type & __a =  allocator_type ()

rope(const _CharT *, const _CharT *, const allocator_type &)

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

Parameters

const _CharT * __s
const _CharT * __e
const allocator_type & __a =  allocator_type ()

rope(const const_iterator &, const const_iterator &, const allocator_type &)

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

Parameters

const const_iterator & __s
const const_iterator & __e
const allocator_type & __a =  allocator_type ()

rope(const iterator &, const iterator &, const allocator_type &)

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

Parameters

const iterator & __s
const iterator & __e
const allocator_type & __a =  allocator_type ()

rope(_CharT, const allocator_type &)

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

Parameters

_CharT __c
const allocator_type & __a =  allocator_type ()

rope(size_t, _CharT, const allocator_type &)

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

Parameters

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

rope(const allocator_type &)

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

Parameters

const allocator_type & __a =  allocator_type ()

rope(char_producer< _CharT > *, size_t, bool, const allocator_type &)

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

Parameters

char_producer < _CharT > * __fn
size_t __len
bool __delete_fn
const allocator_type & __a =  allocator_type ()

rope(const _Self &)

rope ( const _Self & __x ) [inline]

Parameters

const _Self & __x

rope(__move_source< _Self >)

rope ( __move_source < _Self > __src ) [inline]

Parameters

__move_source < _Self > __src

~rope()

~rope ( ) [inline]

Member Functions Documentation

_M_reset(_RopeRep *)

void _M_reset ( _RopeRep * __r ) [protected, inline]

Parameters

_RopeRep * __r

_M_throw_out_of_range()

void _STLP_FUNCTION_THROWS _M_throw_out_of_range ( ) const [protected]

_S_RopeLeaf_from_unowned_char_ptr(const _CharT *, size_t, allocator_type)

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

Parameters

const _CharT * __s
size_t _p_size
allocator_type __a

_S_add_leaf_to_forest(_RopeRep *, _RopeRep **)

void _S_add_leaf_to_forest ( _RopeRep * __r,
_RopeRep ** __forest
) [protected, static]

Parameters

_RopeRep * __r
_RopeRep ** __forest

_S_add_to_forest(_RopeRep *, _RopeRep **)

void _S_add_to_forest ( _RopeRep * __r,
_RopeRep ** __forest
) [protected, static]

Parameters

_RopeRep * __r
_RopeRep ** __forest

_S_balance(_RopeRep *)

_RopeRep * _S_balance ( _RopeRep * __r ) [protected, static]

Parameters

_RopeRep * __r

_S_char_ptr_len(const _CharT *)

size_t _S_char_ptr_len ( const _CharT * __s ) [static, inline]

Parameters

const _CharT * __s

_S_compare(const _RopeRep *, const _RopeRep *)

int _S_compare ( const _RopeRep * __x,
const _RopeRep * __y
) [protected, static]

Parameters

const _RopeRep * __x
const _RopeRep * __y

_S_concat_and_set_balanced(_RopeRep *, _RopeRep *)

_RopeRep * _S_concat_and_set_balanced ( _RopeRep * __left,
_RopeRep * __right
) [protected, static, inline]

Parameters

_RopeRep * __left
_RopeRep * __right

_S_concat_char_iter(_RopeRep *, const _CharT *, size_t)

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

Parameters

_RopeRep * __r
const _CharT * __iter
size_t __slen

_S_concat_rep(_RopeRep *, _RopeRep *)

_RopeRep * _S_concat_rep ( _RopeRep * __left,
_RopeRep * __right
) [static]

Parameters

_RopeRep * __left
_RopeRep * __right

_S_destr_concat_char_iter(_RopeRep *, const _CharT *, size_t)

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

Parameters

_RopeRep * __r
const _CharT * __iter
size_t __slen

_S_destr_leaf_concat_char_iter(_RopeLeaf *, const _CharT *, size_t)

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

Parameters

_RopeLeaf * __r
const _CharT * __iter
size_t __slen

_S_fetch(_RopeRep *, size_type)

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

Parameters

_RopeRep * __r
size_type __pos

_S_fetch_ptr(_RopeRep *, size_type)

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

Parameters

_RopeRep * __r
size_type __pos

_S_flatten(_RopeRep *, _CharT *)

_CharT * _S_flatten ( _RopeRep * __r,
_CharT * __buffer
) [private, static]

Parameters

_RopeRep * __r
_CharT * __buffer

_S_flatten(_RopeRep *, size_t, size_t, _CharT *)

_CharT * _S_flatten ( _RopeRep * __r,
size_t __start,
size_t __len,
_CharT * __buffer
) [private, static]

Parameters

_RopeRep * __r
size_t __start
size_t __len
_CharT * __buffer

_S_is_almost_balanced(_RopeRep *)

bool _S_is_almost_balanced ( _RopeRep * __r ) [protected, static, inline]

Parameters

_RopeRep * __r

_S_is_balanced(_RopeRep *)

bool _S_is_balanced ( _RopeRep * __r ) [protected, static, inline]

Parameters

_RopeRep * __r

_S_is_roughly_balanced(_RopeRep *)

bool _S_is_roughly_balanced ( _RopeRep * __r ) [protected, static, inline]

Parameters

_RopeRep * __r

_S_leaf_concat_char_iter(_RopeLeaf *, const _CharT *, size_t)

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

Parameters

_RopeLeaf * __r
const _CharT * __iter
size_t __slen

_S_new_RopeConcatenation(_RopeRep *, _RopeRep *, allocator_type)

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

Parameters

_RopeRep * __left
_RopeRep * __right
allocator_type __a

_S_new_RopeFunction(char_producer< _CharT > *, size_t, bool, allocator_type)

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

Parameters

char_producer < _CharT > * __f
size_t _p_size
bool __d
allocator_type __a

_S_new_RopeLeaf(_CharT *, size_t, allocator_type)

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

Parameters

_CharT * __s
size_t _p_size
allocator_type __a

_S_new_RopeSubstring(_Rope_RopeRep< _CharT, _Alloc > *, size_t, size_t, allocator_type)

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

Parameters

_Rope_RopeRep < _CharT, _Alloc > * __b
size_t __s
size_t __l
allocator_type __a

_S_ref(_RopeRep *)

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

Parameters

_RopeRep * __t

_S_rounded_up_size(size_t)

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

Parameters

size_t __n

_S_substring(_RopeRep *, size_t, size_t)

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

Parameters

_RopeRep * __base
size_t __start
size_t __endp1

_S_tree_concat(_RopeRep *, _RopeRep *)

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

Parameters

_RopeRep * __left
_RopeRep * __right

_S_unref(_RopeRep *)

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

Parameters

_RopeRep * __t

append(const _CharT *, size_t)

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

Parameters

const _CharT * __iter
size_t __n

append(const _CharT *)

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

Parameters

const _CharT * __c_string

append(const _CharT *, const _CharT *)

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

Parameters

const _CharT * __s
const _CharT * __e

append(const_iterator, const_iterator)

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

append(_CharT)

_Self & append ( _CharT __c ) [inline]

Parameters

_CharT __c

append()

_Self & append ( ) [inline]

append(const _Self &)

_Self & append ( const _Self & __y ) [inline]

Parameters

const _Self & __y

append(size_t, _CharT)

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

Parameters

size_t __n
_CharT __c

apply_to_pieces(size_t, size_t, _CharConsumer &)

void apply_to_pieces ( size_t __begin,
size_t __end,
_CharConsumer & __c
) const [inline]

Parameters

size_t __begin
size_t __end
_CharConsumer & __c

at(size_type)

_CharT at ( size_type __pos ) const [inline]

Parameters

size_type __pos

back()

_CharT back ( ) const [inline]

balance()

void balance ( ) [inline]

begin()

const_iterator begin ( ) const [inline]

begin()

const_iterator begin ( ) [inline]

c_str()

const _CharT * c_str ( ) const

clear()

void clear ( ) [inline]

compare(const _Self &)

int compare ( const _Self & __y ) const [inline]

Parameters

const _Self & __y

const_begin()

const_iterator const_begin ( ) const [inline]

const_end()

const_iterator const_end ( ) const [inline]

const_rbegin()

const_reverse_iterator const_rbegin ( ) const [inline]

const_rend()

const_reverse_iterator const_rend ( ) const [inline]

copy(_CharT *)

void copy ( _CharT * __buffer ) const [inline]

Parameters

_CharT * __buffer

copy(size_type, size_type, _CharT *)

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

Parameters

size_type __pos
size_type __n
_CharT * __buffer

delete_c_str()

void delete_c_str ( ) [inline]

empty()

bool empty ( ) const [inline]

end()

const_iterator end ( ) const [inline]

end()

const_iterator end ( ) [inline]

erase(size_t, size_t)

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

Parameters

size_t __p
size_t __n

erase(size_t)

void erase ( size_t __p ) [inline]

Parameters

size_t __p

erase(const iterator &, const iterator &)

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

Parameters

const iterator & __p
const iterator & __q

erase(const iterator &)

iterator erase ( const iterator & __p ) [inline]

Parameters

const iterator & __p

find(const _Self &, size_type)

size_type find ( const _Self & __s,
size_type __pos = 0
) const [inline]

Parameters

const _Self & __s
size_type __pos = 0

find(_CharT, size_type)

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

Parameters

_CharT __c
size_type __pos = 0

find(const _CharT *, size_type)

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

Parameters

const _CharT * __s
size_type __pos = 0

front()

_CharT front ( ) const [inline]

get_allocator()

allocator_type get_allocator ( ) const [inline]

insert(size_t, const _Self &)

void insert ( size_t __p,
const _Self & __r
) [inline]

Parameters

size_t __p
const _Self & __r

insert(size_t, size_t, _CharT)

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

Parameters

size_t __p
size_t __n
_CharT __c

insert(size_t, const _CharT *, size_t)

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

Parameters

size_t __p
const _CharT * __i
size_t __n

insert(size_t, const _CharT *)

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

Parameters

size_t __p
const _CharT * __c_string

insert(size_t, _CharT)

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

Parameters

size_t __p
_CharT __c

insert(size_t)

void insert ( size_t __p ) [inline]

Parameters

size_t __p

insert(size_t, const _CharT *, const _CharT *)

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

Parameters

size_t __p
const _CharT * __i
const _CharT * __j

insert(size_t, const const_iterator &, const const_iterator &)

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

Parameters

size_t __p
const const_iterator & __i
const const_iterator & __j

insert(size_t, const iterator &, const iterator &)

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

Parameters

size_t __p
const iterator & __i
const iterator & __j

insert(const iterator &, const _Self &)

iterator insert ( const iterator & __p,
const _Self & __r
) [inline]

Parameters

const iterator & __p
const _Self & __r

insert(const iterator &, size_t, _CharT)

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

Parameters

const iterator & __p
size_t __n
_CharT __c

insert(const iterator &, _CharT)

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

Parameters

const iterator & __p
_CharT __c

insert(const iterator &)

iterator insert ( const iterator & __p ) [inline]

Parameters

const iterator & __p

insert(const iterator &, const _CharT *)

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

Parameters

const iterator & __p
const _CharT * c_string

insert(const iterator &, const _CharT *, size_t)

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

Parameters

const iterator & __p
const _CharT * __i
size_t __n

insert(const iterator &, const _CharT *, const _CharT *)

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

Parameters

const iterator & __p
const _CharT * __i
const _CharT * __j

insert(const iterator &, const const_iterator &, const const_iterator &)

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

Parameters

const iterator & __p
const const_iterator & __i
const const_iterator & __j

insert(const iterator &, const iterator &, const iterator &)

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

Parameters

const iterator & __p
const iterator & __i
const iterator & __j

length()

size_type length ( ) const [inline]

max_size()

size_type max_size ( ) const [inline]

mutable_begin()

iterator mutable_begin ( ) [inline]

mutable_end()

iterator mutable_end ( ) [inline]

mutable_rbegin()

reverse_iterator mutable_rbegin ( ) [inline]

mutable_reference_at(size_type)

reference mutable_reference_at ( size_type __pos ) [inline]

Parameters

size_type __pos

mutable_rend()

reverse_iterator mutable_rend ( ) [inline]

operator=(const _Self &)

_Self & operator= ( const _Self & __x ) [inline]

Parameters

const _Self & __x

operator[](size_type)

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

Parameters

size_type __pos

pop_back()

void pop_back ( ) [inline]

pop_front()

void pop_front ( ) [inline]

push_back(_CharT)

void push_back ( _CharT __x ) [inline]

Parameters

_CharT __x

push_front(_CharT)

void push_front ( _CharT __x ) [inline]

Parameters

_CharT __x

rbegin()

const_reverse_iterator rbegin ( ) const [inline]

rbegin()

const_reverse_iterator rbegin ( ) [inline]

rend()

const_reverse_iterator rend ( ) const [inline]

rend()

const_reverse_iterator rend ( ) [inline]

replace(_RopeRep *, size_t, size_t, _RopeRep *)

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

Parameters

_RopeRep * __old
size_t __pos1
size_t __pos2
_RopeRep * __r

replace(size_t, size_t, const _Self &)

void replace ( size_t __p,
size_t __n,
const _Self & __r
) [inline]

Parameters

size_t __p
size_t __n
const _Self & __r

replace(size_t, size_t, const _CharT *, size_t)

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

Parameters

size_t __p
size_t __n
const _CharT * __i
size_t __i_len

replace(size_t, size_t, _CharT)

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

Parameters

size_t __p
size_t __n
_CharT __c

replace(size_t, size_t, const _CharT *)

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

Parameters

size_t __p
size_t __n
const _CharT * __c_string

replace(size_t, size_t, const _CharT *, const _CharT *)

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

Parameters

size_t __p
size_t __n
const _CharT * __i
const _CharT * __j

replace(size_t, size_t, const const_iterator &, const const_iterator &)

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

Parameters

size_t __p
size_t __n
const const_iterator & __i
const const_iterator & __j

replace(size_t, size_t, const iterator &, const iterator &)

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

Parameters

size_t __p
size_t __n
const iterator & __i
const iterator & __j

replace(size_t, _CharT)

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

Parameters

size_t __p
_CharT __c

replace(size_t, const _Self &)

void replace ( size_t __p,
const _Self & __r
) [inline]

Parameters

size_t __p
const _Self & __r

replace(size_t, const _CharT *, size_t)

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

Parameters

size_t __p
const _CharT * __i
size_t __i_len

replace(size_t, const _CharT *)

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

Parameters

size_t __p
const _CharT * __c_string

replace(size_t, const _CharT *, const _CharT *)

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

Parameters

size_t __p
const _CharT * __i
const _CharT * __j

replace(size_t, const const_iterator &, const const_iterator &)

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

Parameters

size_t __p
const const_iterator & __i
const const_iterator & __j

replace(size_t, const iterator &, const iterator &)

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

Parameters

size_t __p
const iterator & __i
const iterator & __j

replace(const iterator &, const iterator &, const _Self &)

void replace ( const iterator & __p,
const iterator & __q,
const _Self & __r
) [inline]

Parameters

const iterator & __p
const iterator & __q
const _Self & __r

replace(const iterator &, const iterator &, _CharT)

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

Parameters

const iterator & __p
const iterator & __q
_CharT __c

replace(const iterator &, const iterator &, const _CharT *)

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

Parameters

const iterator & __p
const iterator & __q
const _CharT * __c_string

replace(const iterator &, const iterator &, const _CharT *, size_t)

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

Parameters

const iterator & __p
const iterator & __q
const _CharT * __i
size_t __n

replace(const iterator &, const iterator &, const _CharT *, const _CharT *)

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

Parameters

const iterator & __p
const iterator & __q
const _CharT * __i
const _CharT * __j

replace(const iterator &, const iterator &, const const_iterator &, const const_iterator &)

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

Parameters

const iterator & __p
const iterator & __q
const const_iterator & __i
const const_iterator & __j

replace(const iterator &, const iterator &, const iterator &, const iterator &)

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

Parameters

const iterator & __p
const iterator & __q
const iterator & __i
const iterator & __j

replace(const iterator &, const _Self &)

void replace ( const iterator & __p,
const _Self & __r
) [inline]

Parameters

const iterator & __p
const _Self & __r

replace(const iterator &, _CharT)

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

Parameters

const iterator & __p
_CharT __c

replace(const iterator &, const _CharT *)

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

Parameters

const iterator & __p
const _CharT * __c_string

replace(const iterator &, const _CharT *, size_t)

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

Parameters

const iterator & __p
const _CharT * __i
size_t __n

replace(const iterator &, const _CharT *, const _CharT *)

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

Parameters

const iterator & __p
const _CharT * __i
const _CharT * __j

replace(const iterator &, const_iterator, const_iterator)

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

Parameters

const iterator & __p
const_iterator __i
const_iterator __j

replace(const iterator &, iterator, iterator)

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

Parameters

const iterator & __p
iterator __i
iterator __j

replace_with_c_str()

const _CharT * replace_with_c_str ( )

size()

size_type size ( ) const [inline]

substr(size_t, size_t)

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

Parameters

size_t __start
size_t __len = 1

substr(iterator, iterator)

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

Parameters

iterator __start
iterator __end

substr(iterator)

_Self substr ( iterator __start ) const [inline]

Parameters

iterator __start

substr(const_iterator, const_iterator)

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

Parameters

const_iterator __start
const_iterator __end

substr(const_iterator)

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

Parameters

const_iterator __start

swap(_Self &)

void swap ( _Self & __b ) [inline]

Parameters

_Self & __b

Member Type Definitions Documentation

Typedef _CharConsumer

typedef _Rope_char_consumer < _CharT > _CharConsumer

Typedef _Concat_fn

typedef _STLP_PRIV _Rope_Concat_fn < _CharT, _Alloc > _Concat_fn [protected]

Typedef _Cstrptr

typedef _CharT * _Cstrptr [protected]

Typedef _IsBasicCharType

typedef _RopeRep::_IsBasicCharType _IsBasicCharType [protected]

Typedef _RopeConcatenation

typedef _Rope_RopeConcatenation < _CharT, _Alloc > _RopeConcatenation

Typedef _RopeFunction

typedef _Rope_RopeFunction < _CharT, _Alloc > _RopeFunction

Typedef _RopeLeaf

typedef _Rope_RopeLeaf < _CharT, _Alloc > _RopeLeaf

Typedef _RopeRep

typedef _Rope_RopeRep < _CharT, _Alloc > _RopeRep [protected]

Typedef _RopeSubstring

typedef _Rope_RopeSubstring < _CharT, _Alloc > _RopeSubstring

Typedef _Self

typedef rope < _CharT, _Alloc > _Self [private]

Typedef _Self_destruct_ptr

typedef _Rope_self_destruct_ptr < _CharT, _Alloc > _Self_destruct_ptr

Typedef const_iterator

typedef _Rope_const_iterator < _CharT, _Alloc > const_iterator

Typedef const_pointer

typedef const _CharT * const_pointer

Typedef const_reference

typedef _CharT const_reference

Typedef difference_type

typedef ptrdiff_t difference_type

Typedef iterator

typedef _Rope_iterator < _CharT, _Alloc > iterator

Typedef pointer

typedef _Rope_char_ptr_proxy < _CharT, _Alloc > pointer

Typedef reference

typedef _Rope_char_ref_proxy < _CharT, _Alloc > reference

Typedef size_type

typedef size_t size_type

Typedef value_type

typedef _CharT value_type

Member Data Documentation

_STLP_PRIV _STLP_alloc_proxy< _RopeRep *, _CharT, allocator_type > _M_tree_ptr

_STLP_PRIV _STLP_alloc_proxy < _RopeRep *, _CharT, allocator_type > _M_tree_ptr

_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS

_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS

_CharT _S_empty_c_str

_CharT _S_empty_c_str [protected, static]

const unsigned long _S_min_len

const unsigned long _S_min_len [static]

_Alloc::allocator_type allocator_type

_Alloc::allocator_type allocator_type