NLAIAGENT::CConstTemplateIterator< typeClass > Class Template Reference

#include <agent_object.h>

Inheritance diagram for NLAIAGENT::CConstTemplateIterator< typeClass >:

NLAIAGENT::IConstBasicIterator NLAIAGENT::CConstListIterator NLAIAGENT::CConstVectorIterator

template<class typeClass>
class NLAIAGENT::CConstTemplateIterator< typeClass >


Public Member Functions

 CConstTemplateIterator (const typeClass &l)
virtual bool isInBegin () const
virtual bool isInEnd () const
virtual operator const IObjetOp * () const
virtual const IObjetOpoperator++ (int)
virtual const IObjetOpoperator-- (int)
virtual ~CConstTemplateIterator ()

Private Attributes

typeClass::const_iterator _I
const typeClass & _ListType

Constructor & Destructor Documentation

template<class typeClass>
NLAIAGENT::CConstTemplateIterator< typeClass >::CConstTemplateIterator const typeClass &  l  )  [inline]
 

Definition at line 354 of file agent_object.h.

00354                                                           :_I(l.begin()),_ListType(l)
00355                 {
00356                 }

template<class typeClass>
virtual NLAIAGENT::CConstTemplateIterator< typeClass >::~CConstTemplateIterator  )  [inline, virtual]
 

Definition at line 357 of file agent_object.h.

00358                 {
00359                 }


Member Function Documentation

template<class typeClass>
virtual bool NLAIAGENT::CConstTemplateIterator< typeClass >::isInBegin  )  const [inline, virtual]
 

Implements NLAIAGENT::IConstBasicIterator.

Definition at line 380 of file agent_object.h.

00381                 {
00382                         return _I == _ListType.begin();
00383                 }

template<class typeClass>
virtual bool NLAIAGENT::CConstTemplateIterator< typeClass >::isInEnd  )  const [inline, virtual]
 

Implements NLAIAGENT::IConstBasicIterator.

Definition at line 375 of file agent_object.h.

00376                 {                       
00377                         return _I == _ListType.end();           
00378                 }

template<class typeClass>
virtual NLAIAGENT::CConstTemplateIterator< typeClass >::operator const IObjetOp *  )  const [inline, virtual]
 

Implements NLAIAGENT::IConstBasicIterator.

Definition at line 370 of file agent_object.h.

00371                 {
00372                         return (const IObjetOp *)*_I;
00373                 }

template<class typeClass>
virtual const IObjetOp* NLAIAGENT::CConstTemplateIterator< typeClass >::operator++ int   )  [inline, virtual]
 

Implements NLAIAGENT::IConstBasicIterator.

Definition at line 361 of file agent_object.h.

00362                 {
00363                         return (const IObjetOp*)*_I++;
00364                 }

template<class typeClass>
virtual const IObjetOp* NLAIAGENT::CConstTemplateIterator< typeClass >::operator-- int   )  [inline, virtual]
 

Implements NLAIAGENT::IConstBasicIterator.

Definition at line 365 of file agent_object.h.

00366                 {
00367                         return (const IObjetOp*)*_I--;
00368                 }


Field Documentation

template<class typeClass>
typeClass::const_iterator NLAIAGENT::CConstTemplateIterator< typeClass >::_I [private]
 

Definition at line 350 of file agent_object.h.

template<class typeClass>
const typeClass& NLAIAGENT::CConstTemplateIterator< typeClass >::_ListType [private]
 

Definition at line 351 of file agent_object.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 09:07:53 2004 for NeL by doxygen 1.3.6