__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

void _S_free_string (__GC_CONST _CharT *, size_t __len, allocator_type __a)
void _S_unref (_Rope_RopeRep *__t)
void _S_ref (_Rope_RopeRep *__t)
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 &)

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


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 488 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 490 of file rope.

References __GTHREAD_MUTEX_INIT, __gthread_mutex_t, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string_lock, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_depth, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_is_balanced, and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_tag.

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 319 of file ropeimpl.h.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string.

Referenced by __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 351 of file ropeimpl.h.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_tag.

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 526 of file rope.

References __gnu_cxx::_Refcount_Base::_M_incr().

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

Definition at line 522 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< _CharT, _Alloc >::_S_destr_concat_char_iter(), __gnu_cxx::rope< _CharT, _Alloc >::_S_tree_concat(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref().

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

Definition at line 540 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>
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>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref _Rope_RopeRep< _CharT, _Alloc > *  __t  )  [inline, static]
 

Definition at line 536 of file rope.

References __gnu_cxx::_Refcount_Base::_M_incr().

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

Definition at line 530 of file rope.

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

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 479 of file rope.

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

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

Definition at line 480 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 478 of file rope.

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

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

Definition at line 477 of file rope.

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

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

Definition at line 476 of file rope.

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


The documentation for this struct was generated from the following files:
Generated on Tue Jan 30 17:32:02 2007 for GNU C++ STL by doxygen 1.3.6