Whole document tree
    

Whole document tree

Templatestd::_Rope_RopeRep struct Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

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

#include <stl_rope.h>

Inheritance diagram for std::_Rope_RopeRep:

Inheritance graph
[legend]
Collaboration diagram for std::_Rope_RopeRep< _CharT, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _Rope_rep_base< _CharT,
_Alloc >::allocator_type 
allocator_type
enum  { _S_max_rope_depth = 45 }
enum  _Tag { _S_leaf, _S_concat, _S_substringfn, _S_function }

Public Methods

 _Rope_RopeRep (_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 Methods

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

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

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


Member Typedef Documentation

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

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

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

Definition at line 483 of file stl_rope.h.


Member Enumeration Documentation

template<class _CharT, class _Alloc>
anonymous enum
 

Enumeration values:
_S_max_rope_depth 

Definition at line 470 of file stl_rope.h.

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

Enumeration values:
_S_leaf 
_S_concat 
_S_substringfn 
_S_function 

Definition at line 471 of file stl_rope.h.

Referenced by std::_Rope_RopeRep< _CharT, _Allocator >::_Rope_RopeRep().


Constructor & Destructor Documentation

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

Definition at line 484 of file stl_rope.h.


Member Function Documentation

template<class _CharT, class _Alloc>
void std::_Rope_RopeRep< _CharT, _Alloc >::_M_free_c_string   [inline]
 

Definition at line 315 of file ropeimpl.h.

References std::_Rope_RopeRep< _CharT, _Alloc >::_M_c_string, std::_Rope_rep_alloc_base< _CharT, _Alloc, _Alloc_traits< _CharT, _Alloc >::_S_instanceless >::_M_size, and std::destroy().

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

template<class _CharT, class _Alloc>
void std::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree  
 

Definition at line 347 of file ropeimpl.h.

References std::_Rope_RopeRep< _CharT, _Alloc >::_S_concat, std::_Rope_RopeRep< _CharT, _Alloc >::_S_function, std::_Rope_RopeRep< _CharT, _Alloc >::_S_leaf, and std::_Rope_RopeRep< _CharT, _Alloc >::_S_substringfn.

Referenced by std::_Rope_RopeRep< _CharT, _Allocator >::_M_unref_nonnil(), and std::_Rope_RopeRep< _CharT, _Allocator >::_S_free_if_unref().

template<class _CharT, class _Alloc>
void std::_Rope_RopeRep< _CharT, _Alloc >::_M_ref_nonnil   [inline]
 

Definition at line 512 of file stl_rope.h.

Referenced by std::_Rope_RopeSubstring< _CharT, _Alloc >::_Rope_RopeSubstring().

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

Definition at line 508 of file stl_rope.h.

Referenced by std::_Rope_RopeRep< _CharT, _Allocator >::_S_unref(), std::_Rope_RopeConcatenation< _CharT, _Alloc >::~_Rope_RopeConcatenation(), and std::_Rope_RopeSubstring< _CharT, _Alloc >::~_Rope_RopeSubstring().

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

Definition at line 526 of file stl_rope.h.

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

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

Definition at line 522 of file stl_rope.h.

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

Definition at line 516 of file stl_rope.h.


Member Data Documentation

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

Definition at line 475 of file stl_rope.h.

Referenced by std::_Rope_RopeRep< _CharT, _Alloc >::_M_free_c_string(), std::_Rope_RopeLeaf< _CharT, _Alloc >::_Rope_RopeLeaf(), std::_Rope_RopeRep< _CharT, _Allocator >::_Rope_RopeRep(), and std::_Rope_RopeLeaf< _CharT, _Alloc >::~_Rope_RopeLeaf().

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

Definition at line 474 of file stl_rope.h.

Referenced by std::_Rope_RopeConcatenation< _CharT, _Alloc >::_Rope_RopeConcatenation(), and std::_Rope_RopeRep< _CharT, _Allocator >::_Rope_RopeRep().

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

Definition at line 473 of file stl_rope.h.

Referenced by std::_Rope_RopeRep< _CharT, _Allocator >::_Rope_RopeRep().

template<class _CharT, class _Alloc>
_Tag std::_Rope_RopeRep< _CharT, _Alloc >::_M_tag
 

Definition at line 472 of file stl_rope.h.

Referenced by std::_Rope_RopeRep< _CharT, _Allocator >::_Rope_RopeRep(), std::_Rope_RopeSubstring< _CharT, _Alloc >::_Rope_RopeSubstring(), and std::_Rope_RopeSubstring< _CharT, _Alloc >::operator()().


The documentation for this struct was generated from the following files:
Generated on Mon Apr 8 03:17:44 2002 for libstdc++-v3 Source by doxygen1.2.15