|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CParam Class ReferenceClass CParam.
More...
#include <interpret_methodes.h>
Inheritance diagram for NLAISCRIPT::CParam:
List of all members.
Detailed Description
Class CParam.
This class is an type container who's strored the arguments type of a given method.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 46 of file interpret_methodes.h.
Member Typedef Documentation
typedef std::vector<IOpType *> NLAISCRIPT::CParam::tParam [private]
|
|
Constructor & Destructor Documentation
NLAISCRIPT::CParam::CParam |
( |
|
) |
|
|
NLAISCRIPT::CParam::CParam |
( |
const CParam & |
|
) |
|
|
NLAISCRIPT::CParam::CParam |
( |
int |
count, |
|
|
... |
|
|
) |
|
|
NLAISCRIPT::CParam::~CParam |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAISCRIPT::CParam::clear |
( |
|
) |
|
|
double NLAISCRIPT::CParam::eval |
( |
const CParam & |
p |
) |
const |
|
|
Return the distance between to arguments.
An infinite result is defined by a negative value and represent an unequal argument. 0.0 value mean that the two arguments is equal. A positive value mean that some of parameter is unequal but have the same based class, in this configuration the return value represent how far the two class was between the base class. More the value is more far the class is.
Definition at line 68 of file interpret_methodes.cpp.
References _Param, NLAISCRIPT::l, and r.
Referenced by NLAIAGENT::IBasicAgent::isMember, and NLAIAGENT::IVector::isMember. |
const IOpType & NLAISCRIPT::CParam::get |
( |
|
) |
const |
|
void NLAISCRIPT::CParam::getDebugString |
( |
std::string & |
|
) |
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.
Definition at line 213 of file interpret_methodes.cpp.
References getString, and t. |
void NLAISCRIPT::CParam::getString |
( |
std::string & |
txt |
) |
const |
|
|
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 252 of file interpret_methodes.cpp.
References IdParam. |
void NLAISCRIPT::CParam::operator= |
( |
const CParam & |
p |
) |
|
|
bool NLAISCRIPT::CParam::operator== |
( |
const CParam & |
p |
) |
const |
|
const IOpType * NLAISCRIPT::CParam::operator[] |
( |
sint32 |
i |
) |
const |
|
void NLAISCRIPT::CParam::pop |
( |
|
) |
|
|
void NLAISCRIPT::CParam::push |
( |
IOpType * |
i |
) |
|
|
void NLAISCRIPT::CParam::push |
( |
const IOpType & |
|
) |
|
|
sint32 NLAISCRIPT::CParam::size |
( |
|
) |
const |
|
Member Data Documentation
tParam NLAISCRIPT::CParam::_Param [private]
|
|
|
Vector that is contain a IOpType argument type.
Definition at line 52 of file interpret_methodes.h.
Referenced by clear, CParam, eval, get, getString, load, operator=, operator==, operator[], pop, push, save, size, and ~CParam. |
The documentation for this class was generated from the following files:
|
|