__gnu_cxx::_Rope_RopeRep< _CharT, _Alloc > Struct Template Reference

Inheritance diagram for __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >:

__gnu_cxx::_Rope_rep_base< _CharT, _Alloc > __gnu_cxx::_Refcount_Base __gnu_cxx::_Rope_RopeConcatenation< _CharT, _Alloc > __gnu_cxx::_Rope_RopeFunction< _CharT, _Alloc > __gnu_cxx::_Rope_RopeLeaf< _CharT, _Alloc > __gnu_cxx::_Rope_RopeSubstring< _CharT, _Alloc > List of all members.

Public Types

typedef _Rope_rep_base< _CharT,
_Alloc >::allocator_type 
allocator_type

Public Member Functions

 _Rope_RopeRep (_Rope_constants::_Tag __t, int __d, bool __b, size_t __size, allocator_type __a)
void _M_free_c_string ()
void _M_free_tree ()
void _M_unref_nonnil ()
void _M_ref_nonnil ()

Static Public Member Functions

static void _S_free_string (__GC_CONST _CharT *, size_t __len, allocator_type __a)
static void _S_unref (_Rope_RopeRep *__t)
static void _S_ref (_Rope_RopeRep *__t)
static void _S_free_if_unref (_Rope_RopeRep *__t)

Public Attributes

_Rope_constants::_Tag _M_tag:8
bool _M_is_balanced:8
unsigned char _M_depth
__GC_CONST _CharT * _M_c_string
__gthread_mutex_t _M_c_string_lock

Protected Member Functions

_Rope_RopeRepoperator= (const _Rope_RopeRep &)
 _Rope_RopeRep (const _Rope_RopeRep &)

Detailed Description

template<class _CharT, class _Alloc>
struct __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >

Definition at line 553 of file rope.


Member Typedef Documentation

template<class _CharT, class _Alloc>
typedef _Rope_rep_base<_CharT, _Alloc>::allocator_type __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::allocator_type

Reimplemented from __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >.

Reimplemented in __gnu_cxx::_Rope_RopeLeaf< _CharT, _Alloc >, __gnu_cxx::_Rope_RopeConcatenation< _CharT, _Alloc >, __gnu_cxx::_Rope_RopeFunction< _CharT, _Alloc >, and __gnu_cxx::_Rope_RopeSubstring< _CharT, _Alloc >.

Definition at line 572 of file rope.


Constructor & Destructor Documentation

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_Rope_RopeRep ( _Rope_constants::_Tag  __t,
int  __d,
bool  __b,
size_t  __size,
allocator_type  __a 
) [inline]

Definition at line 576 of file rope.

References __GTHREAD_MUTEX_INIT, and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string_lock.

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_Rope_RopeRep ( const _Rope_RopeRep< _CharT, _Alloc > &   )  [protected]


Member Function Documentation

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_c_string (  )  [inline]

Definition at line 343 of file ropeimpl.h.

References std::_Destroy(), __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string, __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::_M_size, and __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::get_allocator().

Referenced by __gnu_cxx::rope< _CharT, _Alloc >::delete_c_str(), __gnu_cxx::_Rope_RopeConcatenation< _CharT, _Alloc >::~_Rope_RopeConcatenation(), __gnu_cxx::_Rope_RopeFunction< _CharT, _Alloc >::~_Rope_RopeFunction(), and __gnu_cxx::_Rope_RopeLeaf< _CharT, _Alloc >::~_Rope_RopeLeaf().

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree (  ) 

Definition at line 376 of file ropeimpl.h.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_tag, __gnu_cxx::_Rope_constants::_S_concat, __gnu_cxx::_Rope_constants::_S_function, __gnu_cxx::_Rope_constants::_S_leaf, and __gnu_cxx::_Rope_constants::_S_substringfn.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_unref_nonnil(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_free_if_unref().

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_ref_nonnil (  )  [inline]

Definition at line 618 of file rope.

References __gnu_cxx::_Refcount_Base::_M_incr().

Referenced by __gnu_cxx::rope< _CharT, _Alloc >::rope().

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_unref_nonnil (  )  [inline]

Definition at line 611 of file rope.

References __gnu_cxx::_Refcount_Base::_M_decr(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree().

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref().

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_free_if_unref ( _Rope_RopeRep< _CharT, _Alloc > *  __t  )  [inline, static]

Definition at line 636 of file rope.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree(), and __gnu_cxx::_Refcount_Base::_M_ref_count.

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_free_string ( __GC_CONST _CharT *  ,
size_t  __len,
allocator_type  __a 
) [static]

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref ( _Rope_RopeRep< _CharT, _Alloc > *  __t  )  [inline, static]

Definition at line 629 of file rope.

References __gnu_cxx::_Refcount_Base::_M_incr().

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator(), __gnu_cxx::rope< _CharT, _Alloc >::_S_ref(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=().

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref ( _Rope_RopeRep< _CharT, _Alloc > *  __t  )  [inline, static]

Definition at line 622 of file rope.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_unref_nonnil().

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check(), __gnu_cxx::rope< _CharT, _Alloc >::_S_unref(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::~_Rope_iterator().

template<class _CharT, class _Alloc>
_Rope_RopeRep& __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::operator= ( const _Rope_RopeRep< _CharT, _Alloc > &   )  [protected]


Member Data Documentation

template<class _CharT, class _Alloc>
__GC_CONST _CharT* __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string

Definition at line 563 of file rope.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_c_string(), __gnu_cxx::_Rope_RopeLeaf< _CharT, _Alloc >::_Rope_RopeLeaf(), and __gnu_cxx::rope< _CharT, _Alloc >::delete_c_str().

template<class _CharT, class _Alloc>
__gthread_mutex_t __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string_lock

Definition at line 564 of file rope.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_Rope_RopeRep().

template<class _CharT, class _Alloc>
unsigned char __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_depth

Definition at line 562 of file rope.

Referenced by __gnu_cxx::rope< _CharT, _Alloc >::_S_is_almost_balanced(), __gnu_cxx::rope< _CharT, _Alloc >::_S_is_balanced(), and __gnu_cxx::rope< _CharT, _Alloc >::_S_is_roughly_balanced().

template<class _CharT, class _Alloc>
bool __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_is_balanced

Definition at line 561 of file rope.

Referenced by __gnu_cxx::rope< _CharT, _Alloc >::_S_concat_and_set_balanced().

template<class _CharT, class _Alloc>
_Rope_constants::_Tag __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_tag

Definition at line 560 of file rope.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree(), and __gnu_cxx::_Rope_RopeSubstring< _CharT, _Alloc >::_Rope_RopeSubstring().


The documentation for this struct was generated from the following files:
Generated on Tue Feb 2 16:58:05 2010 for GNU C++ STL by  doxygen 1.4.7