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 >

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:214

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
215  { // orphan all iterators
216  #if _ITERATOR_DEBUG_LEVEL == 2
217  if (_Myproxy != 0)
218  { // proxy allocated, drain it
219  _Lockit _Lock(_LOCK_DEBUG);
220 
221  for (_Iterator_base12 **_Pnext = &_Myproxy->_Myfirstiter;
222  *_Pnext != 0; *_Pnext = (*_Pnext)->_Mynextiter)
223  (*_Pnext)->_Myproxy = 0;
224  _Myproxy->_Myfirstiter = 0;
225  }
226  #endif /* _ITERATOR_DEBUG_LEVEL == 2 */
227  }
_Iterator_base12 * _Mynextiter
Definition: xutility:210
_Iterator_base12 * _Myfirstiter
Definition: xutility:72
#define _LOCK_DEBUG
Definition: yvals.h:607
Definition: xutility:109
_Container_proxy * _Myproxy
Definition: xutility:106
void _Container_base12::_Swap_all ( _Container_base12 _Right)
inline
230  { // swap all iterators
231  #if _ITERATOR_DEBUG_LEVEL == 2
232  _Lockit _Lock(_LOCK_DEBUG);
233  #endif /* _ITERATOR_DEBUG_LEVEL == 2 */
234 
235  _Container_proxy *_Temp = _Myproxy;
236  _Myproxy = _Right._Myproxy;
237  _Right._Myproxy = _Temp;
238 
239  if (_Myproxy != 0)
241  if (_Right._Myproxy != 0)
242  _Right._Myproxy->_Mycont = (_Container_base12 *)&_Right;
243  }
const _Container_base12 * _Mycont
Definition: xutility:71
#define _LOCK_DEBUG
Definition: yvals.h:607
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: