STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
_Container_base12 Struct Reference
Inheritance diagram for _Container_base12:
_Deque_val< _Val_types > _Deque_val< _Alloc_types::_Val_types > _Deque_val< _Deque_base_types< _Ty, _Alloc >::_Val_types > _Deque_alloc< _Al_has_storage, _Alloc_types > _Deque_alloc< false, _Alloc_types > _Deque_alloc<!is_empty< _Alloc >::value, _Deque_base_types< _Ty, _Alloc > > deque< _Ty, _Alloc >

Public Member Functions

 _Container_base12 ()
 
 _Container_base12 (const _Container_base12 &)
 
_Container_base12operator= (const _Container_base12 &)
 
 ~_Container_base12 () _NOEXCEPT
 
_Iterator_base12 ** _Getpfirst () const
 
void _Orphan_all ()
 
void _Swap_all (_Container_base12 &)
 

Public Attributes

_Container_proxy_Myproxy
 

Constructor & Destructor Documentation

_Container_base12::_Container_base12 ( )
inline
79  : _Myproxy(0)
80  { // construct childless container
81  }
_Container_proxy * _Myproxy
Definition: xutility:106
_Container_base12::_Container_base12 ( const _Container_base12 )
inline
84  : _Myproxy(0)
85  { // copy a container
86  }
_Container_proxy * _Myproxy
Definition: xutility:106
_Container_base12::~_Container_base12 ( )
inline
94  { // destroy the container
95  _Orphan_all();
96  }
void _Orphan_all()
Definition: xutility:213

Member Function Documentation

_Iterator_base12** _Container_base12::_Getpfirst ( ) const
inline
99  { // get address of iterator chain
100  return (_Myproxy == 0 ? 0 : &_Myproxy->_Myfirstiter);
101  }
_Iterator_base12 * _Myfirstiter
Definition: xutility:72
_Container_proxy * _Myproxy
Definition: xutility:106
void _Container_base12::_Orphan_all ( )
inline
214  { // orphan all iterators
215  #if _ITERATOR_DEBUG_LEVEL == 2
216  if (_Myproxy != 0)
217  { // proxy allocated, drain it
218  _Lockit _Lock(_LOCK_DEBUG);
219 
220  for (_Iterator_base12 **_Pnext = &_Myproxy->_Myfirstiter;
221  *_Pnext != 0; *_Pnext = (*_Pnext)->_Mynextiter)
222  (*_Pnext)->_Myproxy = 0;
223  _Myproxy->_Myfirstiter = 0;
224  }
225  #endif /* _ITERATOR_DEBUG_LEVEL == 2 */
226  }
_Iterator_base12 * _Mynextiter
Definition: xutility:209
_Iterator_base12 * _Myfirstiter
Definition: xutility:72
#define _LOCK_DEBUG
Definition: yvals.h:615
Definition: xutility:109
_Container_proxy * _Myproxy
Definition: xutility:106
void _Container_base12::_Swap_all ( _Container_base12 _Right)
inline
229  { // swap all iterators
230  #if _ITERATOR_DEBUG_LEVEL == 2
231  _Lockit _Lock(_LOCK_DEBUG);
232  #endif /* _ITERATOR_DEBUG_LEVEL == 2 */
233 
234  _Container_proxy *_Temp = _Myproxy;
235  _Myproxy = _Right._Myproxy;
236  _Right._Myproxy = _Temp;
237 
238  if (_Myproxy != 0)
240  if (_Right._Myproxy != 0)
241  _Right._Myproxy->_Mycont = (_Container_base12 *)&_Right;
242  }
const _Container_base12 * _Mycont
Definition: xutility:71
#define _LOCK_DEBUG
Definition: yvals.h:615
Definition: xutility:75
Definition: xutility:64
_Container_proxy * _Myproxy
Definition: xutility:106
_Container_base12& _Container_base12::operator= ( const _Container_base12 )
inline
89  { // assign a container
90  return (*this);
91  }

Member Data Documentation

_Container_proxy* _Container_base12::_Myproxy

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