|
|
|
|
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
[legend]Collaboration diagram for NLAIAGENT::IBaseGroupType:
[legend]List of all members.
Public Methods |
| IBaseGroupType (const IBaseGroupType &c) |
| IBaseGroupType () |
virtual | ~IBaseGroupType () |
|
virtual IObjetOp& | operator+= (const IObjetOp &a) = 0 |
| throw (NLAIE::CExceptionNotImplemented).
|
virtual IObjetOp& | operator-= (const IObjetOp &a) = 0 |
| throw (NLAIE::CExceptionNotImplemented).
|
virtual IObjetOp* | operator+ (const IObjetOp &a) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator- (const IObjetOp &a) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator! () const = 0 |
| throw (NLAIE::CExceptionNotImplemented).
|
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. 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.
|
virtual const IObjectIA* | operator[] (sint32) const = 0 |
virtual void | set (int,IObjectIA *) = 0 |
| Push an IObjectIA at the position indicate by the int.
|
virtual void | push (const IObjectIA *o) = 0 |
| Push an IObjectIA back.
|
virtual void | pushFront (const IObjectIA *o) = 0 |
| Push an IObjectIA front.
|
virtual void | cpy (const IObjectIA &o) = 0 |
| Push an IObjectIA back using the clone method.
|
virtual CIteratorContener | getIterator () const = 0 |
| Get an iterator to parse the list.
|
virtual const IObjectIA* | pop () = 0 |
| Pop the back IObjectIA and return it.
|
virtual const IObjectIA* | popFront () = 0 |
| Pop the front IObjectIA and return it.
|
virtual const IObjectIA* | get () const = 0 |
| return the back IObjectIA.
|
virtual const IObjectIA* | getFront () const = 0 |
| return the front IObjectIA.
|
virtual sint32 | size () const = 0 |
| get the size of the list.
|
virtual const IObjectIA* | find (const IObjectIA &obj) const = 0 |
| Find an element on the list the operator == is use.
|
virtual void | eraseAll (const IObjectIA &) = 0 |
| Erase all element find equal at the const IObjectIA & on argument.
|
virtual void | erase (const IObjectIA *) = 0 |
| Erase the element how have the same pointer memory as the argument const IObjectIA *.
|
virtual void | erase (const IObjectIA &) = 0 |
| Erase the first element find equal at the const IObjectIA& on argument.
|
virtual void | erase (std::list<const IObjectIA *> &) = 0 |
| Erase all element contain in the list.
|
virtual void | clear () = 0 |
| Clear the list.
|
Static Public Attributes |
CMethodCall | _Method [] |
Detailed Description
Base class for a IObjetOp list object.
-
Author(s):
-
Portier Pierre , Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 397 of file agent_object.h.
Constructor & Destructor Documentation
NLAIAGENT::IBaseGroupType::IBaseGroupType (
|
const IBaseGroupType & c ) [inline]
|
|
NLAIAGENT::IBaseGroupType::IBaseGroupType (
|
)
|
|
NLAIAGENT::IBaseGroupType::~IBaseGroupType (
|
) [virtual]
|
|
Member Function Documentation
void NLAIAGENT::IBaseGroupType::clear (
|
) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::cpy (
|
const IObjectIA & o ) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::erase (
|
std::list< const IObjectIA *>& l ) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::erase (
|
const IObjectIA & obj ) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::erase (
|
const IObjectIA * o ) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::eraseAll (
|
const IObjectIA & obj ) [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::find (
|
const IObjectIA & obj ) const [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::get (
|
) const [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::getFront (
|
) const [pure virtual]
|
|
|
Get an iterator to parse the list.
Reimplemented in NLAIAGENT::CGroupType, NLAIAGENT::CVectorGroupType, and NLAIAGENT::IListBasicManager.
Referenced by NLAISCRIPT::CCallPrint::format(), NLAISCRIPT::CCompilateur::getInheritanceRange(), NLAISCRIPT::CCallPrint::printList(), NLAISCRIPT::CParam::push(), NLAISCRIPT::CMsgSetSender::runOpCode(), NLAISCRIPT::CFindRunMsg::runOpCode(), NLAISCRIPT::CMethodContextDebug::saveConstext(), NLAISCRIPT::CMethodContext::saveConstext(), and NLAISCRIPT::CCompilateur::validateHierarchyMethode(). |
sint32 NLAIAGENT::IBaseGroupType::getMethodIndexSize (
|
) const [virtual]
|
|
sint32 NLAIAGENT::IBaseGroupType::isClassInheritedFrom (
|
const IVarName & class_name ) 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 225 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::IObjetOp.
Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::COnChangeMsg.
Definition at line 73 of file group_type.cpp. |
bool NLAIAGENT::IBaseGroupType::isTrue (
|
) const [virtual]
|
|
IObjetOp * NLAIAGENT::IBaseGroupType::operator! (
|
) const [pure virtual]
|
|
IObjetOp * NLAIAGENT::IBaseGroupType::operator+ (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IBaseGroupType::operator+= (
|
const IObjetOp & a ) [pure virtual]
|
|
IObjetOp * NLAIAGENT::IBaseGroupType::operator- (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IBaseGroupType::operator-= (
|
const IObjetOp & a ) [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::operator[] (
|
sint32 index ) const [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::pop (
|
) [pure virtual]
|
|
const IObjectIA * NLAIAGENT::IBaseGroupType::popFront (
|
) [pure virtual]
|
|
void NLAIAGENT::IBaseGroupType::push (
|
const IObjectIA * o ) [pure 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::IObjetOp.
Reimplemented in NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::COnChangeMsg.
Definition at line 119 of file group_type.cpp. |
|
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::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::COnChangeMsg.
Definition at line 115 of file group_type.cpp. |
void NLAIAGENT::IBaseGroupType::set (
|
int index,
|
|
IObjectIA * o ) [pure virtual]
|
|
sint32 NLAIAGENT::IBaseGroupType::size (
|
) const [pure virtual]
|
|
|
get the size of the list.
Reimplemented in NLAIAGENT::CGroupType, NLAIAGENT::CVectorGroupType, and NLAIAGENT::IListBasicManager.
Referenced by NLAISCRIPT::CCompilateur::findMethode(), NLAISCRIPT::CCompilateur::getInheritanceRange(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAIFUZZY::CFuzzyVar::init(), NLAIFUZZY::CFuzzyRuleSet::init(), NLAILOGIC::CGoal::runMethodeMember(), NLAISCRIPT::CMsgSetSender::runOpCode(), NLAISCRIPT::CMethodContextDebug::saveConstext(), and NLAISCRIPT::CMethodContext::saveConstext(). |
Member Data Documentation
|
Initializer: {
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. |
The documentation for this class was generated from the following files:
|
|