_String_base Class Reference

class _String_base

Nested Classes and Structures

Protected Member Functions
_String_base(const allocator_type &)
_String_base(const allocator_type &, size_t)
_String_base(__move_source< _Self >)
~_String_base()
_Tp const *_M_Finish()
_Tp *_M_Finish()
_Tp const *_M_Start()
_Tp *_M_Start()
void_M_Swap(_Self &)
void_M_allocate_block(size_t)
void_M_deallocate_block()
void_M_destroy_back()
void_M_destroy_ptr_range(_Tp *, _Tp *)
void_M_destroy_range(size_t, size_t)
void_M_move_src(_Self &)
void_M_reset(_Tp *, _Tp *, _Tp *)
void _STLP_FUNCTION_THROWS_M_throw_length_error()
void _STLP_FUNCTION_THROWS_M_throw_out_of_range()
bool_M_using_static_buf()
size_t max_size()
Public Member Type Definitions
typedef _STLP_alloc_proxy< _Tp *, _Tp, allocator_type > _AllocProxy
typedef _Alloc_traits< _Tp, _Alloc >::allocator_type allocator_type
typedef size_t size_type
Private Member Type Definitions
typedef _String_base< _Tp, _Alloc > _Self
Protected Attributes
_AllocProxy _M_end_of_storage
_Tp *_M_finish
Private Attributes
union _String_base::_Buffers_M_buffers

Constructor & Destructor Documentation

_String_base(const allocator_type &)

_String_base(const allocator_type &__a)[protected, inline]

Parameters

const allocator_type & __a

_String_base(const allocator_type &, size_t)

_String_base(const allocator_type &__a,
size_t__n
)[protected, inline]

Parameters

const allocator_type & __a
size_t __n

_String_base(__move_source< _Self >)

_String_base(__move_source< _Self >src)[protected, inline]

Parameters

__move_source< _Self > src

~_String_base()

~_String_base()[protected, inline]

Member Functions Documentation

_M_Finish()

_Tp const *_M_Finish()const [protected, inline]

_M_Finish()

_Tp *_M_Finish()[protected, inline]

_M_Start()

_Tp const *_M_Start()const [protected, inline]

_M_Start()

_Tp *_M_Start()[protected, inline]

_M_Swap(_Self &)

void_M_Swap(_Self &__s)[protected, inline]

Parameters

_Self & __s

_M_allocate_block(size_t)

void_M_allocate_block(size_t__n = _DEFAULT_SIZE)[protected]

Parameters

size_t __n = _DEFAULT_SIZE

_M_deallocate_block()

void_M_deallocate_block()[protected, inline]

_M_destroy_back()

void_M_destroy_back()[protected, inline]

_M_destroy_ptr_range(_Tp *, _Tp *)

void_M_destroy_ptr_range(_Tp *__f,
_Tp *__l
)[protected, inline]

Parameters

_Tp * __f
_Tp * __l

_M_destroy_range(size_t, size_t)

void_M_destroy_range(size_t__from_off = 0,
size_t__to_off = 1
)[protected, inline]

Parameters

size_t __from_off = 0
size_t __to_off = 1

_M_move_src(_Self &)

void_M_move_src(_Self &src)[protected, inline]

Parameters

_Self & src

_M_reset(_Tp *, _Tp *, _Tp *)

void_M_reset(_Tp *__start,
_Tp *__finish,
_Tp *__end_of_storage
)[protected, inline]

Parameters

_Tp * __start
_Tp * __finish
_Tp * __end_of_storage

_M_throw_length_error()

void _STLP_FUNCTION_THROWS_M_throw_length_error()const [protected]

_M_throw_out_of_range()

void _STLP_FUNCTION_THROWS_M_throw_out_of_range()const [protected]

_M_using_static_buf()

bool_M_using_static_buf()const [protected, inline]

max_size()

size_t max_size()const [protected, inline]

Member Type Definitions Documentation

Typedef _AllocProxy

typedef _STLP_alloc_proxy< _Tp *, _Tp, allocator_type >_AllocProxy

Typedef _Self

typedef _String_base< _Tp, _Alloc >_Self[private]

Typedef allocator_type

typedef _Alloc_traits< _Tp, _Alloc >::allocator_typeallocator_type

Typedef size_type

typedef size_t size_type

Member Data Documentation

union _String_base::_Buffers _M_buffers

union _String_base::_Buffers_M_buffers[private]

_AllocProxy _M_end_of_storage

_AllocProxy _M_end_of_storage[protected]

_Tp * _M_finish

_Tp *_M_finish[protected]