/home/ntakagi/work/STLport-5.1.5/stlport/stl/_rope.c File Reference

#include <stl/_rope.h>
#include <stl/_cstdio.h>
#include <iostream>
#include <stl/_range_errors.h>

Go to the source code of this file.

Classes

class  _Rope_flatten_char_consumer< _CharT >
class  _Rope_find_char_char_consumer< _CharT >
class  _Rope_insert_char_consumer< _CharT, _Traits >

Defines

#define __allocator__   allocator_type
#define __RopeLeaf__   _STLP_TYPENAME_ON_RETURN_TYPE rope<_CharT,_Alloc>::_RopeLeaf
#define __RopeRep__   _STLP_TYPENAME_ON_RETURN_TYPE rope<_CharT,_Alloc>::_RopeRep
#define __ROPE_TABLE_BODY

Functions

template<class _CharT, class _Alloc>
void _Terminate_RopeLeaf (_Rope_RopeLeaf< _CharT, _Alloc > *__r, size_t __size, const __true_type &)
template<class _CharT, class _Alloc>
void _Terminate_RopeLeaf (_Rope_RopeLeaf< _CharT, _Alloc > *__r, size_t, const __false_type &)
template<class _CharT, class _Alloc, class _CharConsumer>
bool _S_apply_to_pieces (_CharConsumer &__c, _Rope_RopeRep< _CharT, _Alloc > *__r, size_t __begin, size_t __end)
template<class _CharT, class _Traits>
void _Rope_fill (basic_ostream< _CharT, _Traits > &__o, streamsize __n)
template<class _CharT, class _Traits, class _Alloc>
basic_ostream< _CharT, _Traits > & _S_io_get (basic_ostream< _CharT, _Traits > &__o, const rope< _CharT, _Alloc > &__r, const __true_type &)
template<class _CharT, class _Traits, class _Alloc>
basic_ostream< _CharT, _Traits > & _S_io_get (basic_ostream< _CharT, _Traits > &__o, const rope< _CharT, _Alloc > &__r, const __false_type &)
template<class _CharT, class _Traits, class _Alloc>
basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__o, const rope< _CharT, _Alloc > &__r)
 __DECLARE_INSTANCE (const unsigned long, crope::_S_min_len[__ROPE_DEPTH_SIZE], __ROPE_TABLE_BODY)
 __DECLARE_INSTANCE (const unsigned long, wrope::_S_min_len[__ROPE_DEPTH_SIZE], __ROPE_TABLE_BODY)
 __DECLARE_INSTANCE (char, crope::_S_empty_c_str[1],={0})
template<class _CharT, class _Alloc>
void _Rope_rotate (_Rope_iterator< _CharT, _Alloc > __first, _Rope_iterator< _CharT, _Alloc > __middle, _Rope_iterator< _CharT, _Alloc > __last)


Define Documentation

#define __allocator__   allocator_type

Definition at line 51 of file _rope.c.

#define __ROPE_TABLE_BODY

Value:

= { \
/* 0 */1, /* 1 */2, /* 2 */3, /* 3 */5, /* 4 */8, /* 5 */13, /* 6 */21,         \
/* 7 */34, /* 8 */55, /* 9 */89, /* 10 */144, /* 11 */233, /* 12 */377,         \
/* 13 */610, /* 14 */987, /* 15 */1597, /* 16 */2584, /* 17 */4181,             \
/* 18 */6765ul, /* 19 */10946ul, /* 20 */17711ul, /* 21 */28657ul, /* 22 */46368ul,   \
/* 23 */75025ul, /* 24 */121393ul, /* 25 */196418ul, /* 26 */317811ul,                \
/* 27 */514229ul, /* 28 */832040ul, /* 29 */1346269ul, /* 30 */2178309ul,             \
/* 31 */3524578ul, /* 32 */5702887ul, /* 33 */9227465ul, /* 34 */14930352ul,          \
/* 35 */24157817ul, /* 36 */39088169ul, /* 37 */63245986ul, /* 38 */102334155ul,      \
/* 39 */165580141ul, /* 40 */267914296ul, /* 41 */433494437ul,                        \
/* 42 */701408733ul, /* 43 */1134903170ul, /* 44 */1836311903ul,                      \
/* 45 */2971215073ul }

Definition at line 1008 of file _rope.c.

#define __RopeLeaf__   _STLP_TYPENAME_ON_RETURN_TYPE rope<_CharT,_Alloc>::_RopeLeaf

Definition at line 360 of file _rope.c.

#define __RopeRep__   _STLP_TYPENAME_ON_RETURN_TYPE rope<_CharT,_Alloc>::_RopeRep

Definition at line 361 of file _rope.c.

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


Function Documentation

__DECLARE_INSTANCE ( char  ,
crope::_S_empty_c_str  [1] 
)

__DECLARE_INSTANCE ( const unsigned  long,
wrope::_S_min_len  [__ROPE_DEPTH_SIZE],
__ROPE_TABLE_BODY   
)

__DECLARE_INSTANCE ( const unsigned  long,
crope::_S_min_len  [__ROPE_DEPTH_SIZE],
__ROPE_TABLE_BODY   
)

template<class _CharT, class _Traits>
void _Rope_fill ( basic_ostream< _CharT, _Traits > &  __o,
streamsize  __n 
) [inline]

Definition at line 850 of file _rope.c.

References basic_ios< _CharT, _Traits >::fill(), and basic_ostream< _CharT, _Traits >::put().

Referenced by _S_io_get().

template<class _CharT, class _Alloc>
void _Rope_rotate ( _Rope_iterator< _CharT, _Alloc >  __first,
_Rope_iterator< _CharT, _Alloc >  __middle,
_Rope_iterator< _CharT, _Alloc >  __last 
)

template<class _CharT, class _Alloc, class _CharConsumer>
bool _S_apply_to_pieces ( _CharConsumer &  __c,
_Rope_RopeRep< _CharT, _Alloc > *  __r,
size_t  __begin,
size_t  __end 
)

template<class _CharT, class _Traits, class _Alloc>
basic_ostream<_CharT, _Traits>& _S_io_get ( basic_ostream< _CharT, _Traits > &  __o,
const rope< _CharT, _Alloc > &  __r,
const __false_type  
)

template<class _CharT, class _Traits, class _Alloc>
basic_ostream<_CharT, _Traits>& _S_io_get ( basic_ostream< _CharT, _Traits > &  __o,
const rope< _CharT, _Alloc > &  __r,
const __true_type  
)

template<class _CharT, class _Alloc>
void _Terminate_RopeLeaf ( _Rope_RopeLeaf< _CharT, _Alloc > *  __r,
size_t  ,
const __false_type  
)

template<class _CharT, class _Alloc>
void _Terminate_RopeLeaf ( _Rope_RopeLeaf< _CharT, _Alloc > *  __r,
size_t  __size,
const __true_type  
)

template<class _CharT, class _Traits, class _Alloc>
basic_ostream<_CharT, _Traits>& operator<< ( basic_ostream< _CharT, _Traits > &  __o,
const rope< _CharT, _Alloc > &  __r 
)

Definition at line 894 of file _rope.c.



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