|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::IBaseGroupType Class ReferenceBase class for a IObjetOp list object.
More...
#include <agent_object.h>
Inheritance diagram for NLAIAGENT::IBaseGroupType:
List of all members.
Public Methods |
| IBaseGroupType (const IBaseGroupType &c) |
| IBaseGroupType () |
virtual | ~IBaseGroupType () |
|
virtual IObjetOp & | operator+= (IObjetOp *a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | operator-= (IObjetOp *a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | operator+= (const IObjetOp &a) |
| add the operater by anather. More...
|
virtual IObjetOp & | operator-= (const IObjetOp &a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp * | operator! () const=0 |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of method define in the class. More...
|
virtual sint32 | isClassInheritedFrom (const IVarName &) const |
| isClassInheritedFrom(className) allow us to known if this class have a base class with the name className. More...
|
virtual tQueue | isMember (const IVarName *, const IVarName *, const IObjectIA &) const |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
virtual CProcessResult | runMethodeMember (sint32, sint32, IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual CProcessResult | runMethodeMember (sint32 index, IObjectIA *) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
|
virtual IObjectIA & | operator= (const IObjectIA &a)=0 |
| Equality operator. More...
|
virtual const IObjectIA * | operator[] (sint32) const=0 |
virtual void | set (int, IObjectIA *)=0 |
| Push an IObjectIA at the position indicate by the int. More...
|
virtual void | push (const IObjectIA *o)=0 |
| Push an IObjectIA back. More...
|
virtual void | pushFront (const IObjectIA *o)=0 |
| Push an IObjectIA front. More...
|
virtual void | cpy (const IObjectIA &o)=0 |
| Push an IObjectIA back using the clone method. More...
|
virtual CIteratorContener | getIterator ()=0 |
| Get an iterator to parse the list. More...
|
virtual CConstIteratorContener | getConstIterator () const=0 |
virtual const IObjectIA * | pop ()=0 |
| Pop the back IObjectIA and return it. More...
|
virtual const IObjectIA * | popFront ()=0 |
| Pop the front IObjectIA and return it. More...
|
virtual const IObjectIA * | get () const=0 |
| return the back IObjectIA. More...
|
virtual const IObjectIA * | getFront () const=0 |
| return the front IObjectIA. More...
|
virtual sint32 | size () const=0 |
| get the size of the list. More...
|
virtual const IObjectIA * | find (const IObjectIA &obj) const=0 |
| Find an element on the list the operator== is use. More...
|
virtual void | eraseAll (const IObjectIA &)=0 |
| Erase all element find equal at the const IObjectIA & on argument. More...
|
virtual void | erase (const IObjectIA *)=0 |
| Erase the element how have the same pointer memory as the argument const IObjectIA *. More...
|
virtual void | erase (const IObjectIA &)=0 |
| Erase the first element find equal at the const IObjectIA& on argument. More...
|
virtual void | erase (std::list< const IObjectIA * > &)=0 |
| Erase all element contain in the list. More...
|
virtual void | clear ()=0 |
| Clear the list. More...
|
Static Public Attributes |
CMethodCall | _Method [] |
Detailed Description
Base class for a IObjetOp list object.
-
Author:
-
Portier Pierre , Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 539 of file agent_object.h.
Constructor & Destructor Documentation
NLAIAGENT::IBaseGroupType::IBaseGroupType |
( |
const IBaseGroupType & |
c |
) |
[inline] |
|
|
Definition at line 556 of file agent_object.h.
References IBaseGroupType, and NLAIAGENT::IObjetOp::IObjetOp.
Referenced by NLAIAGENT::IMessageBase::getMessageGroup, IBaseGroupType, NLAIAGENT::IListBasicManager::load, NLAIAGENT::CCancelGoalMsg::runMethodeMember, NLAIAGENT::CGoalMsg::runMethodeMember, NLAIAGENT::CGetValueMsg::runMethodeMember, NLAIAGENT::CFactMsg::runMethodeMember, NLAIAGENT::CConnectObjectValueMsg::runMethodeMember, NLAIAGENT::CFailureMsg::runMethodeMember, NLAIAGENT::CSuccessMsg::runMethodeMember, NLAIAGENT::IMessageBase::runMethodeMember, NLAIAGENT::CVectorGroupType::runMethodeMember, runMethodeMember, and NLAIAGENT::IMessageBase::setMessageGroup. |
NLAIAGENT::IBaseGroupType::IBaseGroupType |
( |
|
) |
|
|
NLAIAGENT::IBaseGroupType::~IBaseGroupType |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void NLAIAGENT::IBaseGroupType::clear |
( |
|
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::cpy |
( |
const IObjectIA & |
o |
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::erase |
( |
std::list< const IObjectIA * > & |
|
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::erase |
( |
const IObjectIA & |
|
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::erase |
( |
const IObjectIA * |
|
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::eraseAll |
( |
const IObjectIA & |
|
) |
[pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::find |
( |
const IObjectIA & |
obj |
) |
const [pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::get |
( |
|
) |
const [pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::getFront |
( |
|
) |
const [pure virtual] |
|
|
return the front IObjectIA.
Implemented in NLAIAGENT::CGroupType.
Referenced by NLAISCRIPT::CCompilateur::findMethode, NLAIFUZZY::CFuzzyVar::init, NLAIFUZZY::CFuzzyRuleSet::init, NLAIAGENT::COperatorScript::order, NLAIAGENT::CAgentScript::removeDynamic, NLAISCRIPT::CConstraintMethode::run, NLAILOGIC::CGoalPath::runMethodBase, NLAIAGENT::CActorScript::runMethodBase, runMethodeMember, NLAILOGIC::CGoalStack::runMethodeMember, NLAILOGIC::CInternalGoal::runMethodeMember, NLAILOGIC::CGoal::runMethodeMember, and NLAILOGIC::CFact::runMethodeMember. |
sint32 NLAIAGENT::IBaseGroupType::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
sint32 NLAIAGENT::IBaseGroupType::isClassInheritedFrom |
( |
const IVarName & |
|
) |
const [virtual] |
|
|
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. |
|
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.
Definition at line 97 of file group_type.cpp.
References _Method, NLAIAGENT::_Push, NLAIAGENT::_PushFront, NLAIAGENT::_Set, NLAIAGENT::_Size, NLAIAGENT::IBaseGroupType::CMethodCall::Index, NLAIAGENT::IObjetOp::IObjetOp::isMember, s, NLAIAGENT::tQueue, and NLAIC::CIdentType::VoidType. |
bool NLAIAGENT::IBaseGroupType::isTrue |
( |
|
) |
const [virtual] |
|
virtual IObjetOp* NLAIAGENT::IBaseGroupType::operator! |
( |
|
) |
const [pure virtual] |
|
IObjetOp & NLAIAGENT::IBaseGroupType::operator+= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::IBaseGroupType::operator-= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
virtual IObjectIA& NLAIAGENT::IBaseGroupType::operator= |
( |
const IObjectIA & |
a |
) |
[pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::operator[] |
( |
sint32 |
|
) |
const [pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::pop |
( |
|
) |
[pure virtual] |
|
virtual const IObjectIA* NLAIAGENT::IBaseGroupType::popFront |
( |
|
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::push |
( |
const IObjectIA * |
o |
) |
[pure virtual] |
|
virtual void NLAIAGENT::IBaseGroupType::pushFront |
( |
const IObjectIA * |
o |
) |
[pure 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::IObjectIA.
Reimplemented in NLAIAGENT::CVectorGroupType.
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::_Set, NLAIAGENT::_Size, get, getFront, IBaseGroupType, index, NLAIAGENT::IObjectIA::IObjectIA, param, pop, popFront, push, pushFront, set, and size. |
|
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.
Definition at line 147 of file group_type.cpp. |
virtual void NLAIAGENT::IBaseGroupType::set |
( |
int |
, |
|
|
IObjectIA * |
|
|
) |
[pure virtual] |
|
virtual sint32 NLAIAGENT::IBaseGroupType::size |
( |
|
) |
const [pure virtual] |
|
|
get the size of the list.
Implemented in NLAIAGENT::CGroupType.
Referenced by NLAISCRIPT::CCompilateur::findMethode, NLAIAGENT::CComponentHandle::getComponent, NLAISCRIPT::CCompilateur::getInheritanceRange, NLAIFUZZY::CFuzzyVar::init, NLAIFUZZY::CFuzzyRuleSet::init, NLAIAGENT::COperatorScript::order, NLAILOGIC::CGoalPath::runMethodBase, NLAIAGENT::CAgentWatchTimer::runMethodBase, NLAIAGENT::CActorScript::runMethodBase, runMethodeMember, NLAILOGIC::CInternalGoal::runMethodeMember, NLAILOGIC::CGoal::runMethodeMember, NLAISCRIPT::CMsgSetSender::runOpCode, and NLAISCRIPT::CMethodContextDebug::saveConstext. |
Member Data Documentation
|
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.
Referenced by isMember. |
The documentation for this class was generated from the following files:
|
|