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/a03104.html | 4820 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 4820 insertions(+) create mode 100644 docs/doxygen/nel/a03104.html (limited to 'docs/doxygen/nel/a03104.html') diff --git a/docs/doxygen/nel/a03104.html b/docs/doxygen/nel/a03104.html new file mode 100644 index 00000000..820e1016 --- /dev/null +++ b/docs/doxygen/nel/a03104.html @@ -0,0 +1,4820 @@ + + +NeL: NLAISCRIPT::CPramContainer class Reference + + + +
+

NLAISCRIPT::CPramContainer Class Reference

#include <param_container.h> +

+

Inheritance diagram for NLAISCRIPT::CPramContainer: +

+ +NLAIAGENT::CGroupType +NLAIAGENT::IBaseGroupType +NLAIAGENT::IObjetOp +NLAIAGENT::IObjectIA +NLAIAGENT::IBasicObjectIA +NLAIC::IBasicInterface +NLAIC::IBasicType +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable + +

Detailed Description

+Class that define a list for stor parameter of function call. +

+ +

+Definition at line 36 of file param_container.h. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Some IObjectIA method definition.

virtual sint32 getMethodIndexSize () const
virtual sint32 isClassInheritedFrom (const IVarName &) const
virtual TQueue isMember (const IVarName *, const IVarName *, const IObjectIA &) const
virtual CProcessResult runMethodeMember (sint32 index, IObjectIA *)
virtual CProcessResult runMethodeMember (sint32, sint32, IObjectIA *)

Public Types

typedef std::list< const IObjectIA * > TListType
enum  TOpId {
+  op_add, +op_sub, +op_mul, +op_div, +
+  op_eq, +op_inf, +op_sup, +op_inf_eq, +
+  op_sup_eq, +op_not, +op_diff, +op_neg, +
+  op_last +
+ }

Public Member Functions

virtual TQueue canProcessMessage (const IVarName &)
IObjetOp * CGroupType::operator! () const
void clear ()
 Clear the list.

virtual const NLAIC::IBasicTypeclone () const
 CPramContainer (const CPramContainer &g)
 CPramContainer ()
void cpy (const IObjectIA &o)
 Push an IObjectIA back using the clone method.

sint32 decRef ()
 Decrement the reference of an object.

void erase (std::list< const IObjectIA * > &l)
 Erase all element contain in the list.

void erase (const IObjectIA &obj)
 Erase the first element find equal at the const IObjectIA& on argument.

void erase (const IObjectIA *o)
 Erase the element how have the same pointer memory as the argument const IObjectIA *.

void eraseAll (const IObjectIA &obj)
 Erase all element find equal at the const IObjectIA & on argument.

const IObjectIA * find (const IObjectIA &obj) const
 Find an element on the list the operator == is use.

TListType findList (const IObjectIA &obj) const
const IObjectIA * get () const
 return the back IObjectIA.

TListType::iterator getBegin ()
TListType::const_iterator getBegin () const
virtual CConstIteratorContener getConstIterator () const
 Clear the list.

virtual void getDebugString (std::string &text) const
TListType::iterator getEnd ()
TListType::const_iterator getEnd () const
const IObjectIA * getFront () const
 return the front IObjectIA.

virtual const std::string getInfo ()
virtual CIteratorContener getIterator ()
 Get an iterator to parse the list.

virtual std::string getMethodeMemberDebugString (sint32, sint32) const
virtual IObjetOp * getNeg () const
const sint32getRef () const
 get the refence count.

const IObjectIA * getStaticMember (const IVarName &compName) const
virtual const IObjectIA * getStaticMember (sint32) const
virtual sint32 getStaticMemberIndex (const IVarName &) const
virtual sint32 getStaticMemberSize () const
virtual const NLAIC::CIdentTypegetType () const
void incRef ()
 Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list.

virtual void init (IObjectIA *)
virtual bool isEqual (const IBasicObjectIA &a) const
virtual bool isLocal ()
 If the result is true the object is loclal else its a representation of an object on the server. By the method return true.

virtual void load (NLMISC::IStream &is)
virtual IObjetOp & neg ()
 throw (NLAIE::CExceptionNotImplemented)

