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)
voidapply_to_pieces(size_t, size_t, _CharConsumer &)
_CharTat(size_type)
_CharTback()
voidbalance()
const_iterator begin()
const_iterator begin()
const _CharT *c_str()
voidclear()
intcompare(const _Self &)
const_iterator const_begin()
const_iterator const_end()
const_reverse_iteratorconst_rbegin()
const_reverse_iteratorconst_rend()
voidcopy(_CharT *)
size_type copy(size_type, size_type, _CharT *)
voiddelete_c_str()
boolempty()
const_iterator end()
const_iterator end()
voiderase(size_t, size_t)
voiderase(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)
_CharTfront()
allocator_type get_allocator()
voidinsert(size_t, const _Self &)
voidinsert(size_t, size_t, _CharT)
voidinsert(size_t, const _CharT *, size_t)
voidinsert(size_t, const _CharT *)
voidinsert(size_t, _CharT)
voidinsert(size_t)
voidinsert(size_t, const _CharT *, const _CharT *)
voidinsert(size_t, const const_iterator &, const const_iterator &)
voidinsert(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 &)
_CharToperator[](size_type)
voidpop_back()
voidpop_front()
voidpush_back(_CharT)
voidpush_front(_CharT)
const_reverse_iteratorrbegin()
const_reverse_iteratorrbegin()
const_reverse_iteratorrend()
const_reverse_iteratorrend()
voidreplace(size_t, size_t, const _Self &)
voidreplace(size_t, size_t, const _CharT *, size_t)
voidreplace(size_t, size_t, _CharT)
voidreplace(size_t, size_t, const _CharT *)
voidreplace(size_t, size_t, const _CharT *, const _CharT *)
voidreplace(size_t, size_t, const const_iterator &, const const_iterator &)
voidreplace(size_t, size_t, const iterator &, const iterator &)
voidreplace(size_t, _CharT)
voidreplace(size_t, const _Self &)
voidreplace(size_t, const _CharT *, size_t)
voidreplace(size_t, const _CharT *)
voidreplace(size_t, const _CharT *, const _CharT *)
voidreplace(size_t, const const_iterator &, const const_iterator &)
voidreplace(size_t, const iterator &, const iterator &)
voidreplace(const iterator &, const iterator &, const _Self &)
voidreplace(const iterator &, const iterator &, _CharT)
voidreplace(const iterator &, const iterator &, const _CharT *)
voidreplace(const iterator &, const iterator &, const _CharT *, size_t)
voidreplace(const iterator &, const iterator &, const _CharT *, const _CharT *)
voidreplace(const iterator &, const iterator &, const const_iterator &, const const_iterator &)
voidreplace(const iterator &, const iterator &, const iterator &, const iterator &)
voidreplace(const iterator &, const _Self &)
voidreplace(const iterator &, _CharT)
voidreplace(const iterator &, const _CharT *)
voidreplace(const iterator &, const _CharT *, size_t)
voidreplace(const iterator &, const _CharT *, const _CharT *)
voidreplace(const iterator &, const_iterator, const_iterator)
voidreplace(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)
voidswap(_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
typedefconst _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_typeallocator_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]

Parameters

const_iterator __s
const_iterator __e

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 &)

voidapply_to_pieces(size_t__begin,
size_t__end,
_CharConsumer &__c
)const [inline]

Parameters

size_t __begin
size_t __end
_CharConsumer & __c

at(size_type)

_CharTat(size_type__pos)const [inline]

Parameters

size_type __pos

back()

_CharTback()const [inline]

balance()

voidbalance()[inline]

begin()

const_iterator begin()const [inline]

begin()

const_iterator begin()[inline]

c_str()

const _CharT *c_str()const

clear()

voidclear()[inline]

compare(const _Self &)

intcompare(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_iteratorconst_rbegin()const [inline]

const_rend()

const_reverse_iteratorconst_rend()const [inline]

copy(_CharT *)

voidcopy(_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()

voiddelete_c_str()[inline]

empty()

boolempty()const [inline]

end()

const_iterator end()const [inline]

end()

const_iterator end()[inline]

erase(size_t, size_t)

voiderase(size_t__p,
size_t__n
)[inline]

Parameters

size_t __p
size_t __n

erase(size_t)

voiderase(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()

_CharTfront()const [inline]

get_allocator()

allocator_type get_allocator()const [inline]

insert(size_t, const _Self &)

voidinsert(size_t__p,
const _Self &__r
)[inline]

Parameters

size_t __p
const _Self & __r

insert(size_t, size_t, _CharT)

voidinsert(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)

voidinsert(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 *)

voidinsert(size_t__p,
const _CharT *__c_string
)[inline]

Parameters

size_t __p
const _CharT * __c_string

insert(size_t, _CharT)

voidinsert(size_t__p,
_CharT__c
)[inline]

Parameters

size_t __p
_CharT __c

insert(size_t)

voidinsert(size_t__p)[inline]

Parameters

size_t __p

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

voidinsert(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 &)

voidinsert(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 &)

voidinsert(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)

_CharToperator[](size_type__pos)const [inline]

Parameters

size_type __pos

pop_back()

voidpop_back()[inline]

pop_front()

voidpop_front()[inline]

push_back(_CharT)

voidpush_back(_CharT__x)[inline]

Parameters

_CharT __x

push_front(_CharT)

voidpush_front(_CharT__x)[inline]

Parameters

_CharT __x

rbegin()

const_reverse_iteratorrbegin()const [inline]

rbegin()

const_reverse_iteratorrbegin()[inline]

rend()

const_reverse_iteratorrend()const [inline]

rend()

const_reverse_iteratorrend()[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 &)

voidreplace(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)

voidreplace(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)

voidreplace(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 *)

voidreplace(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 *)

voidreplace(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 &)

voidreplace(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 &)

voidreplace(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)

voidreplace(size_t__p,
_CharT__c
)[inline]

Parameters

size_t __p
_CharT __c

replace(size_t, const _Self &)

voidreplace(size_t__p,
const _Self &__r
)[inline]

Parameters

size_t __p
const _Self & __r

replace(size_t, const _CharT *, size_t)

voidreplace(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 *)

voidreplace(size_t__p,
const _CharT *__c_string
)[inline]

Parameters

size_t __p
const _CharT * __c_string

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

voidreplace(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 &)

voidreplace(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 &)

voidreplace(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 &)

voidreplace(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)

voidreplace(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 *)

voidreplace(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)

voidreplace(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 *)

voidreplace(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 &)

voidreplace(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 &)

voidreplace(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 &)

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

Parameters

const iterator & __p
const _Self & __r

replace(const iterator &, _CharT)

voidreplace(const iterator &__p,
_CharT__c
)[inline]

Parameters

const iterator & __p
_CharT __c

replace(const iterator &, const _CharT *)

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

Parameters

const iterator & __p
const _CharT * __c_string

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

voidreplace(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 *)

voidreplace(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)

voidreplace(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)

voidreplace(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 &)

voidswap(_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 _CharTconst_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 _CharTvalue_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_typeallocator_type