From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02773.html | 450 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 450 insertions(+) create mode 100644 docs/doxygen/nel/a02773.html (limited to 'docs/doxygen/nel/a02773.html') diff --git a/docs/doxygen/nel/a02773.html b/docs/doxygen/nel/a02773.html new file mode 100644 index 00000000..620b934c --- /dev/null +++ b/docs/doxygen/nel/a02773.html @@ -0,0 +1,450 @@ + + +NeL: TemplateNLAIAGENT::CTemplateIterator< typeClass > class Reference + + + +
+

NLAIAGENT::CTemplateIterator< typeClass > Class Template Reference

#include <agent_object.h> +

+

Inheritance diagram for NLAIAGENT::CTemplateIterator< typeClass >: +

+ +NLAIAGENT::IBasicIterator +NLAIAGENT::IConstBasicIterator +NLAIAGENT::CListIterator +NLAIAGENT::CVectorIterator + +

Detailed Description

+

template<class typeClass>
+ class NLAIAGENT::CTemplateIterator< typeClass >

+ +Template version of IBasicIterator implementation.

+

Author:
Chafik sameh

+Nevrax France

+
Date:
2000
+ +

+ +

+Definition at line 300 of file agent_object.h. + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

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

Private Attributes

typeClass::iterator _I
typeClass & _ListType
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + +
+template<class typeClass>
NLAIAGENT::CTemplateIterator< typeClass >::CTemplateIterator typeClass &  l  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 307 of file agent_object.h. +

+

00307                                                :_I(l.begin()),_ListType(l)
+00308                 {
+00309                 }
+
+

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

+ +

+Definition at line 310 of file agent_object.h. +

+

00311                 {
+00312                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + +
+template<class typeClass>
virtual void NLAIAGENT::CTemplateIterator< typeClass >::erase  )  [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAIAGENT::IBasicIterator. +

+Definition at line 328 of file agent_object.h. +

+

00329                 {
+00330                         typename typeClass::iterator temp = _I;
+00331                         _I++;
+00332                         _ListType.erase(temp);
+00333                 }
+
+

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

+ +

+Implements NLAIAGENT::IConstBasicIterator. +

+Definition at line 340 of file agent_object.h. +

+

00341                 {
+00342                         return _I == _ListType.begin();
+00343                 }
+
+

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

+ +

+Implements NLAIAGENT::IConstBasicIterator. +

+Definition at line 335 of file agent_object.h. +

+

00336                 {                       
+00337                         return _I == _ListType.end();           
+00338                 }
+
+

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

+ +

+Implements NLAIAGENT::IConstBasicIterator. +

+Definition at line 323 of file agent_object.h. +

+

00324                 {
+00325                         return (const IObjetOp *)*_I;
+00326                 }
+
+

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

+ +

+Implements NLAIAGENT::IConstBasicIterator. +

+Definition at line 314 of file agent_object.h. +

+

00315                 {
+00316                         return (const IObjetOp*)*_I++;
+00317                 }
+
+

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

+ +

+Implements NLAIAGENT::IConstBasicIterator. +

+Definition at line 318 of file agent_object.h. +

+

00319                 {
+00320                         return (const IObjetOp*)*_I--;
+00321                 }
+
+


Field Documentation

+

+ + + + +
+ + + + + +
+template<class typeClass>
typeClass::iterator NLAIAGENT::CTemplateIterator< typeClass >::_I [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 303 of file agent_object.h.

+

+ + + + +
+ + + + + +
+template<class typeClass>
typeClass& NLAIAGENT::CTemplateIterator< typeClass >::_ListType [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 304 of file agent_object.h.

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 09:47:08 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1