ReactOS 0.4.16-dev-289-g096a551
_Rope_RopeConcatenation< _CharT, _Alloc > Struct Template Reference

#include <_rope.h>

Inheritance diagram for _Rope_RopeConcatenation< _CharT, _Alloc >:
Collaboration diagram for _Rope_RopeConcatenation< _CharT, _Alloc >:

Public Types

typedef _RopeRep::allocator_type allocator_type
 
- Public Types inherited from _Rope_RopeRep< _CharT, _Alloc >
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 allocator_type
 
typedef _STLP_TYPENAME _STLP_PRIV _BasicCharType< _CharT >::_Ret _IsBasicCharType
 

Public Member Functions

 _Rope_RopeConcatenation (_RopeRep *__l, _RopeRep *__r, allocator_type __a)
 
 ~_Rope_RopeConcatenation ()
 
- Public Member Functions inherited from _Rope_RopeRep< _CharT, _Alloc >
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 ()
 
- Public Member Functions inherited from _Refcount_Base
 _Refcount_Base (__stl_atomic_t __n)
 
__stl_atomic_t _M_incr ()
 
__stl_atomic_t _M_decr ()
 

Public Attributes

_RopeRep_M_left
 
_RopeRep_M_right
 
- Public Attributes inherited from _Rope_RopeRep< _CharT, _Alloc >
_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
 

Private Types

typedef _Rope_RopeRep< _CharT, _Alloc_RopeRep
 

Additional Inherited Members

- Static Public Member Functions inherited from _Rope_RopeRep< _CharT, _Alloc >
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)
 

Detailed Description

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

Definition at line 494 of file _rope.h.

Member Typedef Documentation

◆ _RopeRep

template<class _CharT , class _Alloc >
typedef _Rope_RopeRep<_CharT,_Alloc> _Rope_RopeConcatenation< _CharT, _Alloc >::_RopeRep
private

Definition at line 496 of file _rope.h.

◆ allocator_type

template<class _CharT , class _Alloc >
typedef _RopeRep::allocator_type _Rope_RopeConcatenation< _CharT, _Alloc >::allocator_type

Definition at line 502 of file _rope.h.

Constructor & Destructor Documentation

◆ _Rope_RopeConcatenation()

template<class _CharT , class _Alloc >
_Rope_RopeConcatenation< _CharT, _Alloc >::_Rope_RopeConcatenation ( _RopeRep __l,
_RopeRep __r,
allocator_type  __a 
)
inline

Definition at line 503 of file _rope.h.

505 (max)(__l->_M_depth, __r->_M_depth) + 1, false,
506 __l->_M_size._M_data + __r->_M_size._M_data, __a), _M_left(__l), _M_right(__r)
507 {}
_RopeRep * _M_right
Definition: _rope.h:500
_RopeRep * _M_left
Definition: _rope.h:499
#define max(a, b)
Definition: svc.c:63

◆ ~_Rope_RopeConcatenation()

template<class _CharT , class _Alloc >
_Rope_RopeConcatenation< _CharT, _Alloc >::~_Rope_RopeConcatenation ( )
inline

Definition at line 513 of file _rope.h.

513 {
514 this->_M_free_c_string();
517 }
void _M_free_c_string()
Definition: _rope.c:76
void _M_unref_nonnil()
Definition: _rope.h:431

Member Data Documentation

◆ _M_left

template<class _CharT , class _Alloc >
_RopeRep* _Rope_RopeConcatenation< _CharT, _Alloc >::_M_left

Definition at line 499 of file _rope.h.

◆ _M_right

template<class _CharT , class _Alloc >
_RopeRep* _Rope_RopeConcatenation< _CharT, _Alloc >::_M_right

The documentation for this struct was generated from the following file: