# 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::CPaireType Class Reference

#include <agent_object.h>

Inheritance diagram for NLAIAGENT::CPaireType:

NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CPaireType (IObjectIA *first, IObjectIA *second)
 CPaireType (const CPaireType &a)
virtual const NLAIC::IBasicTypeclone () 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::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual const NLAIC::CIdentTypegetType () 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 void load (NLMISC::IStream &is)
 Load the class from a stream. More...

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

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 bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

IObjectIAfirst () const
IObjectIAsecond () const
virtual ~CPaireType ()
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 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...


Static Public Attributes

CMethodCall _Method []
const NLAIC::CIdentType IdPaireType

Private Attributes

IObjectIA_First
IObjectIA_Second

Constructor & Destructor Documentation

NLAIAGENT::CPaireType::CPaireType IObjectIA   first,
IObjectIA   second
[inline]
 

Definition at line 168 of file agent_object.h.

References _First, _Second, first, NLAIAGENT::IObjectIA::IObjectIA, and second.

Referenced by clone, CPaireType, and isEqual.

NLAIAGENT::CPaireType::CPaireType const CPaireType &    a [inline]
 

Definition at line 173 of file agent_object.h.

References _First, _Second, and CPaireType.

virtual NLAIAGENT::CPaireType::~CPaireType   [inline, virtual]
 

Definition at line 238 of file agent_object.h.

References _First, and _Second.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::CPaireType::clone   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 179 of file agent_object.h.

References CPaireType.

Referenced by newInstance.

IObjectIA* NLAIAGENT::CPaireType::first   const [inline]
 

Definition at line 228 of file agent_object.h.

References _First, and NLAIAGENT::IObjectIA::IObjectIA.

Referenced by CPaireType.

virtual void NLAIAGENT::CPaireType::getDebugString std::string &    text const [inline, 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.

Definition at line 209 of file agent_object.h.

References _First, _Second, and s.

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

getMethodIndexSize define the nomber of method define in the class.

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 119 of file agent_object.cpp.

References sint32.

virtual const NLAIC::CIdentType& NLAIAGENT::CPaireType::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).

Implements NLAIC::IBasicType.

Definition at line 190 of file agent_object.h.

virtual bool NLAIAGENT::CPaireType::isEqual const IBasicObjectIA   a const [inline, 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.

Definition at line 244 of file agent_object.h.

References _Second, CPaireType, NLAIAGENT::IBasicObjectIA::IBasicObjectIA, and t.

tQueue NLAIAGENT::CPaireType::isMember const IVarName  ,
const IVarName  ,
const IObjectIA  
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::IObjectIA.

Definition at line 124 of file agent_object.cpp.

References _Method, NLAIAGENT::CPaireType::CMethodCall::Index, NLAIAGENT::IObjetOp::IObjetOp::isMember, and NLAIAGENT::tQueue.

virtual bool NLAIAGENT::CPaireType::isTrue   const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 223 of file agent_object.h.

virtual void NLAIAGENT::CPaireType::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 200 of file agent_object.h.

virtual const NLAIC::IBasicType* NLAIAGENT::CPaireType::newInstance   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 185 of file agent_object.h.

References clone.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 204 of file agent_object.h.

IObjectIA::CProcessResult NLAIAGENT::CPaireType::runMethodeMember sint32    index,
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::IObjectIA.

Definition at line 153 of file agent_object.cpp.

References index, and sint32.

IObjectIA::CProcessResult NLAIAGENT::CPaireType::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::IObjectIA.

Definition at line 149 of file agent_object.cpp.

References sint32.

virtual void NLAIAGENT::CPaireType::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 196 of file agent_object.h.

IObjectIA* NLAIAGENT::CPaireType::second   const [inline]
 

Definition at line 233 of file agent_object.h.

References _Second, and NLAIAGENT::IObjectIA::IObjectIA.

Referenced by CPaireType.


Member Data Documentation

IObjectIA* NLAIAGENT::CPaireType::_First [private]
 

Definition at line 161 of file agent_object.h.

Referenced by CPaireType, first, getDebugString, and ~CPaireType.

CPaireType::CMethodCall NLAIAGENT::CPaireType::_Method [static]
 

Initial value:

 
        {
                CPaireType::CMethodCall(_CONSTRUCTOR_,NLAIAGENT::_Const),
                CPaireType::CMethodCall(_FIRST_, NLAIAGENT::_First),
                CPaireType::CMethodCall(_SECOND_, NLAIAGENT::_Second)           
        }

Definition at line 112 of file agent_object.cpp.

Referenced by isMember.

IObjectIA* NLAIAGENT::CPaireType::_Second [private]
 

Definition at line 162 of file agent_object.h.

Referenced by CPaireType, getDebugString, isEqual, second, and ~CPaireType.

const NLAIC::CIdentType CPaireType::IdPaireType [static]
 


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