From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a05365.html | 919 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 919 insertions(+) create mode 100644 docs/doxygen/nel/a05365.html (limited to 'docs/doxygen/nel/a05365.html') diff --git a/docs/doxygen/nel/a05365.html b/docs/doxygen/nel/a05365.html new file mode 100644 index 00000000..e7b2572b --- /dev/null +++ b/docs/doxygen/nel/a05365.html @@ -0,0 +1,919 @@ + + +NeL: NLAIC Namespace Reference + + + +
+

NLAIC Namespace Reference

+

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

class  CBinaryType
class  CIdentType
class  CIdentTypeAlloc
class  CPyTemplateDef
class  CRegistry
struct  CRegistry::CRegistryClass
 Private structure to store data in the std::map. More...

class  CSelfClassFactory
class  CTypeOfObject
class  CTypeOfOperator
class  IBasicInterface
class  IBasicType
class  IClassFactory
class  IIO
class  IPointerGestion

Basic stream method utility.

NLMISC::IStreamoperator<< (NLMISC::IStream &os, IBasicInterface &o)
 Write an IBasicInterface to a stream.

NLMISC::IStreamoperator<< (NLMISC::IStream &os, CIdentType &o)
 Read an CIdentType from a stream.

NLMISC::IStreamoperator>> (NLMISC::IStream &is, IBasicInterface &o)
 read an IBasicInterface from a stream.

NLMISC::IStreamoperator>> (NLMISC::IStream &is, CIdentTypeAlloc &o)
 Read an CIdentTypeAlloc from a stream.


Enumerations

enum  PyMemDeleteType { unDeleteMemory, +deleteMemory + }

Functions

IBasicInterfacecreateInstance (const CIdentType &ident)
 Creat new instance from the CRegistry static object.

template<class T> CPyTemplateDef< T > * CreatePyObjectInstance (T *o, PyTypeObject *defType)
const IIOgetDefaultIIO ()
CRegistrygetRegistry ()
 Get the local static CRegistry object define for all object.

void initRegistry ()
 Initialize the CRegistry static object. That mean: if not null create new one else delete old one and build new one.

void Out (const char *str,...)
sint32 registerClass (const CIdentType &ident, const IClassFactory &factoryClass)
 Register an object in the CRegistry static object.

void releaseRegistry ()
 Remove the static CRegistry object.

void setDefaultIIO (const IIO *io)
char * stringBuild (const char *str,...)
 this method give an char pointer hows it contents a string define by a const char* same as printf. It use for initialise string objects.

std::string stringGetBuild (const char *str,...)
 this method give an char pointer hows it contents a string define by a const char* same as printf. It use for initialise string objects.


Variables

const IIODefaultIIO = NULL
CRegistryregistry = NULL
+


Enumeration Type Documentation

+

+ + + + +
+ + +
enum NLAIC::PyMemDeleteType +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + + +
unDeleteMemory  +
deleteMemory  +
+
+ +

+Definition at line 37 of file python_export.h. +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
IBasicInterface * NLAIC::createInstance const CIdentType &  ident  ) 
+
+ + + + + +
+   + + +

+Creat new instance from the CRegistry static object. +

+ +

+Definition at line 49 of file registry_class.cpp. +

+References NLAIC::CRegistry::createInstance(), and registry. +

+Referenced by NLAISCRIPT::CCompilateur::buildObject(). +

+

00050         {
+00051                 return registry->createInstance(ident);
+00052         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
CPyTemplateDef<T>* CreatePyObjectInstance T *  o,
PyTypeObject *  defType
+
+ + + + + +
+   + + +

+Template method allow to have a pointer to a class C++ under Python, this is nead to export C++ class to python class. +

+Definition at line 74 of file python_export.h. +

+References NLAIC::CPyTemplateDef< T >::Instance. +

+

00075         {
+00076                 CPyTemplateDef<T> *ThisClass;
+00077                 ThisClass = new CPyTemplateDef<T>(o);
+00078                 if(ThisClass == NULL) return NULL;              
+00079                 ThisClass->Instance = o;
+00080                 ThisClass->ob_type = defType;
+00081                 _Py_NewReference((PyObject *)ThisClass);
+00082                 return ThisClass;
+00083         }
+
+

+ + + + +
+ + + + + + + + + +
const IIO * NLAIC::getDefaultIIO  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 58 of file ident_type.cpp. +

+References DefaultIIO. +

+

00059         {
+00060                 return DefaultIIO;
+00061         }
+
+

+ + + + +
+ + + + + + + + + +
CRegistry * NLAIC::getRegistry  ) 
+
+ + + + + +
+   + + +

