_String_base< _Tp, _Alloc > Class Template Reference

#include <_string_base.h>

List of all members.

Public Types

enum  { _DEFAULT_SIZE = _STLP_SHORT_STRING_SZ }
typedef _Alloc_traits< _Tp,
_Alloc >::allocator_type 
allocator_type
typedef _STLP_alloc_proxy<
_Tp *, _Tp, allocator_type
_AllocProxy
typedef size_t size_type

Protected Member Functions

_Tp const * _M_Start () const
_Tp * _M_Start ()
_Tp const * _M_Finish () const
_Tp * _M_Finish ()
void _M_allocate_block (size_t __n=_DEFAULT_SIZE)
void _M_deallocate_block ()
size_t max_size () const
 _String_base (const allocator_type &__a)
 _String_base (const allocator_type &__a, size_t __n)
 _String_base (__move_source< _Self > src)
 ~_String_base ()
void _M_reset (_Tp *__start, _Tp *__finish, _Tp *__end_of_storage)
void _M_destroy_back ()
void _M_destroy_range (size_t __from_off=0, size_t __to_off=1)
void _M_destroy_ptr_range (_Tp *__f, _Tp *__l)
void _M_Swap (_Self &__s)
void _STLP_FUNCTION_THROWS _M_throw_length_error () const
void _STLP_FUNCTION_THROWS _M_throw_out_of_range () const

Protected Attributes

_Tp * _M_finish
_AllocProxy _M_end_of_storage


Detailed Description

template<class _Tp, class _Alloc>
class _String_base< _Tp, _Alloc >

Definition at line 45 of file _string_base.h.


Member Typedef Documentation

template<class _Tp, class _Alloc>
typedef _Alloc_traits<_Tp, _Alloc>::allocator_type _String_base< _Tp, _Alloc >::allocator_type

Definition at line 53 of file _string_base.h.

template<class _Tp, class _Alloc>
typedef _STLP_alloc_proxy<_Tp*, _Tp, allocator_type> _String_base< _Tp, _Alloc >::_AllocProxy

Definition at line 54 of file _string_base.h.

template<class _Tp, class _Alloc>
typedef size_t _String_base< _Tp, _Alloc >::size_type

Definition at line 55 of file _string_base.h.


Member Enumeration Documentation

template<class _Tp, class _Alloc>
anonymous enum

Enumerator:
_DEFAULT_SIZE 

Definition at line 51 of file _string_base.h.


Constructor & Destructor Documentation

template<class _Tp, class _Alloc>
_String_base< _Tp, _Alloc >::_String_base ( const allocator_type __a  )  [inline, protected]

Definition at line 105 of file _string_base.h.

template<class _Tp, class _Alloc>
_String_base< _Tp, _Alloc >::_String_base ( __move_source< _Self src  )  [inline, protected]

template<class _Tp, class _Alloc>
_String_base< _Tp, _Alloc >::~_String_base (  )  [inline, protected]


Member Function Documentation

template<class _Tp, class _Alloc>
_Tp const* _String_base< _Tp, _Alloc >::_M_Start (  )  const [inline, protected]

Definition at line 77 of file _string_base.h.

template<class _Tp, class _Alloc>
_Tp* _String_base< _Tp, _Alloc >::_M_Start (  )  [inline, protected]

Definition at line 78 of file _string_base.h.

template<class _Tp, class _Alloc>
_Tp const* _String_base< _Tp, _Alloc >::_M_Finish (  )  const [inline, protected]

Definition at line 84 of file _string_base.h.

References _String_base< _Tp, _Alloc >::_M_finish.

template<class _Tp, class _Alloc>
_Tp* _String_base< _Tp, _Alloc >::_M_Finish (  )  [inline, protected]

Definition at line 85 of file _string_base.h.

References _String_base< _Tp, _Alloc >::_M_finish.

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_deallocate_block (  )  [inline, protected]

template<class _Tp, class _Alloc>
size_t _String_base< _Tp, _Alloc >::max_size (  )  const [inline, protected]

Definition at line 99 of file _string_base.h.

References _String_base< _Tp, _Alloc >::_M_end_of_storage, and min().

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_reset ( _Tp *  __start,
_Tp *  __finish,
_Tp *  __end_of_storage 
) [inline, protected]

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_destroy_back (  )  [inline, protected]

Definition at line 161 of file _string_base.h.

References _Destroy(), and _String_base< _Tp, _Alloc >::_M_finish.

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_destroy_range ( size_t  __from_off = 0,
size_t  __to_off = 1 
) [inline, protected]

Definition at line 168 of file _string_base.h.

References _Destroy_Range(), and _String_base< _Tp, _Alloc >::_M_finish.

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_destroy_ptr_range ( _Tp *  __f,
_Tp *  __l 
) [inline, protected]

Definition at line 177 of file _string_base.h.

References _Destroy_Range().

template<class _Tp, class _Alloc>
_STLP_MOVE_TO_STD_NAMESPACE _STLP_END_NAMESPACE _STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _String_base< _Tp, _Alloc >::_M_throw_length_error (  )  const [protected]

Definition at line 613 of file _string.c.

References __stl_throw_length_error().

template<class _Tp, class _Alloc>
void _String_base< _Tp, _Alloc >::_M_throw_out_of_range (  )  const [protected]

Definition at line 617 of file _string.c.

References __stl_throw_out_of_range().


Member Data Documentation


The documentation for this class was generated from the following files:



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