Version: 9.12.0
ObjectPoolIterator< X > Class Template Reference

#include <ObjectPool.hxx>

Inheritance diagram for ObjectPoolIterator< X >:

Public Types

typedef const X * value_type
 

Public Member Functions

 ObjectPoolIterator (const ObjectPool< X > &pool)
 
virtual bool more ()
 Return true if and only if there are other object in this iterator. More...
 
virtual const X * next ()
 Return the current object and step to the next one. More...
 
virtual void remove ()
 Delete the current element and step to the next one. More...
 

Private Attributes

const ObjectPool< X > & _pool
 
int _i
 
int _nbFound
 

Member Typedef Documentation

◆ value_type

typedef const X * SMDS_Iterator< const X * >::value_type
inherited

Constructor & Destructor Documentation

◆ ObjectPoolIterator()

Member Function Documentation

◆ more()

template<class X >
virtual bool ObjectPoolIterator< X >::more ( )
virtual

◆ next()

template<class X >
virtual const X* ObjectPoolIterator< X >::next ( )
virtual

◆ remove()

virtual void SMDS_Iterator< const X * >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

◆ _i

◆ _nbFound

◆ _pool