+Get the local static CRegistry object define for all object. +

+ +

+Definition at line 34 of file registry_class.cpp. +

+References registry. +

+Referenced by NLAIC::CIdentType::allocClass(), NLAIC::CIdentType::CIdentType(), NLAISCRIPT::CAgentClass::createComponents(), NLAISCRIPT::CAgentClass::getBaseClass(), NLAISCRIPT::CAgentClass::getComputeBaseClass(), NLAIC::CIdentType::getFactory(), NLAISCRIPT::CCompilateur::getTypeOfClass(), and NLAIC::CIdentType::serial(). +

+

00035         {
+00036                 if(registry == NULL) 
+00037                 {
+00038                         return (registry = new CRegistry);
+00039                 }
+00040                 else
+00041                         return registry;
+00042         }
+
+

+ + + + +
+ + + + + + + + + +
void NLAIC::initRegistry  ) 
+
+ + + + + +
+   + + +

+Initialize the CRegistry static object. That mean: if not null create new one else delete old one and build new one. +

+ +

+Definition at line 54 of file registry_class.cpp. +

+References registry. +

+Referenced by NLAILINK::initIALib(). +

+

00055         {
+00056                 if ( registry == NULL ) registry= new CRegistry;
+00057         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLMISC::IStream& operator<< NLMISC::IStream os,
IBasicInterface &  o
[inline]
+
+ + + + + +
+   + + +

+Write an IBasicInterface to a stream. +

+ +

+Definition at line 525 of file abstract_interface.h. +

+References NLAIC::IBasicInterface::save(). +

+

00526         {
+00527                 o.save(os);
+00528                 return os;
+00529         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLMISC::IStream & NLAIC::operator<< NLMISC::IStream os,
CIdentType &  o
+
+ + + + + +
+   + + +

+Read an CIdentType from a stream. +

+ +

+Definition at line 274 of file ident_type.cpp. +

+References NLAIC::CIdentType::serial(). +

+

00275         {               
+00276                 o.serial(os);
+00277                 return os;
+00278         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLMISC::IStream& operator>> NLMISC::IStream is,
IBasicInterface &  o
[inline]
+
+ + + + + +
+   + + +

+read an IBasicInterface from a stream. +

+ +

+Definition at line 532 of file abstract_interface.h. +

+References NLAIC::IBasicInterface::load(). +

+

00533         {
+00534                 o.load(is);
+00535                 return is;
+00536         }       
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLMISC::IStream& operator>> NLMISC::IStream is,
CIdentTypeAlloc &  o
[inline]
+
+ + + + + +
+   + + +

+Read an CIdentTypeAlloc from a stream. +

+ +

+Definition at line 515 of file abstract_interface.h. +

+References NLAIC::CIdentTypeAlloc::load(). +

+

00516         {
+00517                 o.load(is);
+00518                 return is;
+00519         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAIC::Out const char *  str,
... 
+
+ + + + + +
+   + + +

+ +

+Definition at line 63 of file ident_type.cpp. +

+References DefaultIIO, and NLAIC::IIO::Echo(). +

+Referenced by NLAILINK::IOTrace::Echo(), NLAIPYSERVER::initPythonLib(), NLAISCRIPT::CCallPrint::printList(), and NLAIPYSERVER::printNbr(). +

+

00064         {               
+00065                 char    temp[64*1024];
+00066                 va_list argument;
+00067                 va_start (argument, str);
+00068                 
+00069                 vsprintf(temp, str, argument);
+00070                 if(DefaultIIO != NULL) 
+00071                         DefaultIIO->Echo(temp);
+00072                 else
+00073                 {
+00074                         fprintf(stderr,temp);
+00075                         fflush(stderr);
+00076                 }
+00077         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
sint32 NLAIC::registerClass const CIdentType &  ident,
const IClassFactory &  factoryClass
+
+ + + + + +
+   + + +

+Register an object in the CRegistry static object. +

+ +

+Definition at line 44 of file registry_class.cpp. +

+References NLAIC::CRegistry::registerClass(), registry, and sint32. +

+Referenced by NLAIAGENT::setRegister(). +

+

00045         {
+00046                 return registry->registerClass(ident,factoryClass);
+00047         }
+
+

+ + + + +
+ + + + + + + + + +
void NLAIC::releaseRegistry  ) 
+
+ + + + + +
+   + + +

+Remove the static CRegistry object. +

+ +

+Definition at line 58 of file registry_class.cpp. +

+References registry. +

+Referenced by NLAILINK::releaseIALib(). +

+

00059         {
+00060                 delete registry;
+00061         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIC::setDefaultIIO const IIO *  io  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file ident_type.cpp. +

+References DefaultIIO. +

+

00054         {
+00055                 DefaultIIO = io;
+00056         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
char * NLAIC::stringBuild const char *  str,
... 
+
+ + + + + +
+   + + +

+this method give an char pointer hows it contents a string define by a const char* same as printf. It use for initialise string objects. +

+ +

+Definition at line 40 of file ident_type.cpp. +

+References s. +

+

00041         {               
+00042                 char    temp[64*1024];
+00043                 va_list argument;
+00044                 va_start (argument, str);
+00045                 
+00046                 vsprintf(temp, str, argument);
+00047                 char *s = new char [strlen(temp)+1];
+00048                 strcpy(s,temp);
+00049                 return s;
+00050         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
std::string NLAIC::stringGetBuild const char *  str,
... 
+
+ + + + + +
+   + + +

+this method give an char pointer hows it contents a string define by a const char* same as printf. It use for initialise string objects. +

+ +

+Definition at line 79 of file ident_type.cpp. +

+Referenced by NLAISCRIPT::CAgentClass::addBrancheCode(), NLAISCRIPT::CCompilateur::affectationMember(), NLAISCRIPT::CCompilateur::buildObject(), NLAISCRIPT::CCompilateur::castVariable(), NLAISCRIPT::CConstraintChkMethodeType::CConstraintChkMethodeType(), NLAISCRIPT::CConstraintMethode::CConstraintMethode(), NLAISCRIPT::CConstraintStackComp::CConstraintStackComp(), NLAISCRIPT::CCompilateur::computContraint(), NLAISCRIPT::COperandSimpleListOr::COperandSimpleListOr(), NLAISCRIPT::CLdbRefOpCode::getDebugResult(), NLAISCRIPT::CLdbMemberiOpCode::getDebugResult(), NLAISCRIPT::CLdbHeapMemberiOpCode::getDebugResult(), NLAISCRIPT::CLdbStackMemberiOpCode::getDebugResult(), NLAISCRIPT::CLdbMemberOpCode::getDebugResult(), NLAISCRIPT::CCallStackNewMethodi::getDebugResult(), NLAISCRIPT::CCallHeapMethodi::getDebugResult(), NLAISCRIPT::CCallStackMethodi::getDebugResult(), NLAISCRIPT::CCallMethodi::getDebugResult(), NLAISCRIPT::CCallMethod::getDebugResult(), NLAISCRIPT::CLibHeapMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackNewMemberMethod::getDebugResult(), NLAISCRIPT::CLibStackMemberMethod::getDebugResult(), NLAISCRIPT::CLibCallMethodi::getDebugResult(), NLAISCRIPT::CLibCallInheritedMethod::getDebugResult(), NLAISCRIPT::CLibCallMethod::getDebugResult(), NLAISCRIPT::CLibMemberMethodi::getDebugResult(), NLAISCRIPT::CLibMemberInheritedMethod::getDebugResult(), NLAISCRIPT::CLibMemberMethod::getDebugResult(), NLAISCRIPT::CMarkMsg::getDebugResult(), NLAISCRIPT::CMakeArgOpCode::getDebugResult(), NLAISCRIPT::CTellOpCode::getDebugResult(), NLAISCRIPT::CFreeAlloc::getDebugResult(), NLAISCRIPT::CMarkAlloc::getDebugResult(), NLAISCRIPT::CLocAlloc::getDebugResult(), NLAISCRIPT::CAffMemberOpCode::getDebugResult(), NLAISCRIPT::CAffOpCode::getDebugResult(), NLAISCRIPT::CJmpOpCode::getDebugResult(), NLAISCRIPT::CJFalseOpCode::getDebugResult(), NLAISCRIPT::CFindRunMsg::getDebugResult(), NLAISCRIPT::CFreeAllocDebug::getDebugResult(), NLAISCRIPT::CAffOpCodeDebug::getDebugResult(), NLAISCRIPT::CAffHeapMemberiOpCode::getDebugResult(), NLAISCRIPT::CLocAllocDebug::getDebugResult(), NLAISCRIPT::CVarPStackParam::getDebugString(), NLAISCRIPT::CVarPStack::getDebugString(), NLAILOGIC::CFactPattern::getDebugString(), NLAILOGIC::CVar::getDebugString(), NLAIC::CBinaryType::getDebugString(), NLAIAGENT::COperatorScript::getDebugString(), NLAISCRIPT::CObjectUnknown::getDebugString(), NLAIAGENT::CObjectType::getDebugString(), NLAIAGENT::CSetValueMsg::getDebugString(), NLAIAGENT::COnChangeMsg::getDebugString(), NLAIAGENT::CNotifyParentScript::getDebugString(), NLAIAGENT::CMessageGroup::getDebugString(), NLAIAGENT::CGetValueMsg::getDebugString(), NLAIAGENT::CFailureMsg::getDebugString(), NLAIAGENT::CSuccessMsg::getDebugString(), NLAIAGENT::IMessageBase::getDebugString(), NLAIAGENT::CMessageScript::getDebugString(), NLAIAGENT::IListBasicManager::getDebugString(), NLAISCRIPT::CAgentClass::getDebugString(), NLAISCRIPT::CClassInterpretFactory::getDebugString(), NLAIAGENT::CIdent::getDebugString(), NLAIAGENT::CLocWordNumRef::getDebugString(), NLAIAGENT::CVectorGroupType::getDebugString(), NLAILOGIC::CGoalStack::getDebugString(), NLAILOGIC::CInternalGoal::getDebugString(), NLAILOGIC::CGoal::getDebugString(), NLAIFUZZY::CFuzzyVar::getDebugString(), NLAIFUZZY::FuzzyType::getDebugString(), NLAIFUZZY::CTrapezeFuzzySet::getDebugString(), NLAIFUZZY::CLeftFuzzySet::getDebugString(), NLAIFUZZY::CTriangleFuzzySet::getDebugString(), NLAIFUZZY::CRightFuzzySet::getDebugString(), NLAIFUZZY::CFuzzyInterval::getDebugString(), NLAIFUZZY::CFuzzyRuleSet::getDebugString(), NLAIFUZZY::CFuzzyRule::getDebugString(), NLAIFUZZY::CFuzzyFact::getDebugString(), NLAIFUZZY::CSimpleFuzzyCond::getDebugString(), NLAILOGIC::CFirstOrderAssert::getDebugString(), NLAILOGIC::CFact::getDebugString(), NLAISCRIPT::CCodeContext::getDebugString(), NLAISCRIPT::CCodeBrancheRun::getDebugString(), NLAIAGENT::IAgent::getDebugString(), NLAIAGENT::CAgentWatchTimer::getDebugString(), NLAIAGENT::CAgentManagerTimer::getDebugString(), NLAIAGENT::CStringVarName::getDebugString(), NLAIAGENT::CAgentScript::getDebugString(), NLAIAGENT::CProxyAgentMail::getDebugString(), NLAIAGENT::CStringType::getDebugString(), NLAIAGENT::CLocalAgentMail::getDebugString(), NLAIAGENT::UInt64Type::getDebugString(), NLAIAGENT::UInt32Type::getDebugString(), NLAIAGENT::UInt16Type::getDebugString(), NLAIAGENT::UInt8Type::getDebugString(), NLAIAGENT::CharType::getDebugString(), NLAIAGENT::ShortIntegerType::getDebugString(), NLAIAGENT::IntegerType::getDebugString(), NLAIAGENT::BorneDDigitalType::getDebugString(), NLAIAGENT::DDigitalType::getDebugString(), NLAIAGENT::BorneDigitalType::getDebugString(), NLAIAGENT::DigitalType::getDebugString(), NLAIAGENT::VectorType::getDebugString(), NLAIC::CSelfClassFactory::getDebugString(), NLAISCRIPT::CConstraintStackComp::getError(), NLAIC::CRegistry::getFactory(), NLAIC::CRegistry::getIdent(), NLAISCRIPT::COperandSimple::getInfo(), NLAIC::CRegistry::getNumIdent(), NLAIPYSERVER::CPyExport::getRefVar(), NLAIAGENT::IObjectIA::getStaticMemberSize(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAIAGENT::IObjetOp::isTrue(), NLAIAGENT::IObjetOp::neg(), NLAIAGENT::IObjetOp::operator *(), NLAIAGENT::IObjetOp::operator *=(), NLAIAGENT::IObjetOp::operator!(), NLAIAGENT::IObjetOp::operator!=(), NLAIAGENT::IObjetOp::operator+(), NLAIAGENT::IObjetOp::operator+=(), NLAIAGENT::IObjetOp::operator-(), NLAIAGENT::IObjetOp::operator-=(), NLAIAGENT::IObjetOp::operator/(), NLAIAGENT::IObjetOp::operator/=(), NLAIAGENT::IObjetOp::operator<(), NLAIAGENT::IObjetOp::operator<=(), NLAIAGENT::CAgentOperation::operator=(), NLAIAGENT::IObjectIA::operator=(), NLAIAGENT::IObjetOp::operator==(), NLAIAGENT::IObjetOp::operator>(), NLAIAGENT::IObjetOp::operator>=(), NLAISCRIPT::CCompilateur::processingVar(), NLAISCRIPT::COperatorClass::RegisterMessage(), NLAISCRIPT::CCompilateur::registerMethod(), NLAISCRIPT::CConstraintMethode::run(), NLAISCRIPT::CCodeBrancheRun::run(), NLAIAGENT::IBasicAgent::run(), NLAIAGENT::IBasicAgent::runAsk(), NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode(), NLAIAGENT::IObjectIA::runStep(), NLAISCRIPT::CCodeBrancheRun::save(), NLAIAGENT::IObjectIA::sendMessage(), NLAISCRIPT::CCompilateur::setParamVarName(), and NLAIAGENT::IObjectIA::setStaticMember(). +

+

00080         {
+00081                 char    temp[64*1024];
+00082                 va_list argument;
+00083                 va_start (argument, str);
+00084                 
+00085                 vsprintf(temp, str, argument);                  
+00086 
+00087                 return std::string(temp);
+00088 
+00089         }
+
+


Variable Documentation

+

+ + + + +
+ + +
const IIO* NLAIC::DefaultIIO = NULL +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file ident_type.cpp. +

+Referenced by getDefaultIIO(), Out(), and setDefaultIIO().

+

+ + + + +
+ + +
CRegistry* NLAIC::registry = NULL +
+
+ + + + + +
+   + + +

+ +

+Definition at line 32 of file registry_class.cpp. +

+Referenced by createInstance(), getRegistry(), initRegistry(), registerClass(), and releaseRegistry().

+


Generated on Tue Mar 16 10:21:25 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1