# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAIAGENT::IListBasicManager Class Reference

#include <list_manager.h>

Inheritance diagram for NLAIAGENT::IListBasicManager:

NLAIAGENT::IBaseGroupType NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIAGENT::IListManager NLAIAGENT::IMessageBase NLAIAGENT::CListGroupManager NLAIAGENT::CVectorGroupManager NLAIAGENT::CMessageList NLAIAGENT::CMessageScript NLAIAGENT::CMessageVector NLAIAGENT::CCancelGoalMsg NLAIAGENT::CConnectObjectValueMsg NLAIAGENT::CFactMsg NLAIAGENT::CFailureMsg NLAIAGENT::CGetValueMsg NLAIAGENT::CGoalMsg NLAIAGENT::CMsgDebug NLAIAGENT::CNotifyParentScript NLAIAGENT::COnChangeMsg NLAIAGENT::CSetValueMsg NLAIAGENT::CSuccessMsg List of all members.

Public Methods

 IListBasicManager ()
 IListBasicManager (IBaseGroupType *)
 IListBasicManager (const IListBasicManager &)
virtual ~IListBasicManager ()
 operator const IBaseGroupType * () const
 Get the list of message contents. More...

IBaseGroupType methode realize.
virtual IObjetOpoperator+= (const IObjetOp &a)
 add the operater by anather. More...

