|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CVectorGroupType Class Referenceconcret IBaseGroupType with a std::vector container.
More...
#include <agent_object.h>
Inheritance diagram for NLAIAGENT::CVectorGroupType:
List of all members.
Public Types |
typedef std::vector< const
IObjectIA * > | tVectorType |
Public Methods |
| CVectorGroupType (sint32) |
| Construct a vector with n uninitialize momory unite. Programmer must initialize the vector list after. More...
|
| CVectorGroupType () |
| CVectorGroupType (const CVectorGroupType &g) |
virtual void | getDebugString (std::string &text) 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...
|
virtual const CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
virtual IObjetOp * | operator+ (const IObjetOp &a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp * | operator- (const IObjetOp &a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp * | operator+ (IObjetOp *a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp * | operator- (IObjetOp *a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjectIA & | operator= (const IObjectIA &a) |
| Equality operator. More...
|
virtual const IObjectIA * | operator[] (sint32) const |
virtual void | set (int, IObjectIA *) |
| Push an IObjectIA at the position indicate by the int. More...
|
IObjetOp * | CVectorGroupType::operator! () const |
void | push (const IObjectIA *o) |
| Push an IObjectIA back. More...
|
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 |
void | setObject (sint32 i, IObjectIA *a) |
void | cpy (const IObjectIA &o) |
| Push an IObjectIA back using the clone method. More...
|
const IObjectIA * | pop () |
| Pop the back IObjectIA and return it. More...
|
const IObjectIA * | get () const |
| return the back IObjectIA. More...
|
const IObjectIA * | popFront () |
| Pop the front IObjectIA and return it. More...
|
const IObjectIA * | getFront () const |
| return the front IObjectIA. More...
|
sint32 | size () const |
| get the size of the list. More...
|
tVectorType | findList (const IObjectIA &obj) const |
tVectorType::const_iterator | getBegin () const |
tVectorType::const_iterator | getEnd () const |
tVectorType::iterator | getBegin () |
tVectorType::iterator | getEnd () |
const IObjectIA * | find (const IObjectIA &obj) const |
| Find an element on the list the operator== is use. More...
|
void | eraseAll (const IObjectIA &obj) |
| Erase all element find equal at the const IObjectIA & on argument. More...
|
void | erase (const IObjectIA *o) |
| Erase the element how have the same pointer memory as the argument const IObjectIA *. More...
|
void | erase (const IObjectIA &obj) |
| Erase the first element find equal at the const IObjectIA& on argument. More...
|
void | erase (std::list< const IObjectIA * > &l) |
| Erase all element contain in the list. 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 const NLAIC::IBasicType * | clone () const |
| This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...
|
virtual const NLAIC::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
virtual const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual void | save (NLMISC::IStream &os) |
| Save the class in a stream. More...
|
virtual IObjetOp & | neg () |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
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 *, 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 | ~CVectorGroupType () |
Static Public Attributes |
const NLAIC::CIdentType | IdVectorGroupType |
Protected Methods |
tVectorType & | getVector () |
Private Attributes |
tVectorType | _Vector |
| std::vector for store IObjectIA object. More...
|
Detailed Description
concret IBaseGroupType with a std::vector container.
-
Author:
-
Portier Pierre , Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 720 of file agent_object.h.
Member Typedef Documentation
typedef std::vector<const IObjectIA *> NLAIAGENT::CVectorGroupType::tVectorType
|
|
Constructor & Destructor Documentation
NLAIAGENT::CVectorGroupType::CVectorGroupType |
( |
sint32 |
|
) |
|
|
NLAIAGENT::CVectorGroupType::CVectorGroupType |
( |
|
) |
|
|
NLAIAGENT::CVectorGroupType::CVectorGroupType |
( |
const CVectorGroupType & |
g |
) |
|
|
NLAIAGENT::CVectorGroupType::~CVectorGroupType |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::CVectorGroupType::clear |
( |
|
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::cpy |
( |
const IObjectIA & |
o |
) |
[virtual] |
|
IObjetOp* NLAIAGENT::CVectorGroupType::CVectorGroupType::operator! |
( |
|
) |
const |
|
void NLAIAGENT::CVectorGroupType::erase |
( |
const IObjectIA & |
obj |
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::erase |
( |
const IObjectIA * |
o |
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::eraseAll |
( |
const IObjectIA & |
obj |
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::find |
( |
const IObjectIA & |
obj |
) |
const [virtual] |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::get |
( |
|
) |
const [virtual] |
|
CVectorGroupType::tVectorType::iterator NLAIAGENT::CVectorGroupType::getBegin |
( |
|
) |
|
|
CVectorGroupType::tVectorType::const_iterator NLAIAGENT::CVectorGroupType::getBegin |
( |
|
) |
const |
|
void NLAIAGENT::CVectorGroupType::getDebugString |
( |
std::string & |
text |
) |
const [virtual] |
|
CVectorGroupType::tVectorType::iterator NLAIAGENT::CVectorGroupType::getEnd |
( |
|
) |
|
|
CVectorGroupType::tVectorType::const_iterator NLAIAGENT::CVectorGroupType::getEnd |
( |
|
) |
const |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::getFront |
( |
|
) |
const [virtual] |
|
virtual CIteratorContener NLAIAGENT::CVectorGroupType::getIterator |
( |
|
) |
[inline, virtual] |
|
sint32 NLAIAGENT::CVectorGroupType::getMethodIndexSize |
( |
|
) |
const [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).
Implements NLAIC::IBasicType.
Definition at line 768 of file group_type.cpp.
References IdVectorGroupType. |
bool NLAIAGENT::CVectorGroupType::isEqual |
( |
const IBasicObjectIA & |
a |
) |
const [virtual] |
|
IObjetOp & NLAIAGENT::CVectorGroupType::neg |
( |
|
) |
[virtual] |
|
const NLAIC::IBasicType * NLAIAGENT::CVectorGroupType::newInstance |
( |
|
) |
const [virtual] |
|
IObjetOp * NLAIAGENT::CVectorGroupType::operator+ |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp * NLAIAGENT::CVectorGroupType::operator- |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::operator[] |
( |
sint32 |
|
) |
const [virtual] |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::pop |
( |
|
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::CVectorGroupType::popFront |
( |
|
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::push |
( |
const IObjectIA * |
o |
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::pushFront |
( |
const IObjectIA * |
o |
) |
[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.
Definition at line 1115 of file group_type.cpp. |
void NLAIAGENT::CVectorGroupType::set |
( |
int |
, |
|
|
IObjectIA * |
|
|
) |
[virtual] |
|
void NLAIAGENT::CVectorGroupType::setObject |
( |
sint32 |
i, |
|
|
IObjectIA * |
a |
|
) |
[inline] |
|
sint32 NLAIAGENT::CVectorGroupType::size |
( |
|
) |
const [virtual] |
|
Member Data Documentation
tVectorType NLAIAGENT::CVectorGroupType::_Vector [private]
|
|
|
std::vector for store IObjectIA object.
Definition at line 731 of file agent_object.h.
Referenced by clear, cpy, CVectorGroupType, erase, eraseAll, find, findList, get, getBegin, getDebugString, getEnd, getFront, getVector, isEqual, load, neg, operator+, operator-, operator=, operator[], pop, popFront, push, pushFront, run, runMethodeMember, save, set, and size. |
The documentation for this class was generated from the following files:
|
|