_Rope_RopeRep< _CharT, _Alloc > Struct Template Reference

#include <_rope.h>

Inheritance diagram for _Rope_RopeRep< _CharT, _Alloc >:

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

Public Types

enum  { _S_max_rope_depth = __ROPE_MAX_DEPTH }
enum  _Tag { _S_leaf, _S_concat, _S_substringfn, _S_function }
enum  { _S_alloc_granularity = 8 }
typedef _Rope_RopeRep< _CharT,
_Alloc > 
_Self
typedef _Alloc_traits< _CharT,
_Alloc >::allocator_type 
allocator_type
typedef _AreSameUnCVTypes<
_CharT, char >::_Ret 
_IsChar
typedef __false_type _IsWCharT
typedef _Lor2< _IsChar, _IsWCharT
>::_Ret 
_IsBasicCharType

Public Member Functions

allocator_type get_allocator () const
 _Rope_RopeRep (_Tag __t, unsigned char __d, bool __b, size_t _p_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 size_t _S_rounded_up_size (size_t __n)
static void _S_free_string (_CharT *__s, size_t __len, allocator_type __a)
static void _S_unref (_Self *__t)
static void _S_ref (_Self *__t)

Public Attributes

_Tag _M_tag:8
bool _M_is_balanced:8
unsigned char _M_depth
_CharT *_STLP_VOLATILE _M_c_string
_STLP_PRIV _STLP_alloc_proxy<
size_t, _CharT, allocator_type
_M_size

Detailed Description

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

Definition at line 318 of file _rope.h.


Member Typedef Documentation

template<class _CharT, class _Alloc>
typedef _Rope_RopeRep<_CharT, _Alloc> _Rope_RopeRep< _CharT, _Alloc >::_Self

Definition at line 321 of file _rope.h.

template<class _CharT, class _Alloc>
typedef _Alloc_traits<_CharT,_Alloc>::allocator_type _Rope_RopeRep< _CharT, _Alloc >::allocator_type

template<class _CharT, class _Alloc>
typedef _AreSameUnCVTypes<_CharT, char>::_Ret _Rope_RopeRep< _CharT, _Alloc >::_IsChar

Definition at line 371 of file _rope.h.

template<class _CharT, class _Alloc>
typedef __false_type _Rope_RopeRep< _CharT, _Alloc >::_IsWCharT

Definition at line 375 of file _rope.h.

template<class _CharT, class _Alloc>
typedef _Lor2<_IsChar, _IsWCharT>::_Ret _Rope_RopeRep< _CharT, _Alloc >::_IsBasicCharType

Definition at line 378 of file _rope.h.


Member Enumeration Documentation

template<class _CharT, class _Alloc>
anonymous enum

Enumerator:
_S_max_rope_depth 

Definition at line 335 of file _rope.h.

template<class _CharT, class _Alloc>
enum _Rope_RopeRep::_Tag

Enumerator:
_S_leaf 
_S_concat 
_S_substringfn 
_S_function 

Definition at line 336 of file _rope.h.

template<class _CharT, class _Alloc>
anonymous enum

Enumerator:
_S_alloc_granularity 

Definition at line 341 of file _rope.h.


Constructor & Destructor Documentation

template<class _CharT, class _Alloc>
_Rope_RopeRep< _CharT, _Alloc >::_Rope_RopeRep ( _Tag  __t,
unsigned char  __d,
bool  __b,
size_t  _p_size,
allocator_type  __a 
) [inline]

Definition at line 365 of file _rope.h.


Member Function Documentation

template<class _CharT, class _Alloc>
static size_t _Rope_RopeRep< _CharT, _Alloc >::_S_rounded_up_size ( size_t  __n  )  [inline, static]

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


Member Data Documentation

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

Definition at line 344 of file _rope.h.

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


The documentation for this struct was generated from the following files:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_rope.h
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_rope.c



Generated on Mon Mar 10 15:32:55 2008 by  doxygen 1.5.1