virtual IObjetOpoperator-= (const IObjetOp &a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjectIAoperator= (const IObjectIA &a)
 Equality operator. More...

virtual const IObjectIAoperator[] (sint32) const
virtual void set (int i, IObjectIA *o)
 Push an IObjectIA at the position indicate by the int. More...

virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator! () const
 throw (NLAIE::CExceptionNotImplemented). More...

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

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

virtual CIteratorContener getIterator ()
 Get an iterator to parse the list. More...

virtual CConstIteratorContener getConstIterator () const
virtual void cpy (const IObjectIA &o)
 Push an IObjectIA back using the clone method. More...

virtual const IObjectIApop ()
 Pop the back IObjectIA and return it. More...

virtual const IObjectIAget () const
 return the back IObjectIA. More...

virtual const IObjectIApopFront ()
 Pop the front IObjectIA and return it. More...

virtual const IObjectIAgetFront () const
 return the front IObjectIA. More...

virtual sint32 size () const
 get the size of the list. More...

virtual const IObjectIAfind (const IObjectIA &obj) const
 Find an element on the list the operator== is use. More...

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

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

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

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

virtual void clear ()
 Clear the list. More...

virtual sint32 getMethodIndexSize () const
 getMethodIndexSize define the nomber of method define in the class. More...

virtual tQueue isMember (const IVarName *className, const IVarName *methodName, const IObjectIA &p) const
 The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...

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

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

virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. More...

virtual bool isEqual (const IBasicObjectIA &a) const
 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'. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void getDebugString (std::string &t) const
 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. More...


Protected Attributes

IBaseGroupType_List

Constructor & Destructor Documentation

NLAIAGENT::IListBasicManager::IListBasicManager  
 

Definition at line 37 of file list_manager.cpp.

Referenced by isEqual, and operator=.

NLAIAGENT::IListBasicManager::IListBasicManager IBaseGroupType  
 

Definition at line 40 of file list_manager.cpp.

References NLAISCRIPT::l.

NLAIAGENT::IListBasicManager::IListBasicManager const IListBasicManager &   
 

Definition at line 45 of file list_manager.cpp.

References NLAISCRIPT::l.

NLAIAGENT::IListBasicManager::~IListBasicManager   [virtual]
 

Definition at line 50 of file list_manager.cpp.

References _List.


Member Function Documentation

void NLAIAGENT::IListBasicManager::clear   [virtual]
 

Clear the list.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 173 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::cpy const IObjectIA   o [virtual]
 

Push an IObjectIA back using the clone method.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 123 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::erase std::list< const IObjectIA * > &    l [virtual]
 

Erase all element contain in the list.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 169 of file list_manager.cpp.

References _List, and NLAISCRIPT::l.

void NLAIAGENT::IListBasicManager::erase const IObjectIA   obj [virtual]
 

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

Implements NLAIAGENT::IBaseGroupType.

Definition at line 164 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::erase const IObjectIA   o [virtual]
 

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

Implements NLAIAGENT::IBaseGroupType.

Definition at line 160 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::eraseAll const IObjectIA   obj [virtual]
 

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

Implements NLAIAGENT::IBaseGroupType.

Definition at line 156 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::eraseFirst const IObjectIA   obj [virtual]
 

Definition at line 152 of file list_manager.cpp.

References _List.

const IObjectIA * NLAIAGENT::IListBasicManager::find const IObjectIA   obj const [virtual]
 

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

Implements NLAIAGENT::IBaseGroupType.

Definition at line 148 of file list_manager.cpp.

References _List.

const IObjectIA * NLAIAGENT::IListBasicManager::get   const [virtual]
 

return the back IObjectIA.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 131 of file list_manager.cpp.

References _List.

Referenced by NLAIAGENT::CSetValueMsg::getDebugString, NLAIAGENT::COnChangeMsg::getDebugString, NLAIAGENT::CNotifyParentScript::getDebugString, NLAIAGENT::CConnectObjectValueMsg::getDebugString, NLAIAGENT::CFailureMsg::getDebugString, and NLAIAGENT::CSuccessMsg::getDebugString.

virtual CConstIteratorContener NLAIAGENT::IListBasicManager::getConstIterator   const [inline, virtual]
 

Implements NLAIAGENT::IBaseGroupType.

Definition at line 68 of file list_manager.h.

References _List.

void NLAIAGENT::IListBasicManager::getDebugString std::string &    t const [virtual]
 

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.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 70 of file list_manager.cpp.

References _List, NLAIC::stringGetBuild, and t.

const IObjectIA * NLAIAGENT::IListBasicManager::getFront   const [virtual]
 

return the front IObjectIA.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 139 of file list_manager.cpp.

References _List.

Referenced by NLAIAGENT::COnChangeMsg::getDebugString, NLAIAGENT::CNotifyParentScript::getDebugString, and NLAIAGENT::CGetValueMsg::getDebugString.

virtual CIteratorContener NLAIAGENT::IListBasicManager::getIterator   [inline, virtual]
 

Get an iterator to parse the list.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 63 of file list_manager.h.

References _List.

sint32 NLAIAGENT::IListBasicManager::getMethodIndexSize   const [virtual]
 

getMethodIndexSize define the nomber of method define in the class.

Reimplemented from NLAIAGENT::IBaseGroupType.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 184 of file list_manager.cpp.

bool NLAIAGENT::IListBasicManager::isEqual const IBasicObjectIA   a const [virtual]
 

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.

Reimplemented in NLAIAGENT::IListManager.

Definition at line 178 of file list_manager.cpp.

References _List, and IListBasicManager.

tQueue NLAIAGENT::IListBasicManager::isMember const IVarName   className,
const IVarName   methodName,
const IObjectIA   p
const [virtual]
 

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::IBaseGroupType.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 189 of file list_manager.cpp.

References NLAIAGENT::tQueue.

bool NLAIAGENT::IListBasicManager::isTrue   const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IBaseGroupType.

Definition at line 105 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::load NLMISC::IStream   is [virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 61 of file list_manager.cpp.

References _List, NLAIC::CIdentTypeAlloc::allocClass, NLAIAGENT::IBaseGroupType::IBaseGroupType, id, and NLMISC::IStream::serial.

NLAIAGENT::IListBasicManager::operator const IBaseGroupType *   const [inline]
 

Get the list of message contents.

Definition at line 102 of file list_manager.h.

References _List.

IObjetOp * NLAIAGENT::IListBasicManager::operator!   const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IBaseGroupType.

Definition at line 109 of file list_manager.cpp.

IObjetOp & NLAIAGENT::IListBasicManager::operator+= const IObjetOp   a [virtual]
 

add the operater by anather.

Reimplemented from NLAIAGENT::IBaseGroupType.

Definition at line 84 of file list_manager.cpp.

References _List.

IObjetOp & NLAIAGENT::IListBasicManager::operator-= const IObjetOp   a [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IBaseGroupType.

Definition at line 90 of file list_manager.cpp.

References _List.

IObjectIA & NLAIAGENT::IListBasicManager::operator= const IObjectIA   a [virtual]
 

Equality operator.

Implements NLAIAGENT::IBaseGroupType.

Reimplemented in NLAIAGENT::IMessageBase.

Definition at line 77 of file list_manager.cpp.

References _List, and IListBasicManager.

const IObjectIA * NLAIAGENT::IListBasicManager::operator[] sint32    const [virtual]
 

Implements NLAIAGENT::IBaseGroupType.

Definition at line 97 of file list_manager.cpp.

References _List, index, and s.

const IObjectIA * NLAIAGENT::IListBasicManager::pop   [virtual]
 

Pop the back IObjectIA and return it.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 127 of file list_manager.cpp.

References _List.

const IObjectIA * NLAIAGENT::IListBasicManager::popFront   [virtual]
 

Pop the front IObjectIA and return it.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 135 of file list_manager.cpp.

References _List.

void NLAIAGENT::IListBasicManager::push const IObjectIA   o [virtual]
 

Push an IObjectIA back.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 113 of file list_manager.cpp.

References _List.

Referenced by NLAIAGENT::CAgentOperation::update.

void NLAIAGENT::IListBasicManager::pushFront const IObjectIA   o [virtual]
 

Push an IObjectIA front.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 118 of file list_manager.cpp.

References _List.

virtual const CProcessResult& NLAIAGENT::IListBasicManager::run   [inline, virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 93 of file list_manager.h.

IObjectIA::CProcessResult NLAIAGENT::IListBasicManager::runMethodeMember sint32   ,
IObjectIA  
[virtual]
 

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::IBaseGroupType.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 199 of file list_manager.cpp.

IObjectIA::CProcessResult NLAIAGENT::IListBasicManager::runMethodeMember sint32   ,
sint32   ,
IObjectIA  
[virtual]
 

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::IBaseGroupType.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 194 of file list_manager.cpp.

void NLAIAGENT::IListBasicManager::save NLMISC::IStream   os [virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Reimplemented in NLAIAGENT::CMessageScript.

Definition at line 55 of file list_manager.cpp.

References _List, and NLMISC::IStream::serial.

virtual void NLAIAGENT::IListBasicManager::set int    i,
IObjectIA   o
[inline, virtual]
 

Push an IObjectIA at the position indicate by the int.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 53 of file list_manager.h.

References _List, and NLAIAGENT::IObjectIA::IObjectIA.

Referenced by NLAIAGENT::CCancelGoalMsg::CCancelGoalMsg, NLAIAGENT::CConnectObjectValueMsg::CConnectObjectValueMsg, NLAIAGENT::CFactMsg::CFactMsg, NLAIAGENT::CFailureMsg::CFailureMsg, NLAIAGENT::CGetValueMsg::CGetValueMsg, NLAIAGENT::CGoalMsg::CGoalMsg, NLAIAGENT::CSuccessMsg::CSuccessMsg, NLAILOGIC::CGoalPath::failure, NLAILOGIC::CGoalPath::onActivate, NLAILOGIC::CGoalPath::onUnActivate, NLAIAGENT::COperatorScript::order, NLAIAGENT::CAgentScript::runAskGetValue, NLAIAGENT::CCancelGoalMsg::runMethodeMember, NLAIAGENT::CGoalMsg::runMethodeMember, NLAIAGENT::CGetValueMsg::runMethodeMember, NLAIAGENT::CFactMsg::runMethodeMember, NLAIAGENT::CConnectObjectValueMsg::runMethodeMember, NLAIAGENT::CFailureMsg::runMethodeMember, NLAIAGENT::CSuccessMsg::runMethodeMember, and NLAILOGIC::CGoalPath::success.

sint32 NLAIAGENT::IListBasicManager::size   const [virtual]
 

get the size of the list.

Implements NLAIAGENT::IBaseGroupType.

Definition at line 143 of file list_manager.cpp.

References _List.

Referenced by NLAIAGENT::CMessageScript::getDebugString, NLAIAGENT::CMessageScript::getStaticMember, NLAIAGENT::CAgentScript::runInitComponent, NLAIAGENT::CAgentScript::runTellSetValue, and NLAIAGENT::CMessageScript::setStaticMember.


Member Data Documentation

IBaseGroupType* NLAIAGENT::IListBasicManager::_List [protected]
 

Definition at line 37 of file list_manager.h.

Referenced by clear, cpy, erase, eraseAll, eraseFirst, find, get, getConstIterator, getDebugString, getFront, getIterator, NLAIAGENT::IMessageBase::getMessageGroup, NLAIAGENT::IListManager::isEqual, isEqual, isTrue, load, operator const IBaseGroupType *, operator+=, operator-=, NLAIAGENT::IMessageBase::operator=, operator=, operator[], pop, popFront, push, pushFront, save, NLAIAGENT::IListManager::sendMessage, set, NLAIAGENT::IMessageBase::setMessageGroup, size, and ~IListBasicManager.


The documentation for this class was generated from the following files: