STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
_String_alloc< _Al_has_storage, _Alloc_types > Class Template Reference
Inheritance diagram for _String_alloc< _Al_has_storage, _Alloc_types >:
_String_val< _Alloc_types::_Val_types > _Container_base0

Public Types

typedef _String_alloc< _Al_has_storage, _Alloc_types > _Myt
 
typedef _Alloc_types::_Alloc _Alloc
 
typedef _Alloc_types::_Alty _Alty
 
- Public Types inherited from _String_val< _Alloc_types::_Val_types >
enum  
 
enum  
 
typedef _String_val< _Alloc_types::_Val_types > _Myt
 
typedef _Alloc_types::_Val_types::value_type value_type
 
typedef _Alloc_types::_Val_types::size_type size_type
 
typedef _Alloc_types::_Val_types::difference_type difference_type
 
typedef _Alloc_types::_Val_types::pointer pointer
 
typedef _Alloc_types::_Val_types::const_pointer const_pointer
 
typedef _Alloc_types::_Val_types::reference reference
 
typedef _Alloc_types::_Val_types::const_reference const_reference
 
typedef _String_iterator< _Mytiterator
 
typedef _String_const_iterator< _Mytconst_iterator
 

Public Member Functions

 _String_alloc (const _Alloc &_Al=_Alloc())
 
void _Change_alloc (const _Alty &_Al)
 
void _Swap_alloc (_Myt &_Right)
 
_Alty_Getal ()
 
const _Alty_Getal () const
 
- Public Member Functions inherited from _String_val< _Alloc_types::_Val_types >
 _String_val ()
 
value_type_Myptr ()
 
const value_type_Myptr () const
 
- Public Member Functions inherited from _Container_base0
void _Orphan_all ()
 
void _Swap_all (_Container_base0 &)
 

Public Attributes

_Alloc_types::_Alty _Alval
 
- Public Attributes inherited from _String_val< _Alloc_types::_Val_types >
union _String_val::_Bxty _Bx
 
size_type _Mysize
 
size_type _Myres
 

Member Typedef Documentation

template<bool _Al_has_storage, class _Alloc_types>
typedef _Alloc_types::_Alloc _String_alloc< _Al_has_storage, _Alloc_types >::_Alloc
template<bool _Al_has_storage, class _Alloc_types>
typedef _Alloc_types::_Alty _String_alloc< _Al_has_storage, _Alloc_types >::_Alty
template<bool _Al_has_storage, class _Alloc_types>
typedef _String_alloc<_Al_has_storage, _Alloc_types> _String_alloc< _Al_has_storage, _Alloc_types >::_Myt

Constructor & Destructor Documentation

template<bool _Al_has_storage, class _Alloc_types>
_String_alloc< _Al_has_storage, _Alloc_types >::_String_alloc ( const _Alloc _Al = _Alloc())
inline
549  : _Alval(_Al)
550  { // construct allocator from _Al
551  }
_Alloc_types::_Alty _Alval
Definition: xstring:541

Member Function Documentation

template<bool _Al_has_storage, class _Alloc_types>
void _String_alloc< _Al_has_storage, _Alloc_types >::_Change_alloc ( const _Alty _Al)
inline
554  { // replace old allocator
555  this->_Alval = _Al;
556  }
_Alloc_types::_Alty _Alval
Definition: xstring:541
template<bool _Al_has_storage, class _Alloc_types>
_Alty& _String_alloc< _Al_has_storage, _Alloc_types >::_Getal ( )
inline
609  { // get reference to allocator
610  return (this->_Alval);
611  }
_Alloc_types::_Alty _Alval
Definition: xstring:541
template<bool _Al_has_storage, class _Alloc_types>
const _Alty& _String_alloc< _Al_has_storage, _Alloc_types >::_Getal ( ) const
inline
614  { // get reference to allocator
615  return (this->_Alval);
616  }
_Alloc_types::_Alty _Alval
Definition: xstring:541
template<bool _Al_has_storage, class _Alloc_types>
void _String_alloc< _Al_has_storage, _Alloc_types >::_Swap_alloc ( _Myt _Right)
inline
559  { // swap allocators
560  _Swap_adl(this->_Alval, _Right._Alval);
561  }
_Alloc_types::_Alty _Alval
Definition: xstring:541
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

template<bool _Al_has_storage, class _Alloc_types>
_Alloc_types::_Alty _String_alloc< _Al_has_storage, _Alloc_types >::_Alval

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