virtual const NLAIC::IBasicTypenewInstance () const
virtual IObjetOp * operator * (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp & operator *= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator!= (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator+ (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator+ (const IObjetOp &a)
 throw (NLAIE::CExceptionNotImplemented)

virtual NLAIAGENT::IObjetOpoperator+= (const NLAIAGENT::IObjetOp &a)
 redefinition of the += operator, that allow to stor reference of object rather then clone.

virtual IObjetOp * operator- (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator- (const IObjetOp &a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator/ (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp & operator/= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator< (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator<= (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

bool operator== (const IBasicObjectIA &classType) const
virtual IObjetOp * operator== (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator> (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

virtual IObjetOp * operator>= (IObjetOp &) const
 throw (NLAIE::CExceptionNotImplemented)

virtual const IObjectIA * operator[] (sint32) const
 Clear the list.

const IObjectIA * pop ()
 Pop the back IObjectIA and return it.

const IObjectIA * popFront ()
 Pop the front IObjectIA and return it.

void push (const IObjectIA *o)
 Push an IObjectIA back.

void pushFront (const IObjectIA *o)
 Push an IObjectIA front.

virtual void release ()
 Release allow to release the pointer. The last release when the _Ref is nul delete the object.

virtual const CProcessResult & run ()
virtual const CProcessResult & runStep ()
virtual void save (NLMISC::IStream &os)
virtual CProcessResult sendMessage (const IVarName &, IObjectIA *)
virtual CProcessResult sendMessage (IObjectIA *)
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
virtual void set (int, IObjectIA *)
 Push an IObjectIA at the position indicate by the int.

virtual bool setStaticMember (sint32, IObjectIA *)
bool setStaticMember (const IVarName &compName, IObjectIA *change)
sint32 size () const
 get the size of the list.

virtual ~CPramContainer ()

Data Fields

TListType _List
 std::list for store IObjectIA object.


Static Public Attributes

CMethodCall _Method []
const NLAIC::CIdentType IdGroupType
const NLAIC::CIdentType IdPramContainer
TProcessStatement ProcessBuzzy = processBuzzy
TProcessStatement ProcessEnd = processEnd
TProcessStatement ProcessError = processError
TProcessStatement ProcessIdle = processIdle
TProcessStatement ProcessLocked = processLocked
CProcessResult ProcessNotComplit = IObjectIA::CProcessResult(processNotComplete)
CProcessResult ProcessRun = IObjectIA::CProcessResult()

Protected Member Functions

TListTypegetList ()
+


Member Typedef Documentation

+

+ + + + +
+ + +
typedef std::list<const IObjectIA *> NLAIAGENT::CGroupType::TListType [inherited] +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by NLAIAGENT::CGroupType::findList(), and NLAIAGENT::CGroupType::getList().

+


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NLAIAGENT::IObjetOp::TOpId [inherited] +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + + + + + + + + + + + + + +
op_add  +
op_sub  +
op_mul  +
op_div  +
op_eq  +
op_inf  +
op_sup  +
op_inf_eq  +
op_sup_eq  +
op_not  +
op_diff  +
op_neg  +
op_last  +
+
+ +

+Definition at line 46 of file agent_operator.h. +

+

00047                 {
+00048                         op_add ,
+00049                         op_sub ,
+00050                         op_mul ,
+00051                         op_div ,
+00052                         op_eq ,
+00053                         op_inf ,
+00054                         op_sup ,
+00055                         op_inf_eq ,
+00056                         op_sup_eq ,
+00057                         op_not ,
+00058                         op_diff ,                       
+00059                         op_neg,
+00060                         op_last
+00061                 };      
+
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CPramContainer::CPramContainer  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 31 of file param_container.cpp. +

+Referenced by clone(), and newInstance(). +

+

00032         {
+00033         }
+
+

+ + + + +
+ + + + + + + + + + +
NLAISCRIPT::CPramContainer::CPramContainer const CPramContainer g  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 35 of file param_container.cpp. +

+

00035                                                              :CGroupType(g)
+00036         {
+00037         }
+
+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CPramContainer::~CPramContainer  )  [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 39 of file param_container.cpp. +

+

00040         {
+00041         }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
TQueue NLAIAGENT::IObjectIA::canProcessMessage const IVarName  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+The method canProcessMessage(const IVarName &msgName) allow us to know if agent can preocess given by msgName.

+TQueue contain the liste of method (same as a run(msg)) that coud process the msg. +

+Reimplemented in NLAIAGENT::CLocalAgentMail. +

+Definition at line 350 of file baseai.cpp. +

+References NLAIAGENT::TQueue. +

+Referenced by NLAIAGENT::CLocalAgentMail::canProcessMessage(). +

+

00351         {
+00352                 return TQueue();
+00353         }
+
+

+ + + + +
+ + + + + + + + + +
IObjetOp* NLAIAGENT::CGroupType::CGroupType::operator!  )  const [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void NLAIAGENT::CGroupType::clear  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Clear the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 664 of file group_type.cpp. +

+References NLAIC::IPointerGestion::release(). +

+Referenced by NLAIAGENT::CGroupType::operator=(), and NLAIAGENT::CGroupType::~CGroupType(). +

+

00665         {
+00666                 while(_List.size())
+00667                 {
+00668                         NLAIC::IBasicInterface * o = (NLAIC::IBasicInterface *)_List.front();
+00669                         o->release();
+00670                         _List.pop_front();
+00671                 }
+00672                 _List.clear();
+00673         }
+
+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAISCRIPT::CPramContainer::clone  )  const [virtual]
+
+ + + + + +
+   + + +

+This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +

+Reimplemented from NLAIAGENT::CGroupType. +

+Definition at line 48 of file param_container.cpp. +

+References CPramContainer(). +

+

00049         {
+00050                 return new CPramContainer(*this); 
+00051         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::cpy const IObjectIA o  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Push an IObjectIA back using the clone method. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 434 of file group_type.cpp. +

+References NLAIC::IBasicType::clone(), and t. +

+

00435         {
+00436                 const IObjectIA *t = (const IObjectIA *)o.clone();      
+00437                 _List.push_back(t);
+00438         }
+
+

+ + + + +
+ + + + + + + + + +
sint32 NLAIC::IPointerGestion::decRef  )  [inline, inherited]
+
+ + + + + +
+   + + +

+Decrement the reference of an object. +

+ +

+Definition at line 93 of file abstract_interface.h. +

+References NLAIC::IPointerGestion::_Ref, and sint32. +

+Referenced by NLAIC::IPointerGestion::release(), and NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle(). +

+

00094                 {
+00095                         return --_Ref;
+00096                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::erase std::list< const IObjectIA * > &  l  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Erase all element contain in the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 577 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::erase(). +

+

00578         {                       
+00579                 TListType::iterator i = l.begin();
+00580                 while(i != l.end())
+00581                 {
+00582                         erase(*i++);                                                            
+00583                 }
+00584         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::erase const IObjectIA obj  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Erase the first element find equal at the const IObjectIA& on argument. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 561 of file group_type.cpp. +

+References NLAIC::IPointerGestion::release(). +

+

00562         {       
+00563                 TListType::iterator i = _List.begin();
+00564                 while(i != _List.end())
+00565                 {
+00566                         TListType::iterator j = i++;
+00567                         if( *(*j) == obj)
+00568                         {
+00569                                 IObjectIA *o = (IObjectIA *)*j;
+00570                                 _List.erase(j);
+00571                                 o->release();
+00572                                 return;
+00573                         }                               
+00574                 }
+00575         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::erase const IObjectIA o  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Erase the element how have the same pointer memory as the argument const IObjectIA *. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 545 of file group_type.cpp. +

+References NLAIC::IPointerGestion::release(). +

+Referenced by NLAIAGENT::CGroupType::erase(), and NLAIAGENT::IAgentInput::releaseInputConnexion(). +

+

00546         {       
+00547                 TListType::iterator i = _List.begin();
+00548                 while(i != _List.end())
+00549                 {
+00550                         TListType::iterator j = i++;
+00551                         if( *j == o)
+00552                         {
+00553                                 IObjectIA *o = (IObjectIA *)*j;
+00554                                 _List.erase(j);
+00555                                 o->release();
+00556                                 return;
+00557                         }                               
+00558                 }
+00559         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::eraseAll const IObjectIA obj  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Erase all element find equal at the const IObjectIA & on argument. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 529 of file group_type.cpp. +

+References NLAIC::IPointerGestion::release(). +

+

00530         {                       
+00531                 TListType::iterator i = _List.begin();
+00532                 while(i != _List.end())
+00533                 {
+00534                         TListType::iterator j = i++;
+00535                         IObjectIA *o= (IObjectIA *)*j;
+00536                         if( *o == obj)
+00537                         {                                       
+00538                                 _List.erase(j);
+00539                                 o->release();
+00540                                 return;
+00541                         }
+00542                 }
+00543         }
+
+

+ + + + +
+ + + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::find const IObjectIA obj  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+Find an element on the list the operator == is use. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 502 of file group_type.cpp. +

+

00503         {                       
+00504                 TListType::const_iterator i = _List.begin();
+00505                 while(i != _List.end())
+00506                 {
+00507                         const IObjectIA *o = *i++;
+00508                         if( *o == obj) return o;
+00509                 }
+00510                 return NULL;
+00511         }
+
+

+ + + + +
+ + + + + + + + + + +
CGroupType::TListType NLAIAGENT::CGroupType::findList const IObjectIA obj  )  const [inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 469 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::TListType. +

+

00470         {
+00471                 TListType l;                    
+00472                 TListType::const_iterator i = _List.begin();
+00473                 while(i != _List.end())
+00474                 {
+00475                         const IObjectIA *o = *i++;
+00476                         if( *o == obj) l.push_back();
+00477                 }
+00478                 return l;
+00479 
+00480         }
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::get  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+return the back IObjectIA. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 447 of file group_type.cpp. +

+Referenced by NLAISCRIPT::CCompilateur::affectation(), NLAISCRIPT::CCompilateur::affectationMember(), NLAISCRIPT::CCompilateur::computContraint(), NLAISCRIPT::CCompilateur::definClass(), NLAISCRIPT::CCompilateur::findMethode(), NLAISCRIPT::CCompilateur::getCode(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAISCRIPT::CCompilateur::isValidateVarName(), NLAISCRIPT::CCompilateur::processingVar(), NLAISCRIPT::CCompilateur::RegisterClass(), NLAISCRIPT::CCompilateur::registerMethod(), and NLAISCRIPT::CCompilateur::typeOfMethod(). +

+

00448         {
+00449                 return _List.back();                    
+00450         }
+
+

+ + + + +
+ + + + + + + + + +
CGroupType::TListType::iterator NLAIAGENT::CGroupType::getBegin  )  [inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 492 of file group_type.cpp. +

+

00493         {
+00494                 return _List.begin();
+00495         }
+
+

+ + + + +
+ + + + + + + + + +
CGroupType::TListType::const_iterator NLAIAGENT::CGroupType::getBegin  )  const [inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 482 of file group_type.cpp. +

+

00483         {
+00484                 return _List.begin();
+00485         }
+
+

+ + + + +
+ + + + + + + + + +
virtual std::string NLAIC::IPointerGestion::getClassName  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+ +

+Implements NLMISC::IClassable. +

+Reimplemented in NLAIC::CIdentType. +

+Definition at line 116 of file abstract_interface.h. +

+Referenced by NLAISCRIPT::CAgentClass::isClassInheritedFrom(). +

+

00117                 {
+00118                         return std::string("<unnamed>");
+00119                 }
+
+

+ + + + +
+ + + + + + + + + +
virtual CConstIteratorContener NLAIAGENT::CGroupType::getConstIterator  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+Clear the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

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

+

00674                 {
+00675                         return CConstIteratorContener((IBasicIterator *)(new CConstListIterator(_List)));
+00676                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::getDebugString std::string &  text  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +

+Implements NLAIC::IBasicType. +

+Definition at line 408 of file group_type.cpp. +

+

00409         {                                               
+00410                 text += "[";
+00411                 std::list<const IObjectIA *>::const_iterator i = _List.begin();
+00412                 while(i != _List.end())
+00413                 {
+00414                         std::string temp;
+00415                         (*i++)->getDebugString(temp);                           
+00416                         text += temp;
+00417                         if(i != _List.end()) text += " ";
+00418                 }
+00419                 text += "]";
+00420         }       
+
+

+ + + + +
+ + + + + + + + + +
CGroupType::TListType::iterator NLAIAGENT::CGroupType::getEnd  )  [inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 497 of file group_type.cpp. +

+

00498         {
+00499                 return _List.end();
+00500         }               
+
+

+ + + + +
+ + + + + + + + + +
CGroupType::TListType::const_iterator NLAIAGENT::CGroupType::getEnd  )  const [inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 487 of file group_type.cpp. +

+

00488         {
+00489                 return _List.end();
+00490         }               
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::getFront  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+return the front IObjectIA. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 459 of file group_type.cpp. +

+

00460         {
+00461                 return _List.front();                   
+00462         }       
+
+

+ + + + +
+ + + + + + + + + +
virtual const std::string NLAIC::IBasicType::getInfo  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 292 of file abstract_interface.h. +

+References NLAIC::IBasicType::getDebugString(), and s. +

+

00293                 {
+00294                         std::string s;
+00295                         getDebugString(s);
+00296                         return s;
+00297                 }
+
+

+ + + + +
+ + + + + + + + + +
virtual CIteratorContener NLAIAGENT::CGroupType::getIterator  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+Get an iterator to parse the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

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

+

00669                 {
+00670                         return CIteratorContener(new CListIterator(_List));
+00671                 }
+
+

+ + + + +
+ + + + + + + + + +
CGroupType::TListType & NLAIAGENT::CGroupType::getList  )  [protected, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 390 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::TListType. +

+Referenced by NLAISCRIPT::CListClass::find(). +

+

00391         {
+00392                 return _List;
+00393         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
std::string NLAIAGENT::IObjectIA::getMethodeMemberDebugString sint32 ,
sint32 
const [virtual, inherited]
+
+ + + + + +
+   + + +

+The methode getMethodeMemberDebugString(sint32 heritance, sint32 index) return a string that define the name and the argument of the method +

+Reimplemented in NLAIAGENT::CAgentScript. +

+Definition at line 311 of file baseai.cpp. +

+References sint32. +

+Referenced by NLAISCRIPT::CCallHeapMethodi::getDebugResult(), NLAISCRIPT::CCallStackMethodi::getDebugResult(), NLAISCRIPT::CCallMethodi::getDebugResult(), NLAISCRIPT::CLibHeapMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackNewMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackMemberMethod::getDebugResult(), NLAISCRIPT::CLibCallMethodi::getDebugResult(), NLAISCRIPT::CLibCallInheritedMethod::getDebugResult(), NLAISCRIPT::CLibCallMethod::getDebugResult(), NLAISCRIPT::CLibMemberMethodi::getDebugResult(), NLAISCRIPT::CLibMemberInheritedMethod::getDebugResult(), and NLAISCRIPT::CLibMemberMethod::getDebugResult(). +

+

00312         {
+00313                 switch(id)
+00314                 {
+00315                 case 0:
+00316                         {
+00317                                 return std::string("IObjectIA::sendMessage(IMessage)");
+00318                         }                       
+00319                         break;
+00320                 case 1:                 
+00321                         break;
+00322                 case 2:                 
+00323                         return std::string("IObjectIA::run()");
+00324                         break;
+00325 
+00326                 case 3:
+00327                         {                               
+00328                                 return std::string("IObjectIA::getStaticMember(Integer)");                              
+00329                         }
+00330                 }
+00331                 return std::string("Mathod_?????(Param_?????)");
+00332         }
+
+

+ + + + +
+ + + + + + + + + +
sint32 NLAIAGENT::IBaseGroupType::getMethodIndexSize  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+getMethodIndexSize define the nomber of method define in the class. +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, and NLAIAGENT::IMessageBase. +

+Definition at line 92 of file group_type.cpp. +

+References sint32. +

+

00093         {
+00094                 return IObjetOp::getMethodIndexSize() + _LastM;
+00095         }
+
+

+ + + + +
+ + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::getNeg  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 165 of file agent_operator.h. +

+References NLAIC::IBasicType::clone(), and NLAIAGENT::IObjetOp::neg(). +

+Referenced by NLAISCRIPT::CNegOpCode::runOpCode(). +

+

00166                 {
+00167                         IObjetOp *o = (IObjetOp *)clone();                      
+00168                         o->neg();
+00169                         return o;
+00170                 }
+
+

+ + + + +
+ + + + + + + + + +
const sint32& NLAIC::IPointerGestion::getRef  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+get the refence count. +

+ +

+Definition at line 99 of file abstract_interface.h. +

+References NLAIC::IPointerGestion::_Ref, and sint32. +

+Referenced by NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle(). +

+

00100                 {
+00101                         return _Ref;
+00102                 }
+
+

+ + + + +
+ + + + + + + + + + +
const IObjectIA* NLAIAGENT::IObjectIA::getStaticMember const IVarName compName  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+to get the pointer of a given components referened by an string. +

+Definition at line 261 of file baseai.h. +

+References NLAIAGENT::IObjectIA::getStaticMember(), and NLAIAGENT::IObjectIA::getStaticMemberIndex(). +

+

00262                 {
+00263                         return getStaticMember(getStaticMemberIndex(compName));
+00264                 }
+
+

+ + + + +
+ + + + + + + + + + +
const IObjectIA * NLAIAGENT::IObjectIA::getStaticMember sint32   )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+to get the pointer of a given components referened by an index. +

+Reimplemented in NLAIAGENT::CLocalAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CMessageScript, and NLAISCRIPT::CAgentClass. +

+Definition at line 193 of file baseai.cpp. +

+References sint32. +

+Referenced by NLAISCRIPT::CCompilateur::affectationMember(), NLAIAGENT::CComponentHandle::getComponent(), NLAISCRIPT::CLdbMemberiOpCode::getDebugResult(), NLAISCRIPT::CLdbHeapMemberiOpCode::getDebugResult(), NLAISCRIPT::CLdbStackMemberiOpCode::getDebugResult(), NLAISCRIPT::CCallStackNewMethodi::getDebugResult(), NLAISCRIPT::CCallHeapMethodi::getDebugResult(), NLAISCRIPT::CCallStackMethodi::getDebugResult(), NLAISCRIPT::CCallMethodi::getDebugResult(), NLAISCRIPT::CLibHeapMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackNewMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackMemberMethod::getDebugResult(), NLAISCRIPT::CLibCallMethodi::getDebugResult(), NLAISCRIPT::CLibMemberMethodi::getDebugResult(), NLAISCRIPT::CLoadHeapObject::getObject(), NLAISCRIPT::CLoadStackObject::getObject(), NLAISCRIPT::CLoadSelfObject::getObject(), NLAIAGENT::IObjectIA::getStaticMember(), NLAIAGENT::CLocalAgentMail::getStaticMember(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAISCRIPT::CCompilateur::isValidateVarName(), NLAISCRIPT::CCodeBrancheRunDebug::printVariable(), NLAIAGENT::IObjectIA::runMethodeMember(), NLAISCRIPT::CLdbMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode(), NLAISCRIPT::CCallHeapMethodi::runOpCode(), NLAISCRIPT::CCallStackMethodi::runOpCode(), NLAISCRIPT::CCallStackNewMethodi::runOpCode(), NLAISCRIPT::CCallMethodi::runOpCode(), NLAISCRIPT::CLibHeapMemberMethod::runOpCode(), NLAISCRIPT::CLibStackNewMemberMethod::runOpCode(), NLAISCRIPT::CLibStackMemberMethod::runOpCode(), NLAISCRIPT::CLibCallMethodi::runOpCode(), NLAISCRIPT::CLibMemberMethodi::runOpCode(), NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode(), and NLAISCRIPT::CAffMemberiOpCode::runOpCode(). +

+

00194         {
+00195                 return NULL;
+00196         }
+
+

+ + + + +
+ + + + + + + + + + +
sint32 NLAIAGENT::IObjectIA::getStaticMemberIndex const IVarName  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+to get the index of a given components name. +

+Reimplemented in NLAIAGENT::CLocalAgentMail, NLAIAGENT::CAgentScript, and NLAIAGENT::CMessageScript. +

+Definition at line 188 of file baseai.cpp. +

+References sint32. +

+Referenced by NLAISCRIPT::CCompilateur::affectation(), NLAIAGENT::CComponentHandle::getComponent(), NLAIAGENT::IObjectIA::getStaticMember(), NLAIAGENT::CLocalAgentMail::getStaticMemberIndex(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAISCRIPT::CCompilateur::isValidateVarName(), NLAISCRIPT::CCodeBrancheRunDebug::printVariable(), NLAISCRIPT::CCompilateur::processingVar(), NLAISCRIPT::CConstraintStackComp::run(), and NLAIAGENT::IObjectIA::setStaticMember(). +

+

00189         {
+00190                 return -1;
+00191         }
+
+

+ + + + +
+ + + + + + + + + +
sint32 NLAIAGENT::IObjectIA::getStaticMemberSize  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+Static member is the component that the agent is create and die with. getStaticMemberSize to get the size of the static member components +

+Reimplemented in NLAIAGENT::CLocalAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CMessageScript, NLAISCRIPT::IClassInterpret, and NLAISCRIPT::CAgentClass. +

+Definition at line 180 of file baseai.cpp. +

+References NLAIC::IBasicType::getType(), sint32, and NLAIC::stringGetBuild(). +

+Referenced by NLAIAGENT::CLocalAgentMail::getStaticMemberSize(). +

+

00181         {
+00182                 std::string text;
+00183                 text = NLAIC::stringGetBuild("sint32 IObjectIA::getStaticMemberSize() note implementaited for the '%s' interface",(const char *)getType());
+00184                 throw NLAIE::CExceptionNotImplemented(text.c_str());
+00185                 return 0;       
+00186         }
+
+

+ + + + +
+ + + + + + + + + +
virtual const NLAIC::CIdentType& NLAISCRIPT::CPramContainer::getType  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+getType return a unique string how represente the class, it can be the name of the class. This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +

+Reimplemented from NLAIAGENT::CGroupType. +

+Definition at line 50 of file param_container.h. +

+References IdPramContainer. +

+

00051                 {
+00052                         return IdPramContainer;
+00053                 }
+
+

+ + + + +
+ + + + + + + + + +
void NLAIC::IPointerGestion::incRef  )  [inline, inherited]
+
+ + + + + +
+   + + +

+Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. +

+ +

+Definition at line 80 of file abstract_interface.h. +

+References NLAIC::IPointerGestion::_Ref. +

+Referenced by NLAIAGENT::CSeqFsmScript::activate(), NLAILOGIC::CFactBase::addAssert(), NLAIAGENT::IAgentComposite::addChild(), NLAILOGIC::IBaseAssert::addInput(), NLAILOGIC::CBoolOperator::addPostcondition(), NLAILOGIC::CBoolOperator::addPrecondition(), NLAILOGIC::CInternalGoal::addPredecessor(), NLAILOGIC::CGoal::addPredecessor(), NLAIFUZZY::CFuzzyVar::addSet(), NLAISCRIPT::CCompilateur::affectation(), NLAILOGIC::CFact::asValueSet(), NLAIAGENT::CAgentWatchTimer::attach(), NLAISCRIPT::CCompilateur::buildObject(), NLAISCRIPT::CAgentClass::buildVMethode(), NLAIAGENT::CAgentOperation::CAgentOperation(), NLAIAGENT::CAgentTimerHandle::CAgentTimerHandle(), NLAISCRIPT::CCompilateur::callFunction(), NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory(), NLAISCRIPT::CCodeBrancheRunDebug::CCodeBrancheRunDebug(), NLAISCRIPT::CCompilateur::CCompilateur(), NLAISCRIPT::CFactorType::CFactorType(), NLAISCRIPT::CFunctionTag::CFunctionTag(), NLAIAGENT::COperatorScript::checkTrigMsg(), NLAIC::CIdentType::CIdentType(), NLAIAGENT::CIdMethod::CIdMethod(), NLAIAGENT::CKeyObject::CKeyObject(), NLAISCRIPT::CFindRunMsg::clone(), NLAISCRIPT::CObjectUnknown::clone(), NLAISCRIPT::CConstraintStackComp::clone(), NLAISCRIPT::CConstraintFindRun::clone(), NLAISCRIPT::CConstraintMethode::clone(), NLAILINK::IOTrace::clone(), NLAISCRIPT::CMethodeName::CMethodeName(), NLAISCRIPT::CAgentClass::CMethodType::CMethodType(), NLAISCRIPT::CObjectUnknown::CObjectUnknown(), NLAIAGENT::CPairType::CPairType(), NLAISCRIPT::CAgentClass::createComponents(), NLAILOGIC::CValueSet::CValueSet(), NLAILOGIC::CVar::CVar(), NLAILOGIC::CValueSet::forward(), NLAIAGENT::IMessageBase::IMessageBase(), NLAIAGENT::CAgentScript::initAgentScript(), NLAISCRIPT::CCompilateur::initMessageManager(), NLAISCRIPT::COperatorClass::isValidFonc(), NLAILOGIC::CValueSet::load(), NLAILOGIC::IBaseOperator::load(), NLAISCRIPT::CAgentClass::load(), NLAISCRIPT::CComponent::load(), NLAISCRIPT::CMethodeName::load(), NLAIAGENT::CVectorGroupType::operator+(), NLAIAGENT::CGroupType::operator+(), operator+=(), NLAIAGENT::IMessageBase::operator=(), NLAIAGENT::CKeyObject::operator=(), NLAISCRIPT::CAgentClass::CMethodType::operator=(), NLAISCRIPT::CFunctionTag::operator=(), NLAIAGENT::CIdMethod::operator=(), NLAISCRIPT::CCompilateur::processingVar(), NLAIAGENT::CAgentScript::processMessages(), NLAISCRIPT::CCompilateur::pushParamExpression(), NLAISCRIPT::CConstraintFindRun::run(), NLAIAGENT::IBasicAgent::run(), NLAIAGENT::CAgentScript::runAskGetValue(), NLAIAGENT::IAgent::runChildren(), NLAIAGENT::CMainAgentScript::runExec(), NLAIAGENT::CAgentScript::runInitComponent(), NLAIAGENT::CAgentOperation::runMethodBase(), NLAIAGENT::CAgentWatchTimer::runMethodBase(), NLAIAGENT::CAgentScript::runMethodBase(), NLAIAGENT::CActorScript::runMethodBase(), NLAIAGENT::IMessageBase::runMethodeMember(), NLAIAGENT::IBaseGroupType::runMethodeMember(), NLAIAGENT::IBasicAgent::runMethodeMember(), NLAISCRIPT::CLdbRefOpCode::runOpCode(), NLAISCRIPT::CLdbMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode(), NLAISCRIPT::CCallStackMethodi::runOpCode(), NLAISCRIPT::CCallStackNewMethodi::runOpCode(), NLAISCRIPT::CLibStackNewMemberMethod::runOpCode(), NLAISCRIPT::CLibStackMemberMethod::runOpCode(), NLAISCRIPT::CAffOpCode::runOpCode(), NLAISCRIPT::CAddParamNameDebug::runOpCode(), NLAISCRIPT::CAffOpCodeDebug::runOpCode(), NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CAffMemberOpCode::runOpCode(), NLAISCRIPT::CAffMemberiOpCode::runOpCode(), NLAIAGENT::CAgentScript::runTellComponent(), NLAIAGENT::CAgentScript::runTellSetValue(), NLAISCRIPT::CMethodContextDebug::saveContext(), NLAISCRIPT::CMethodContext::saveContext(), NLAIAGENT::CAgentScript::sendBroadCast(), NLAIAGENT::IListManager::sendMessage(), NLAIAGENT::CAgentScript::sendMethodCompoment(), NLAIAGENT::CVolatilMemmory::sendUpdateMessage(), NLAISCRIPT::CFactorType::set(), NLAILOGIC::IBaseOperator::setGoal(), NLAISCRIPT::CCompilateur::setImediateVarNill(), NLAISCRIPT::CCompilateur::setMethodVar(), NLAISCRIPT::CCompilateur::setParamVarName(), NLAISCRIPT::CFunctionTag::setTypeObject(), NLAILOGIC::CVar::setValue(), NLAILOGIC::CValueSet::setValue(), NLAIAGENT::CAgentWatchTimer::tellBroker(), NLAISCRIPT::CCompilateur::typeOfMethod(), NLAILOGIC::CVar::unify(), NLAILOGIC::CValueSet::unify(), and NLAIAGENT::CAgentOperation::update(). +

+

00081                 {
+00082                         _Ref ++;
+00083                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IObjectIA::init IObjectIA  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Init method alows to init the attribut of an object. the maparmetre is in more time a list of IObjectIA. +

+Reimplemented in NLAIFUZZY::CSimpleFuzzyCond, NLAIFUZZY::CFuzzyRule, NLAIFUZZY::CFuzzyRuleSet, NLAIFUZZY::CFuzzyInterval, NLAIFUZZY::CRightFuzzySet, NLAIFUZZY::CTriangleFuzzySet, NLAIFUZZY::CTrapezeFuzzySet, NLAIFUZZY::CLeftFuzzySet, NLAIFUZZY::CFuzzyVar, NLAILOGIC::CFirstOrderAssert, NLAILOGIC::CRule, and NLAILOGIC::CFactPattern. +

+Definition at line 116 of file baseai.cpp. +

+Referenced by NLAIFUZZY::IFuzzySet::runMethodeMember(), and NLAISCRIPT::CLdbNewOpCode::runOpCode(). +

+

00117         {
+00118                 
+00119         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
virtual TQueue NLAIAGENT::IObjetOp::IObjetOp::isMember const IVarName,
const IVarName,
const IObjectIA
const [virtual, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual CProcessResult NLAIAGENT::IObjetOp::IObjetOp::runMethodeMember sint32  index,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
sint32 NLAIAGENT::IBaseGroupType::isClassInheritedFrom const IVarName  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+isClassInheritedFrom(className) allow us to known if this class have a base class with the name className.

+If true the method return the range of the base class, this range is an arbitrary reference id define by the programmer or bay the scrypt. the false return is define by -1. +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Reimplemented in NLAIAGENT::CMessageScript. +

+Definition at line 256 of file group_type.cpp. +

+References sint32. +

+

00257         {
+00258                 return -1;
+00259         }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLAIAGENT::CGroupType::isEqual const IBasicObjectIA a  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+The bool operator == (const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. +

+Implements NLAIAGENT::IBasicObjectIA. +

+Definition at line 586 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::_List, and NLAIAGENT::CGroupType::size(). +

+

00587         {
+00588                 const CGroupType &b = (const CGroupType &)a;                    
+00589                 if(size() != b.size()) return false;
+00590 
+00591                 TListType::const_iterator i = _List.begin();
+00592                 TListType::const_iterator j = b._List.begin();
+00593                 
+00594                 while(i != _List.end())
+00595                 {
+00596                         const IObjectIA *a1 = *i;
+00597                         const IObjectIA *a2 = *j;
+00598                         if( a1 != a2)
+00599                                 if(!(*a1 == *a2)) return false;
+00600                         i ++;
+00601                         j ++;
+00602                 }
+00603                 return true;
+00604         }
+
+

+ + + + +
+ + + + + + + + + +
bool NLAIAGENT::IObjectIA::isLocal  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+If the result is true the object is loclal else its a representation of an object on the server. By the method return true. +

+ +

+Definition at line 356 of file baseai.cpp. +

+

00357         {
+00358                 return true;
+00359         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
TQueue NLAIAGENT::IBaseGroupType::isMember const IVarName,
const IVarName,
const IObjectIA
const [virtual, inherited]
+
+ + + + + +
+   + + +

+The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. remember we use the overloadind method.

+NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.

+methodName: is the name of the class.

+param: is an IObjectIA where it defined the parametre of the method. lot of method use a IObjectIA vector object with an NLAIC::CIdentType as the the template argm. +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, and NLAIAGENT::IMessageBase. +

+Definition at line 97 of file group_type.cpp. +

+References NLAIAGENT::_Push, NLAIAGENT::_PushFront, NLAIC::IBasicType::getDebugString(), NLAIAGENT::IBaseGroupType::CMethodCall::Index, s, and NLAIAGENT::TQueue. +

+

00098         {
+00099                 TQueue a;
+00100                 NLAISCRIPT::CParam methodParam;
+00101                 
+00102                 if(className == NULL)
+00103                 {
+00104                         for(int i = 0; i < _LastM; i++)
+00105                         {
+00106 
+00107 #ifdef NL_DEBUG
+00108                 std::string s;
+00109                 methodName->getDebugString(s);
+00110                 if(s == "Get")
+00111                 {
+00112                         s = s;
+00113                 }
+00114 #endif
+00115                                 if(*methodName == IBaseGroupType::_Method[i].MethodName)
+00116                                 {                                                                               
+00117                                         switch(_Method[i].Index)
+00118                                         {
+00119                                         case _Const:
+00120                                         case _Push:
+00121                                         case _PushFront:
+00122                                         case _Set:              
+00123                                                 {
+00124                                                         CObjectType *c = new CObjectType(new NLAIC::CIdentType(NLAIC::CIdentType::VoidType));
+00125                                                         a.push(CIdMethod(IBaseGroupType::_Method[i].Index + IObjetOp::getMethodIndexSize(),0.0,NULL,c));
+00126                                                 }
+00127                                                 return a;
+00128                                         case _Size:
+00129                                                 {
+00130                                                         CObjectType *c = new CObjectType(new NLAIC::CIdentType(DigitalType::IdDigitalType));
+00131                                                         a.push(CIdMethod(IBaseGroupType::_Method[i].Index + IObjetOp::getMethodIndexSize(),0.0,NULL,c));
+00132                                                 }
+00133                                                 return a;
+00134                                         default:
+00135                                                 {
+00136                                                         CObjectType *c = new CObjectType(new NLAIC::CIdentType(*IAgent::IdAgent));
+00137                                                         a.push(CIdMethod(IBaseGroupType::_Method[i].Index + IObjetOp::getMethodIndexSize(),0.0,NULL,c));
+00138                                                 }
+00139                                                 return a;                                       
+00140                                         }
+00141                                 }
+00142                         }
+00143                 }
+00144                 return IObjetOp::isMember(className,methodName,p);
+00145         }
+
+

+ + + + +
+ + + + + + + + + +
bool NLAIAGENT::IBaseGroupType::isTrue  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Implements NLAIAGENT::IObjetOp. +

+Reimplemented in NLAIAGENT::IListBasicManager. +

+Definition at line 261 of file group_type.cpp. +

+Referenced by NLAIAGENT::IListBasicManager::isTrue(). +

+

00262         {
+00263                 return IObjetOp::isTrue();
+00264         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::load NLMISC::IStream is  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+Implements NLAIC::IBasicInterface. +

+Definition at line 643 of file group_type.cpp. +

+References NLAIC::IBasicInterface::load(), NLAIC::IPointerGestion::release(), NLMISC::IStream::serial(), and sint32. +

+

00644         {                       
+00645                 sint32 i;
+00646                 while(_List.size())
+00647                 {
+00648                         NLAIC::IBasicInterface * o = (NLAIC::IBasicInterface *)_List.front();
+00649                         o->release();
+00650                         _List.pop_front();
+00651                 }
+00652                 is.serial( i );
+00653                 NLAIC::CIdentTypeAlloc id;
+00654                 while(i--)
+00655                 {                               
+00656                         is.serial( id );
+00657                         NLAIC::IBasicInterface *o = (NLAIC::IBasicInterface *)id.allocClass();                          
+00658                         o->load(is);
+00659                         _List.push_back((const IObjectIA *)o);
+00660                                 
+00661                 }                       
+00662         }
+
+

+ + + + +
+ + + + + + + + + +
IObjetOp & NLAIAGENT::CGroupType::neg  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 631 of file group_type.cpp. +

+References uint32. +

+

00632         {
+00633                 TListType::iterator i = _List.begin();
+00634                 while(i != _List.end())
+00635                 {
+00636                         const NLAIC::CTypeOfOperator &op = (const NLAIC::CTypeOfOperator &)(*i)->getType();
+00637                         if((uint32)(op & NLAIC::CTypeOfOperator::opNeg)) ((IObjetOp *)(*i))->neg();
+00638                         i++;
+00639                 }
+00640                 return *this;   
+00641         }
+
+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAISCRIPT::CPramContainer::newInstance  )  const [virtual]
+
+ + + + + +
+   + + +

+This function allow a new instance, that mean that the class is a class factory. +

+Reimplemented from NLAIAGENT::CGroupType. +

+Definition at line 43 of file param_container.cpp. +

+References CPramContainer(). +

+

00044         {
+00045                 return new CPramContainer();
+00046         }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator * IObjetOp a  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Definition at line 202 of file agent_operator.h. +

+

00203                 {
+00204                         return *this * *a;
+00205 
+00206                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator * const IObjetOp  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 147 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00148                 {
+00149                         std::string text;
+00150                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator * (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00151                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00152                         return (IObjetOp *)this;
+00153                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp& NLAIAGENT::IObjetOp::operator *= IObjetOp a  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Definition at line 182 of file agent_operator.h. +

+

00183                 {
+00184                         return *this *= *a;
+00185 
+00186                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp& NLAIAGENT::IObjetOp::operator *= const IObjetOp  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CAgentOperation, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 110 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00111                 {
+00112                         std::string text;
+00113                         text = NLAIC::stringGetBuild("opertor <IObjectIA &operator *= (const IObjectIA &a)> note implemented for the '%s' interface",(const char *)getType());
+00114                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00115                         return *this;
+00116                 }
+
+

+ + + + +
+ + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IBaseGroupType::operator!  )  const [pure virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Implemented in NLAIAGENT::IListBasicManager.

+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator!= IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAILOGIC::CClause, NLAILOGIC::CVarSet, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 252 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00253                 {
+00254                         std::string text;
+00255                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator != (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00256                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00257                         return (IObjetOp *)this;
+00258                 }               
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp * NLAIAGENT::CGroupType::operator+ IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 269 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::_List, NLAIAGENT::CGroupType::CGroupType(), and NLAIC::IPointerGestion::incRef(). +

+

00270         {
+00271                 CGroupType *o = new CGroupType();
+00272                 TListType::const_iterator i = _List.begin();
+00273                 while(i != _List.end())
+00274                 {
+00275                         o->_List.push_back(*i);
+00276                         ((IObjetOp*)(*i))->incRef();
+00277                         i ++;
+00278                 }
+00279                 
+00280                 *o += a;
+00281                 a->incRef();
+00282                 return o;
+00283         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp * NLAIAGENT::CGroupType::operator+ const IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 300 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::_List, and NLAIAGENT::CGroupType::CGroupType(). +

+

00301         {
+00302                 CGroupType *o = new CGroupType();
+00303                 TListType::const_iterator i = _List.begin();
+00304                 while(i != _List.end())
+00305                 {
+00306                         o->_List.push_back(*i);
+00307                         ((IObjetOp*)(*i))->incRef();
+00308                         i ++;
+00309                 }
+00310                 
+00311                 *o += a;
+00312                 return o;
+00313         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp & NLAIAGENT::IBaseGroupType::operator+= const IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+add the operater by anather. +

+We do'nt make a pure virtual for this methods because we didn't wont to make development too many long, we prefer to put an exception to warn developer when this method is'nt define in the derivation class. +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Reimplemented in NLAIAGENT::IListBasicManager. +

+Definition at line 68 of file group_type.cpp. +

+References NLAIAGENT::IBaseGroupType::cpy(). +

+

00069         {
+00070                 cpy(a);
+00071                 return *this;
+00072         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp & NLAIAGENT::IBaseGroupType::operator+= IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 80 of file group_type.cpp. +

+References NLAIAGENT::IBaseGroupType::push(). +

+

00081         {
+00082                 push(a);
+00083                 return *this;
+00084         }
+
+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::IObjetOp & NLAISCRIPT::CPramContainer::operator+= const NLAIAGENT::IObjetOp a  )  [virtual]
+
+ + + + + +
+   + + +

+redefinition of the += operator, that allow to stor reference of object rather then clone. +

+ +

+Definition at line 53 of file param_container.cpp. +

+References NLAIC::IPointerGestion::incRef(), and NLAIAGENT::CGroupType::push(). +

+

00054         {
+00055                 NLAIAGENT::IObjetOp *obj= (NLAIAGENT::IObjetOp *)&a;
+00056                 obj->incRef();
+00057                 push(obj);
+00058                 return *this;
+00059         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp * NLAIAGENT::CGroupType::operator- IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 284 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::_List, NLAIAGENT::CGroupType::CGroupType(), and NLAIC::IPointerGestion::release(). +

+

00285         {
+00286                 CGroupType *o = new CGroupType();
+00287                 TListType::const_iterator i = _List.begin();
+00288                 while(i != _List.end())
+00289                 {
+00290                         o->_List.push_back(*i);
+00291                         ((IObjetOp*)(*i))->incRef();
+00292                         i ++;
+00293                 }
+00294 
+00295                 *o -= a;
+00296                 a->release();
+00297                 return o;
+00298         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp * NLAIAGENT::CGroupType::operator- const IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 314 of file group_type.cpp. +

+References NLAIAGENT::CGroupType::_List, and NLAIAGENT::CGroupType::CGroupType(). +

+

00315         {
+00316                 CGroupType *o = new CGroupType();
+00317                 TListType::const_iterator i = _List.begin();
+00318                 while(i != _List.end())
+00319                 {
+00320                         o->_List.push_back(*i);
+00321                         ((IObjetOp*)(*i))->incRef();
+00322                         i ++;
+00323                 }
+00324 
+00325                 *o -= a;
+00326                 return o;
+00327         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp & NLAIAGENT::IBaseGroupType::operator-= const IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Reimplemented in NLAIAGENT::IListBasicManager. +

+Definition at line 74 of file group_type.cpp. +

+References NLAIAGENT::IBaseGroupType::erase(). +

+

00075         {
+00076                 erase(a);
+00077                 return *this;
+00078         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjetOp & NLAIAGENT::IBaseGroupType::operator-= IObjetOp a  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 86 of file group_type.cpp. +

+References NLAIAGENT::IBaseGroupType::erase(). +

+

00087         {
+00088                 erase(a);
+00089                 return *this;
+00090         }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator/ IObjetOp a  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Definition at line 207 of file agent_operator.h. +

+

00208                 {
+00209                         return *this / *a;
+00210 
+00211                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator/ const IObjetOp  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 155 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00156                 {
+00157                         std::string text;
+00158                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator / (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00159                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00160                         return (IObjetOp *)this;
+00161                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp& NLAIAGENT::IObjetOp::operator/= IObjetOp a  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Definition at line 187 of file agent_operator.h. +

+

00188                 {
+00189                         return *this /= *a;
+00190 
+00191                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp& NLAIAGENT::IObjetOp::operator/= const IObjetOp  )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CAgentOperation, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 119 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00120                 {
+00121                         std::string text;
+00122                         text = NLAIC::stringGetBuild("opertor <IObjectIA &operator /= (const IObjectIA &a)> note implemented for the '%s' interface",(const char *)getType());
+00123                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00124                         return *this;
+00125                 }       
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator< IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 213 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00214                 {
+00215                         std::string text;
+00216                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator < (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00217                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00218                         return (IObjetOp *)this;
+00219                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator<= IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 229 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00230                 {
+00231                         std::string text;
+00232                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator <= (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00233                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00234                         return (IObjetOp *)this;
+00235                 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLAIAGENT::IBasicObjectIA::operator== const IBasicObjectIA classType  )  const [inherited]
+
+ + + + + +
+   + + +

+Lot of algo use this function to determine the equality between 2 class, in particular the extraction from stl list. the == operator call the bool isEqual(const IBasicObjectIA &a) const member method to determine the equality between tow class. +

+Definition at line 134 of file baseai.cpp. +

+References NLAIC::IBasicType::getType(), and NLAIAGENT::IBasicObjectIA::isEqual(). +

+

00135         {                                               
+00136                 if(a.getType() == getType() ) return isEqual(a);                        
+00137                 return false;
+00138         }               
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator== IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::CFuzzyRule, NLAIFUZZY::FuzzyType, NLAIFUZZY::CFuzzyVar, NLAILOGIC::CBoolType, NLAILOGIC::CClause, NLAILOGIC::CVar, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 260 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00261                 {
+00262                         std::string text;
+00263                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator == (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00264                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00265                         return (IObjetOp *)this;
+00266                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator> IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 221 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00222                 {
+00223                         std::string text;
+00224                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator > (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00225                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00226                         return (IObjetOp *)this;
+00227                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual IObjetOp* NLAIAGENT::IObjetOp::operator>= IObjetOp  )  const [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented) +

+ +

+Reimplemented in NLAIAGENT::INombre< tNombre >, NLAIAGENT::CStringType, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAISCRIPT::CVarPStack, NLAISCRIPT::CVarPStackParam, NLAIAGENT::INombre< double >, NLAIAGENT::INombre< uint16 >, NLAIAGENT::INombre< float >, NLAIAGENT::INombre< sint8 >, NLAIAGENT::INombre< uint64 >, NLAIAGENT::INombre< sint16 >, NLAIAGENT::INombre< uint8 >, NLAIAGENT::INombre< uint32 >, and NLAIAGENT::INombre< sint32 >. +

+Definition at line 237 of file agent_operator.h. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00238                 {
+00239                         std::string text;
+00240                         text = NLAIC::stringGetBuild("opertor <virtual IObjetOp *operator >= (const IObjetOp &a)  const> note implemented for the '%s' interface",(const char *)getType());
+00241                         throw NLAIE::CExceptionNotImplemented(text.c_str());
+00242                         return (IObjetOp *)this;
+00243                 }
+
+

+ + + + +
+ + + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::operator[] sint32   )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+Clear the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 352 of file group_type.cpp. +

+References index, and sint32. +

+

00353         {
+00354                 if ( index >= (sint32) _List.size() )
+00355                 {
+00356                         //TODO: throw Exc::CExceptionIndexError
+00357                 }
+00358 
+00359                 TListType::const_iterator it_l = _List.begin();
+00360                 for (sint32 i = 0; i < index; i++)
+00361                         it_l++;
+00362 
+00363                 return *it_l;
+00364         }
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::pop  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Pop the back IObjectIA and return it. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 440 of file group_type.cpp. +

+Referenced by NLAISCRIPT::CCompilateur::endMessageManager(), and NLAISCRIPT::CCompilateur::onEndClass(). +

+

00441         {
+00442                 const IObjectIA *Obj = _List.back();
+00443                 _List.pop_back();
+00444                 return Obj;
+00445         }
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA * NLAIAGENT::CGroupType::popFront  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Pop the front IObjectIA and return it. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 452 of file group_type.cpp. +

+

00453         {
+00454                 const IObjectIA *Obj = _List.front();
+00455                 _List.pop_front();
+00456                 return Obj;
+00457         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::push const IObjectIA o  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Push an IObjectIA back. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 424 of file group_type.cpp. +

+Referenced by NLAIAGENT::IAgentInput::addInputConnection(), NLAISCRIPT::CCompilateur::initMessageManager(), and operator+=(). +

+

00425         {
+00426                 _List.push_back(o);
+00427         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::pushFront const IObjectIA o  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Push an IObjectIA front. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 429 of file group_type.cpp. +

+

00430         {
+00431                 _List.push_front(o);
+00432         }
+
+

+ + + + +
+ + + + + + + + + + +
virtual void NLAIC::IPointerGestion::release void   )  [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+Release allow to release the pointer. The last release when the _Ref is nul delete the object. +

+ +

+Definition at line 86 of file abstract_interface.h. +

+References NLAIC::IPointerGestion::decRef(). +

+Referenced by NLAIAGENT::CSeqFsmScript::activate(), NLAISCRIPT::CAgentClass::addBrancheCode(), NLAISCRIPT::CConstraintDebug::addIndex(), NLAISCRIPT::CCompilateur::affectation(), NLAISCRIPT::CCompilateur::affectationMember(), NLAISCRIPT::COperatorClass::backward(), NLAILOGIC::CFirstOrderOperator::backward(), NLAILOGIC::CFirstOrderAssert::backward(), NLAISCRIPT::CCompilateur::buildObject(), NLAILINK::buildScript(), NLAISCRIPT::CCompilateur::callFunction(), NLAIC::CIdentType::CIdentType(), NLAISCRIPT::CCompilateur::clean(), NLAISCRIPT::CParam::clear(), NLAIAGENT::CVectorGroupType::clear(), NLAIAGENT::CGroupType::clear(), NLAIAGENT::CVolatilMemmory::CVolatilMemmory(), NLAISCRIPT::CFactorType::del(), NLAIAGENT::IAgentComposite::deleteListe(), NLAIPYSERVER::endPythonInterface(), NLAIAGENT::CVectorGroupType::erase(), NLAIAGENT::CGroupType::erase(), NLAIAGENT::CVectorGroupType::eraseAll(), NLAIAGENT::CGroupType::eraseAll(), NLAISCRIPT::CCompilateur::errorMethodConstraint(), NLAISCRIPT::CCompilateur::errorTypeConstraint(), NLAISCRIPT::CCompilateur::findMethode(), NLAISCRIPT::COperatorClass::forward(), NLAILOGIC::CFirstOrderOperator::forward(), NLAIAGENT::CComponentHandle::getComponent(), NLAIAGENT::COperatorScript::getDebugString(), NLAIAGENT::CAgentScript::getDebugString(), NLAILOGIC::IBaseOperator::IBaseOperator(), NLAISCRIPT::CCompilateur::ifInterrogation(), NLAISCRIPT::CCompilateur::ifInterrogationEnd(), NLAILOGIC::CFactPattern::init(), NLAILOGIC::CRule::init(), NLAIFUZZY::CTrapezeFuzzySet::init(), NLAIFUZZY::CLeftFuzzySet::init(), NLAIFUZZY::CTriangleFuzzySet::init(), NLAIFUZZY::CRightFuzzySet::init(), NLAIFUZZY::CFuzzyInterval::init(), NLAIFUZZY::CFuzzyRule::init(), NLAIFUZZY::CSimpleFuzzyCond::init(), NLAISCRIPT::CCompilateur::interrogationEnd(), NLAISCRIPT::COperatorClass::isValidFonc(), NLAIAGENT::IAgent::Kill(), NLAILOGIC::CVar::load(), NLAILOGIC::CValueSet::load(), NLAISCRIPT::CLdbOpCode::load(), NLAISCRIPT::CLibCallMethodi::load(), NLAISCRIPT::CLibCallInheritedMethod::load(), NLAISCRIPT::CLibCallMethod::load(), NLAISCRIPT::CLdbNewOpCode::load(), NLAISCRIPT::CAddParamNameDebug::load(), NLAISCRIPT::CFindRunMsg::load(), NLAIAGENT::IListBasicManager::load(), NLAIAGENT::CVectorGroupType::load(), NLAIAGENT::CGroupType::load(), NLAIAGENT::CAgentScript::load(), NLAIAGENT::CStringType::load(), NLAIAGENT::CLocalAgentMail::load(), NLAISCRIPT::CMethodContextDebug::loadContext(), NLAISCRIPT::CCompilateur::onEndClass(), NLAIAGENT::CLocalMailBox::onKill(), NLAIAGENT::IAgent::onKill(), NLAIAGENT::CLocalAgentMail::onKill(), NLAIAGENT::CVectorGroupType::operator-(), NLAIAGENT::CGroupType::operator-(), NLAIAGENT::CKeyObject::operator=(), NLAISCRIPT::CFunctionTag::operator=(), NLAIAGENT::CIdMethod::operator=(), NLAISCRIPT::CCompilateur::PrivateError(), NLAISCRIPT::CCompilateur::processingVar(), NLAIAGENT::CAgentScript::processMessages(), NLAIAGENT::IRefrence::refLoadStream(), NLAISCRIPT::CCompilateur::registerMethod(), NLAIAGENT::IAgentComposite::removeChild(), NLAILOGIC::CFirstOrderAssert::removeFact(), NLAISCRIPT::CConstraintStackComp::run(), NLAISCRIPT::CConstraintFindRun::run(), NLAISCRIPT::CConstraintMethode::run(), NLAIAGENT::IBasicAgent::run(), NLAIAGENT::CAgentScript::runInitComponent(), NLAIAGENT::CVolatilMemmory::runMessage(), NLAIAGENT::CAgentOperation::runMethodBase(), NLAISCRIPT::CCompilateur::runMethodConstraint(), NLAILOGIC::CInternalGoal::runMethodeMember(), NLAILOGIC::CGoal::runMethodeMember(), NLAILOGIC::CFact::runMethodeMember(), NLAIAGENT::IObjectIA::runMethodeMember(), NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode(), NLAISCRIPT::CCallStackMethodi::runOpCode(), NLAISCRIPT::CLibHeapMemberMethod::runOpCode(), NLAISCRIPT::CAffOpCode::runOpCode(), NLAISCRIPT::CJFalseOpCode::runOpCode(), NLAISCRIPT::CAffOpCodeDebug::runOpCode(), NLAISCRIPT::CDiffOpCode::runOpCode(), NLAISCRIPT::CInfEqOpCode::runOpCode(), NLAISCRIPT::CSupEqOpCode::runOpCode(), NLAISCRIPT::CEqOpCode::runOpCode(), NLAISCRIPT::CInfOpCode::runOpCode(), NLAISCRIPT::CSupOpCode::runOpCode(), NLAISCRIPT::CMulOpCode::runOpCode(), NLAISCRIPT::CDivOpCode::runOpCode(), NLAISCRIPT::CSubOpCode::runOpCode(), NLAISCRIPT::CAddOpCode::runOpCode(), NLAISCRIPT::CNegOpCode::runOpCode(), NLAIAGENT::CAgentScript::runTellParentNotify(), NLAISCRIPT::CCompilateur::runTypeConstraint(), NLAIAGENT::CHashTimerManager::sendMessage(), NLAIAGENT::CVolatilMemmory::sendMessage(), NLAIAGENT::CLocalMailBox::sendMessage(), NLAIAGENT::IListManager::sendMessage(), NLAIAGENT::CAgentTimerHandle::sendMessage(), NLAIAGENT::CAgentScript::sendMessage(), NLAIAGENT::CAgentScript::sendMethod(), NLAISCRIPT::COperandSimple::serial(), NLAISCRIPT::CObjectUnknown::setBaseType(), NLAISCRIPT::CCompilateur::setChaineVar(), NLAISCRIPT::CClassInterpretFactory::setClass(), NLAIC::CSelfClassFactory::setClass(), NLAISCRIPT::IClassInterpret::setClassName(), NLAISCRIPT::CObjectUnknown::setClassType(), NLAIAGENT::IMessageBase::setContinuation(), NLAILOGIC::IBaseOperator::setGoal(), NLAISCRIPT::COperatorClass::setGoal(), NLAISCRIPT::CCompilateur::setImediateVar(), NLAISCRIPT::CCompilateur::setImediateVarNill(), NLAISCRIPT::CParam::setInfo(), NLAISCRIPT::CAgentClass::setInheritanceName(), NLAISCRIPT::CCompilateur::setListVar(), NLAIAGENT::IMessageBase::setMessageGroup(), NLAISCRIPT::CCompilateur::setMethodVar(), NLAILOGIC::IBaseVar::setName(), NLAIAGENT::CAgentOperation::setName(), NLAISCRIPT::CMethodeName::setName(), NLAIAGENT::IRefrence::setNumRef(), NLAISCRIPT::CConstraintFindRun::setOpCode(), NLAISCRIPT::CConstraintMethode::setOpCode(), NLAISCRIPT::CCompilateur::setPerformative(), NLAILOGIC::CInternalGoal::setProperty(), NLAIAGENT::IMessageBase::setReceiver(), NLAIAGENT::IMessageBase::setSender(), NLAILOGIC::CValueSet::setSize(), NLAISCRIPT::CCompilateur::setStackVar(), NLAIAGENT::CMessageScript::setStaticMember(), NLAIAGENT::CAgentScript::setStaticMember(), NLAISCRIPT::IClassInterpret::setType(), NLAISCRIPT::CFunctionTag::setTypeObject(), NLAISCRIPT::CMethodeName::setTypeOfMethode(), NLAILOGIC::CVar::setValue(), NLAIAGENT::CAgentOperation::setValue(), NLAIAGENT::IAgentInput::setValue(), NLAILOGIC::CValueSet::unify(), NLAISCRIPT::COperatorClass::unifyBackward(), NLAILOGIC::CFirstOrderOperator::unifyBackward(), NLAISCRIPT::COperatorClass::unifyForward(), NLAILOGIC::CFirstOrderOperator::unifyForward(), NLAILOGIC::CRule::unifyLiaisonBack(), NLAISCRIPT::CAddParamNameDebug::~CAddParamNameDebug(), NLAISCRIPT::CAgentClass::~CAgentClass(), NLAIAGENT::CAgentOperation::~CAgentOperation(), NLAIAGENT::CAgentScript::~CAgentScript(), NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle(), NLAIAGENT::CAgentWatchTimer::~CAgentWatchTimer(), NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory(), NLAISCRIPT::CCodeBrancheRunDebug::~CCodeBrancheRunDebug(), NLAISCRIPT::CCompilateur::~CCompilateur(), NLAIAGENT::CComponentHandle::~CComponentHandle(), NLAISCRIPT::CConstraintChkMethodeType::~CConstraintChkMethodeType(), NLAISCRIPT::CConstraintMethode::~CConstraintMethode(), NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp(), NLAILOGIC::CFact::~CFact(), NLAISCRIPT::CFindRunMsg::~CFindRunMsg(), NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert(), NLAISCRIPT::CFunctionTag::~CFunctionTag(), NLAIC::CIdentType::~CIdentType(), NLAIAGENT::CIdMethod::~CIdMethod(), NLAILOGIC::CInternalGoal::~CInternalGoal(), NLAIAGENT::CKeyObject::~CKeyObject(), NLAISCRIPT::CLdbNewOpCode::~CLdbNewOpCode(), NLAISCRIPT::CLdbOpCode::~CLdbOpCode(), NLAISCRIPT::CLibCallInheritedMethod::~CLibCallInheritedMethod(), NLAISCRIPT::CLibCallMethod::~CLibCallMethod(), NLAISCRIPT::CLibCallMethodi::~CLibCallMethodi(), NLAIAGENT::CLocalMailBox::~CLocalMailBox(), NLAIAGENT::CMainAgentScript::~CMainAgentScript(), NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall(), NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall(), NLAISCRIPT::CMethodeName::~CMethodeName(), NLAISCRIPT::CAgentClass::CMethodType::~CMethodType(), NLAISCRIPT::CObjectUnknown::~CObjectUnknown(), NLAISCRIPT::COperandSimple::~COperandSimple(), NLAISCRIPT::COperandUnknown::~COperandUnknown(), NLAISCRIPT::COperationType::~COperationType(), NLAISCRIPT::COperationTypeGD::~COperationTypeGD(), NLAISCRIPT::COperatorClass::~COperatorClass(), NLAIAGENT::CPairType::~CPairType(), NLAIC::CSelfClassFactory::~CSelfClassFactory(), NLAIAGENT::CStringType::~CStringType(), NLAILOGIC::CValueSet::~CValueSet(), NLAILOGIC::CVar::~CVar(), NLAIAGENT::CVolatilMemmory::~CVolatilMemmory(), NLAIAGENT::IAgentInput::~IAgentInput(), NLAILOGIC::IBaseAssert::~IBaseAssert(), NLAILOGIC::IBaseOperator::~IBaseOperator(), NLAILOGIC::IBaseVar::~IBaseVar(), NLAIAGENT::IBasicAgent::~IBasicAgent(), NLAISCRIPT::IBlock::~IBlock(), NLAISCRIPT::IClassInterpret::~IClassInterpret(), NLAILOGIC::IGoal::~IGoal(), NLAIAGENT::IListBasicManager::~IListBasicManager(), NLAIAGENT::IMessageBase::~IMessageBase(), NLAIAGENT::IRefrence::~IRefrence(), and NLAICHARACTER::IZone::~IZone(). +

+

00087                 {
+00088                         if(decRef() == 0) 
+00089                                         delete this;
+00090                 }
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA::CProcessResult & NLAIAGENT::CGroupType::run  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Some where Run method define the process of the agen. +

+Implements NLAIAGENT::IObjectIA. +

+Definition at line 380 of file group_type.cpp. +

+

00381         {
+00382                 TListType::iterator i = _List.begin();
+00383                 while(i != _List.end())
+00384                 {
+00385                         ((IObjectIA *)(*i++))->run();
+00386                 }
+00387                 return IObjectIA::ProcessRun;  
+00388         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
IObjectIA::CProcessResult NLAIAGENT::IBaseGroupType::runMethodeMember sint32  index,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method.

+index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method. +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGetValueMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::CSetValueMsg. +

+Definition at line 151 of file group_type.cpp. +

+References NLAIAGENT::_Back, NLAIAGENT::_Front, NLAIAGENT::_Get, NLAIAGENT::_Pop, NLAIAGENT::_PopFront, NLAIAGENT::_Push, NLAIAGENT::_PushFront, NLAIAGENT::IBaseGroupType::get(), NLAIAGENT::IBaseGroupType::getFront(), NLAIAGENT::INombreDefine::getNumber(), NLAIAGENT::INombre< float >::getValue(), NLAIC::IPointerGestion::incRef(), index, NLAIAGENT::CConstIteratorContener::isInEnd(), param, NLAIAGENT::IBaseGroupType::pop(), NLAIAGENT::IBaseGroupType::popFront(), NLAIAGENT::IBaseGroupType::push(), NLAIAGENT::IBaseGroupType::pushFront(), NLAIAGENT::IObjectIA::CProcessResult::Result, NLAIAGENT::IObjectIA::CProcessResult::ResultState, NLAIAGENT::IBaseGroupType::set(), sint32, and NLAIAGENT::IBaseGroupType::size(). +

+

00152         {
+00153                 IBaseGroupType *param = (IBaseGroupType *)p;
+00154 
+00155                 switch(index - IObjetOp::getMethodIndexSize())
+00156                 {
+00157                 case _Const:
+00158                         return IObjectIA::CProcessResult();
+00159                 case _Push:     
+00160                         {
+00161                                 CIteratorContener i = param->getIterator();
+00162                                 while(!i.isInEnd())
+00163                                 {
+00164                                         IObjectIA *a = (IObjectIA *)i++;
+00165                                         a->incRef();
+00166                                         push(a);
+00167                                 }       
+00168                         }
+00169                         return IObjectIA::CProcessResult();
+00170                 case _PushFront:
+00171                         {
+00172                                 CIteratorContener i = param->getIterator();
+00173                                 while(!i.isInEnd())
+00174                                 {
+00175                                         IObjectIA *a = (IObjectIA *)i++;
+00176                                         a->incRef();
+00177                                         pushFront(a);
+00178                                 }       
+00179                         }
+00180                         return IObjectIA::CProcessResult();
+00181                         
+00182                 
+00183                 case _Pop:
+00184                         {
+00185                                 IObjectIA::CProcessResult c;
+00186                                 IObjectIA *a = (IObjectIA *)pop();                              
+00187                                 c.Result = a;
+00188                                 c.ResultState = IObjectIA::ProcessIdle;
+00189                                 return c;
+00190                         }
+00191 
+00192                 case _PopFront: 
+00193                         {
+00194                                 IObjectIA::CProcessResult c;
+00195                                 IObjectIA *a = (IObjectIA *)popFront();                         
+00196                                 c.Result = a;
+00197                                 c.ResultState = IObjectIA::ProcessIdle;
+00198                                 return c;
+00199                         }
+00200 
+00201                 case _Back:
+00202                         {
+00203                                 IObjectIA::CProcessResult c;
+00204                                 IObjectIA *a = (IObjectIA *)get();
+00205                                 a->incRef();
+00206                                 c.Result = a;
+00207                                 c.ResultState = IObjectIA::ProcessIdle;
+00208                                 return c;
+00209                         }
+00210 
+00211                 case _Front:    
+00212                         {
+00213                                 IObjectIA::CProcessResult c;
+00214                                 IObjectIA *a = (IObjectIA *)getFront();
+00215                                 a->incRef();
+00216                                 c.Result = a;
+00217                                 c.ResultState = IObjectIA::ProcessIdle;
+00218                                 return c;
+00219                         }
+00220 
+00221                 case _Get:
+00222                         {
+00223                                 IObjectIA::CProcessResult c;
+00224                                 const INombreDefine *f = (const INombreDefine *)param->get();
+00225                                 IObjectIA *a = (IObjectIA *)(*this)[(sint32)f->getNumber()];
+00226                                 a->incRef();
+00227                                 c.Result = a;
+00228                                 c.ResultState = IObjectIA::ProcessIdle;
+00229                                 return c;
+00230                         }
+00231 
+00232                 case _Set:
+00233                         {
+00234                                 CIteratorContener i = param->getIterator();
+00235                                 const DigitalType *f = (const DigitalType *)i ++;
+00236                                 IObjectIA *n = (IObjectIA *)i++;                                
+00237                                 
+00238 
+00239                                 set((sint32)f->getValue(),n);
+00240                                 n->incRef();
+00241                                 return IObjectIA::CProcessResult();
+00242                         }
+00243                 case _Size:
+00244                         {
+00245                                 DigitalType *f = new DigitalType((float)size());
+00246                                 IObjectIA::CProcessResult c;
+00247                                 c.Result = f;
+00248                                 c.ResultState = IObjectIA::ProcessIdle;
+00249                                 return c;
+00250                         }
+00251                 }
+00252 
+00253                 return IObjectIA::runMethodeMember(index,p);
+00254         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
IObjectIA::CProcessResult NLAIAGENT::IBaseGroupType::runMethodeMember sint32 ,
sint32 ,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method.

+heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method. +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGetValueMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::CSetValueMsg. +

+Definition at line 147 of file group_type.cpp. +

+References sint32. +

+

00148         {
+00149                 return IObjectIA::CProcessResult();
+00150         }
+
+

+ + + + +
+ + + + + + + + + +
const IObjectIA::CProcessResult & NLAIAGENT::IObjectIA::runStep  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Some where Run method define the process of the agen. +

+Reimplemented in NLAIAGENT::IAgent, and NLAIAGENT::CAgentScript. +

+Definition at line 163 of file baseai.cpp. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+Referenced by NLAIAGENT::IAgent::runChildrenStepByStep(). +

+

00164         {
+00165                 std::string text;
+00166                 text = NLAIC::stringGetBuild("const CProcessResult &IObjectIA::runStep() note implementaited for the '%s' interface",(const char *)getType());
+00167                 throw NLAIE::CExceptionNotImplemented(text.c_str());
+00168                 return IObjectIA::ProcessNotComplit;
+00169         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CGroupType::save NLMISC::IStream os  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+Implements NLAIC::IBasicInterface. +

+Definition at line 618 of file group_type.cpp. +

+References NLAIC::IBasicType::getType(), NLAIC::IBasicInterface::save(), NLMISC::IStream::serial(), sint32, and size. +

+

00619         {       
+00620                 sint32 size = _List.size();
+00621                 os.serial(size);
+00622                 std::list<const IObjectIA *>::const_iterator i = _List.begin();
+00623                 while(i != _List.end())
+00624                 {
+00625                         IObjectIA *o= (IObjectIA *)*i++;
+00626                         os.serial( (NLAIC::CIdentType &) o->getType() );
+00627                         o->save(os);
+00628                 }                       
+00629         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
IObjectIA::CProcessResult NLAIAGENT::IObjectIA::sendMessage const IVarName,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+This method allow to send a message to an compoment given by an string IVarName. +

+Reimplemented in NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, and NLAIAGENT::IMessageBase. +

+Definition at line 334 of file baseai.cpp. +

+References NLAIAGENT::IVarName::getString(), NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+

00335         {
+00336                 std::string text;
+00337                 text = NLAIC::stringGetBuild("method 'sendMessage(%s,const IObjectIA &)' '%s' interface",name.getString(), (const char *)getType());
+00338                 throw NLAIE::CExceptionNotImplemented(text.c_str());
+00339                 return CProcessResult();
+00340         }
+
+

+ + + + +
+ + + + + + + + + + +
IObjectIA::CProcessResult NLAIAGENT::IObjectIA::sendMessage IObjectIA  )  [virtual, inherited]
+
+ + + + + +
+   + + +

+The method sendMessage(const IObjectIA &msg) allow us to achive a message defined in msg. +

+Reimplemented in NLAIAGENT::CActorScript, NLAIAGENT::CLocalAgentMail, NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CAgentTimerHandle, NLAIAGENT::IConnectIA, NLAIAGENT::IListManager, NLAIAGENT::CMainAgentScript, and NLAIAGENT::IMessageBase. +

+Definition at line 342 of file baseai.cpp. +

+References NLAIC::IBasicType::getType(), and NLAIC::stringGetBuild(). +

+Referenced by NLAIAGENT::IObjectIA::runMethodeMember(), NLAIAGENT::CAgentScript::sendBroadCast(), NLAIAGENT::IMessageBase::sendMessage(), NLAIAGENT::IListManager::sendMessage(), and NLAIAGENT::CAgentScript::sendMessage(). +

+

00343         {
+00344                 std::string text;
+00345                 text = NLAIC::stringGetBuild("method 'sendMessage(const IObjectIA &)' '%s' interface", (const char *)getType());
+00346                 throw NLAIE::CExceptionNotImplemented(text.c_str());
+00347                 return CProcessResult();
+00348         }
+
+

+ + + + +
+ + + + + + + + + + +
virtual void NLAIC::IBasicInterface::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline, virtual, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLAIC::IPointerGestion. +

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

+References NLAIC::IBasicInterface::load(), and NLAIC::IBasicInterface::save(). +

+

00329                 {
+00330                         if ( f.isReading() )
+00331                                 load( f );
+00332                         else
+00333                                 save( f );
+00334                 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAIAGENT::CGroupType::set int ,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+Push an IObjectIA at the position indicate by the int. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 366 of file group_type.cpp. +

+References index, and sint32. +

+

00367         {
+00368                 TListType::iterator it_l = _List.begin();
+00369                 for (sint32 i = 0; i < index; i++)
+00370                         it_l++;
+00371                 ((IObjectIA *)(*it_l))->release();
+00372                 (*it_l) = o;
+00373         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLAIAGENT::IObjectIA::setStaticMember sint32 ,
IObjectIA
[virtual, inherited]
+
+ + + + + +
+   + + +

+to cahnge a given components given by a string. +

+Reimplemented in NLAIAGENT::CLocalAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CMessageScript, and NLAISCRIPT::CAgentClass. +

+Definition at line 198 of file baseai.cpp. +

+References NLAIC::IBasicType::getType(), sint32, and NLAIC::stringGetBuild(). +

+

00199         {
+00200                 std::string text;
+00201                 text = NLAIC::stringGetBuild("Function void IObjectIA::setStaticMember(sint32,IObjectIA *) note implementaited for the '%s' interface",(const char *)getType());
+00202                 throw NLAIE::CExceptionNotImplemented(text.c_str());
+00203                 return false;
+00204         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLAIAGENT::IObjectIA::setStaticMember const IVarName compName,
IObjectIA change
[inline, inherited]
+
+ + + + + +
+   + + +

+to cahnge a given components given by an index. +

+Definition at line 268 of file baseai.h. +

+References NLAIAGENT::IObjectIA::getStaticMemberIndex(). +

+Referenced by NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CAffMemberiOpCode::runOpCode(), and NLAIAGENT::CLocalAgentMail::setStaticMember(). +

+

00269                 {
+00270                         return setStaticMember(getStaticMemberIndex(compName),change);
+00271                 }
+
+

+ + + + +
+ + + + + + + + + +
sint32 NLAIAGENT::CGroupType::size  )  const [virtual, inherited]
+
+ + + + + +
+   + + +

+get the size of the list. +

+ +

+Implements NLAIAGENT::IBaseGroupType. +

+Definition at line 464 of file group_type.cpp. +

+References sint32. +

+Referenced by NLAIAGENT::CGroupType::isEqual(), and NLAIAGENT::IAgentInput::releaseInputConnexion(). +

+

00465         {
+00466                 return _List.size();
+00467         }
+
+


Field Documentation

+

+ + + + +
+ + +
TListType NLAIAGENT::CGroupType::_List [inherited] +
+
+ + + + + +
+   + + +

+std::list for store IObjectIA object. +

+ +

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

+Referenced by NLAIAGENT::CGroupType::CGroupType(), NLAIAGENT::CGroupType::isEqual(), NLAIAGENT::CGroupType::operator+(), NLAIAGENT::CGroupType::operator-(), and NLAIAGENT::CGroupType::operator=().

+

+ + + + +
+ + +
IBaseGroupType::CMethodCall NLAIAGENT::IBaseGroupType::_Method [static, inherited] +
+
+ + + + + +
+   + + +

+Initial value:

 
+        {
+                IBaseGroupType::CMethodCall(_CONSTRUCTOR_,_Const),
+                IBaseGroupType::CMethodCall("Push",_Push),
+                IBaseGroupType::CMethodCall("PushFront",_PushFront),
+                IBaseGroupType::CMethodCall("Pop",_Pop),
+                IBaseGroupType::CMethodCall("PopFront",_PopFront),
+                IBaseGroupType::CMethodCall("Back",_Back),
+                IBaseGroupType::CMethodCall("Front",_Front),            
+                IBaseGroupType::CMethodCall("Get",_Get),
+                IBaseGroupType::CMethodCall("Set",_Set),
+                IBaseGroupType::CMethodCall("Size",_Size)
+        }
+
+

+Reimplemented in NLAIAGENT::IMessageBase. +

+Definition at line 46 of file group_type.cpp.

+

+ + + + +
+ + +
const NLAIC::CIdentType CGroupType::IdGroupType [static, inherited] +
+
+ + + + + +
+   + + +

+ +

+Referenced by NLAIAGENT::CGroupType::getType().

+

+ + + + +
+ + +
const NLAIC::CIdentType NLAISCRIPT::CPramContainer::IdPramContainer [static] +
+
+ + + + + +
+   + + +

+ +

+Referenced by getType().

+

+ + + + +
+ + +
TProcessStatement NLAIAGENT::IObjectIA::ProcessBuzzy = processBuzzy [static, inherited] +
+
+ + + + + +
+   + + +

+Define the an buzzy state for an agent all time in this state. +

+Definition at line 147 of file baseai.cpp.

+

+ + + + +
+ + +
TProcessStatement NLAIAGENT::IObjectIA::ProcessEnd = processEnd [static, inherited] +
+
+ + + + + +
+   + + +

+Define the an end state for an agent all time in this state. +

+Definition at line 148 of file baseai.cpp.

+

+ + + + +
+ + +
TProcessStatement NLAIAGENT::IObjectIA::ProcessError = processError [static, inherited] +
+
+ + + + + +
+   + + +

+Define the an error state for an agent all time in this state. +

+Definition at line 149 of file baseai.cpp.

+

+ + + + +
+ + +
TProcessStatement NLAIAGENT::IObjectIA::ProcessIdle = processIdle [static, inherited] +
+
+ + + + + +
+   + + +

+Define the an idle state for an agent all time in this state. +

+Definition at line 145 of file baseai.cpp.

+

+ + + + +
+ + +
TProcessStatement NLAIAGENT::IObjectIA::ProcessLocked = processLocked [static, inherited] +
+
+ + + + + +
+   + + +

+Define the an locked state for an agent all time in this state. +

+Definition at line 146 of file baseai.cpp.

+

+ + + + +
+ + +
IObjectIA::CProcessResult NLAIAGENT::IObjectIA::ProcessNotComplit = IObjectIA::CProcessResult(processNotComplete) [static, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 144 of file baseai.cpp.

+

+ + + + +
+ + +
IObjectIA::CProcessResult NLAIAGENT::IObjectIA::ProcessRun = IObjectIA::CProcessResult() [static, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 143 of file baseai.cpp.

+


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