NLAIAGENT::CLocWordNumRef Class Reference

#include <ident.h>

Inheritance diagram for NLAIAGENT::CLocWordNumRef:

NLAIAGENT::IWordNumRef NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable

Detailed Description

This is an local version of the IWordNumRef.

This class share agent in a static map.

Author:
Chafik sameh

Nevrax France

Date:
2000

Definition at line 476 of file ident.h.

Public Member Functions

 CLocWordNumRef ()
 CLocWordNumRef (NLMISC::IStream &is)
 CLocWordNumRef (const CLocWordNumRef &l)
 CLocWordNumRef (const CNumericIndex &id, IRefrence *ref)
 CLocWordNumRef (const CNumericIndex &ref)
 CLocWordNumRef (IRefrence *ref)
 Construct object for an IRefrence agents objects.

sint32 decRef ()
 Decrement the reference of an object.

void getDebugString (std::string &t) const
virtual const std::string getInfo ()
virtual const CNumericIndexgetNumIdent () const
const sint32getRef () const
 get the refence count.

void incRef ()
 Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list.

virtual operator const IRefrence * () const
virtual void release ()
 Release allow to release the pointer. The last release when the _Ref is nul delete the object.

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
void setTypeAt (uint64 t)
virtual ~CLocWordNumRef ()
IBasicInterface method.
virtual const NLAIC::IBasicTypeclone () const
virtual const NLAIC::CIdentTypegetType () const
virtual void load (NLMISC::IStream &is)
 Exception: throw (NLAIE::CExceptionIndexHandeledError).

virtual const NLAIC::IBasicTypenewInstance () const
virtual void save (NLMISC::IStream &os)

Static Public Member Functions

Map fonctionality method.
void clear ()
 Clear the map.

IRefrencegetRef (const CNumericIndex &)
 Clear the map.

void Init ()
 Init the map.

bool loadMapping (NLMISC::IStream &)
void saveMapping (ostream &)

Static Public Attributes

const NLAIC::CIdentTypeIdLocWordNumRef = NULL
 The class factory ident of the class.


Private Types

typedef std::map< CNumericIndex,
IRefrence * > 
TMapRef
 The map use an CNumericIndex as a key for the internal tree.


Private Attributes

CNumericIndex _Id
 The iden of the class.

IRefrence_Stock
 _Stock define the cross reference between agent and this class.


Static Private Attributes

NLMISC::CSynchronized< TMapRef_LocRefence


Member Typedef Documentation

typedef std::map<CNumericIndex ,IRefrence *> NLAIAGENT::CLocWordNumRef::TMapRef [private]
 

The map use an CNumericIndex as a key for the internal tree.

Definition at line 480 of file ident.h.


Constructor & Destructor Documentation

NLAIAGENT::CLocWordNumRef::CLocWordNumRef IRefrence ref  )  [inline]
 

Construct object for an IRefrence agents objects.

Definition at line 497 of file ident.h.

References _LocRefence, and _Stock.

00497                                               :_Stock(ref)
00498                 {
00499                         NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00500                         a.value().insert(TMapRef::value_type(_Id,ref));
00501                 }

NLAIAGENT::CLocWordNumRef::CLocWordNumRef const CNumericIndex ref  )  [inline]
 

Construct object with an CNumericIndex objects.

This constroctor allow to reload an IRefrence defined with the CNumericIndex &ref.

Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 510 of file ident.h.

References _LocRefence, and _Stock.

00510                                                          :_Id(ref),_Stock(NULL)
00511                 {                       
00512                         NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00513                         TMapRef::iterator Itr = a.value().find(_Id);
00514                         if(Itr != a.value().end())
00515                         {                               
00516                                 _Stock = (*Itr).second;
00517                         }
00518                         else throw NLAIE::CExceptionIndexHandeledError();
00519                 }

NLAIAGENT::CLocWordNumRef::CLocWordNumRef const CNumericIndex id,
IRefrence ref
[inline]
 

Definition at line 521 of file ident.h.

References _LocRefence, _Stock, and id.

00521                                                                        :_Id(id),_Stock(ref)
00522                 {
00523                         NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00524                         TMapRef::iterator itr = a.value().find(_Id);
00525                         if(itr != a.value().end())
00526                         {
00527                                 if((*itr).second != _Stock)
00528                                 {
00529                                         return;
00530                                 }
00531                                 else
00532                                 {
00533                                         throw NLAIE::CExceptionIndexHandeledError();
00534                                 }
00535                                 a.value().erase(itr);
00536                         }
00537                         a.value().insert(TMapRef::value_type(_Id,_Stock));                      
00538                 }

NLAIAGENT::CLocWordNumRef::CLocWordNumRef const CLocWordNumRef l  )  [inline]
 

Copy Constructor. Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 544 of file ident.h.

References _LocRefence, and _Stock.

00544                                                         :_Id(l._Id),_Stock(NULL)
00545                 {                                               
00546                         NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00547                         TMapRef::iterator itr = a.value().find(_Id);
00548                         if(itr != a.value().end())
00549                         {
00550                                 _Stock = (*itr).second;
00551                         }
00552                         else throw NLAIE::CExceptionIndexHandeledError();
00553                 }

NLAIAGENT::CLocWordNumRef::CLocWordNumRef NLMISC::IStream is  )  [inline]
 

Copy Constructor. Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 560 of file ident.h.

References _Stock, and load().

00560                                                   :_Stock(NULL)
00561                 {                                               
00562                         load(is);                       
00563                 }

NLAIAGENT::CLocWordNumRef::CLocWordNumRef  )  [inline]
 

Definition at line 565 of file ident.h.

References _Stock.

Referenced by clone(), and newInstance().

00565                                 :_Stock(NULL)
00566                 {
00567                 }

NLAIAGENT::CLocWordNumRef::~CLocWordNumRef  )  [virtual]
 

Definition at line 121 of file ident.cpp.

References _LocRefence.

00122         {
00123                 NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00124                 TMapRef::iterator Itr = a.value().find(_Id);
00125                 if(Itr != a.value().end())
00126                 {                               
00127                         a.value().erase(Itr);
00128                 }
00129                 else throw NLAIE::CExceptionIndexHandeledError();
00130         }


Member Function Documentation

void NLAIAGENT::CLocWordNumRef::clear  )  [static]
 

Clear the map.

Definition at line 158 of file ident.cpp.

00159         {                       
00160                 /*NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00161                 if(a.value() )
00162                 {
00163                         delete a.value();
00164                         a.value() = NULL;
00165                 }*/                     
00166         }

virtual const NLAIC::IBasicType* NLAIAGENT::CLocWordNumRef::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 579 of file ident.h.

References CLocWordNumRef().

00580                 {
00581                         NLAIC::IBasicInterface *m = new CLocWordNumRef(*this);
00582                         return m;
00583                 }               

sint32 NLAIC::IPointerGestion::decRef  )  [inline, inherited]
 

Decrement the reference of an object.

Definition at line 93 of file abstract_interface.h.

References NLAIC::IPointerGestion::_Ref, and sint32.

Referenced by NLAIC::IPointerGestion::release(), and NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle().

00094                 {
00095                         return --_Ref;
00096                 }

virtual std::string NLAIC::IPointerGestion::getClassName  )  [inline, virtual, inherited]
 

Implements NLMISC::IClassable.

Reimplemented in NLAIC::CIdentType.

Definition at line 116 of file abstract_interface.h.

Referenced by NLAISCRIPT::CAgentClass::isClassInheritedFrom().

00117                 {
00118                         return std::string("<unnamed>");
00119                 }

void NLAIAGENT::CLocWordNumRef::getDebugString std::string &  t  )  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 569 of file ident.h.

References NLAIAGENT::CNumericIndex::getDebugString(), NLAIC::stringGetBuild(), and t.

00570                 {                       
00571                         std::string i;
00572                         _Id.getDebugString(i);
00573                         t += NLAIC::stringGetBuild("CLocWordNumRef<%d>: _Id <%s>",this,i.c_str());
00574                 }

virtual const std::string NLAIC::IBasicType::getInfo  )  [inline, virtual, inherited]
 

Definition at line 292 of file abstract_interface.h.

References NLAIC::IBasicType::getDebugString(), and s.

00293                 {
00294                         std::string s;
00295                         getDebugString(s);
00296                         return s;
00297                 }

virtual const CNumericIndex& NLAIAGENT::CLocWordNumRef::getNumIdent  )  const [inline, virtual]
 

Implements NLAIAGENT::IWordNumRef.

Definition at line 612 of file ident.h.

00613                 {
00614                         return _Id;
00615                 }

const sint32& NLAIC::IPointerGestion::getRef  )  const [inline, inherited]
 

get the refence count.

Definition at line 99 of file abstract_interface.h.

References NLAIC::IPointerGestion::_Ref, and sint32.

Referenced by NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle().

00100                 {
00101                         return _Ref;
00102                 }

IRefrence * NLAIAGENT::CLocWordNumRef::getRef const CNumericIndex  )  [static]
 

Clear the map.

Definition at line 137 of file ident.cpp.

References _LocRefence.

00138         {
00139                 NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00140                 TMapRef::iterator Itr = a.value().find(id);
00141                 if(Itr != a.value().end())
00142                 {                               
00143                         return (*Itr).second;
00144                 }
00145                 /*else
00146                 {
00147                         throw NLAIE::CExceptionIndexHandeledError();
00148                 }*/             
00149                 return NULL;
00150         }

const NLAIC::CIdentType & NLAIAGENT::CLocWordNumRef::getType  )  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 132 of file ident.cpp.

References IdLocWordNumRef.

00133         {               
00134                 return *IdLocWordNumRef;
00135         }

void NLAIC::IPointerGestion::incRef  )  [inline, inherited]
 

Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list.

Definition at line 80 of file abstract_interface.h.

References NLAIC::IPointerGestion::_Ref.

Referenced by NLAIAGENT::CSeqFsmScript::activate(), NLAILOGIC::CFactBase::addAssert(), NLAIAGENT::IAgentComposite::addChild(), NLAILOGIC::IBaseAssert::addInput(), NLAILOGIC::CBoolOperator::addPostcondition(), NLAILOGIC::CBoolOperator::addPrecondition(), NLAILOGIC::CInternalGoal::addPredecessor(), NLAILOGIC::CGoal::addPredecessor(), NLAIFUZZY::CFuzzyVar::addSet(), NLAISCRIPT::CCompilateur::affectation(), NLAILOGIC::CFact::asValueSet(), NLAIAGENT::CAgentWatchTimer::attach(), NLAISCRIPT::CCompilateur::buildObject(), NLAISCRIPT::CAgentClass::buildVMethode(), NLAIAGENT::CAgentOperation::CAgentOperation(), NLAIAGENT::CAgentTimerHandle::CAgentTimerHandle(), NLAISCRIPT::CCompilateur::callFunction(), NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory(), NLAISCRIPT::CCodeBrancheRunDebug::CCodeBrancheRunDebug(), NLAISCRIPT::CCompilateur::CCompilateur(), NLAISCRIPT::CFactorType::CFactorType(), NLAISCRIPT::CFunctionTag::CFunctionTag(), NLAIAGENT::COperatorScript::checkTrigMsg(), NLAIC::CIdentType::CIdentType(), NLAIAGENT::CIdMethod::CIdMethod(), NLAIAGENT::CKeyObject::CKeyObject(), NLAISCRIPT::CFindRunMsg::clone(), NLAISCRIPT::CObjectUnknown::clone(), NLAISCRIPT::CConstraintStackComp::clone(), NLAISCRIPT::CConstraintFindRun::clone(), NLAISCRIPT::CConstraintMethode::clone(), NLAILINK::IOTrace::clone(), NLAISCRIPT::CMethodeName::CMethodeName(), NLAISCRIPT::CAgentClass::CMethodType::CMethodType(), NLAISCRIPT::CObjectUnknown::CObjectUnknown(), NLAIAGENT::CPairType::CPairType(), NLAISCRIPT::CAgentClass::createComponents(), NLAILOGIC::CValueSet::CValueSet(), NLAILOGIC::CVar::CVar(), NLAILOGIC::CValueSet::forward(), NLAIAGENT::IMessageBase::IMessageBase(), NLAIAGENT::CAgentScript::initAgentScript(), NLAISCRIPT::CCompilateur::initMessageManager(), NLAISCRIPT::COperatorClass::isValidFonc(), NLAILOGIC::CValueSet::load(), NLAILOGIC::IBaseOperator::load(), NLAISCRIPT::CAgentClass::load(), NLAISCRIPT::CComponent::load(), NLAISCRIPT::CMethodeName::load(), NLAIAGENT::CVectorGroupType::operator+(), NLAIAGENT::CGroupType::operator+(), NLAISCRIPT::CPramContainer::operator+=(), NLAIAGENT::IMessageBase::operator=(), NLAIAGENT::CKeyObject::operator=(), NLAISCRIPT::CAgentClass::CMethodType::operator=(), NLAISCRIPT::CFunctionTag::operator=(), NLAIAGENT::CIdMethod::operator=(), NLAISCRIPT::CCompilateur::processingVar(), NLAIAGENT::CAgentScript::processMessages(), NLAISCRIPT::CCompilateur::pushParamExpression(), NLAISCRIPT::CConstraintFindRun::run(), NLAIAGENT::IBasicAgent::run(), NLAIAGENT::CAgentScript::runAskGetValue(), NLAIAGENT::IAgent::runChildren(), NLAIAGENT::CMainAgentScript::runExec(), NLAIAGENT::CAgentScript::runInitComponent(), NLAIAGENT::CAgentOperation::runMethodBase(), NLAIAGENT::CAgentWatchTimer::runMethodBase(), NLAIAGENT::CAgentScript::runMethodBase(), NLAIAGENT::CActorScript::runMethodBase(), NLAIAGENT::IMessageBase::runMethodeMember(), NLAIAGENT::IBaseGroupType::runMethodeMember(), NLAIAGENT::IBasicAgent::runMethodeMember(), NLAISCRIPT::CLdbRefOpCode::runOpCode(), NLAISCRIPT::CLdbMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode(), NLAISCRIPT::CCallStackMethodi::runOpCode(), NLAISCRIPT::CCallStackNewMethodi::runOpCode(), NLAISCRIPT::CLibStackNewMemberMethod::runOpCode(), NLAISCRIPT::CLibStackMemberMethod::runOpCode(), NLAISCRIPT::CAffOpCode::runOpCode(), NLAISCRIPT::CAddParamNameDebug::runOpCode(), NLAISCRIPT::CAffOpCodeDebug::runOpCode(), NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode(), NLAISCRIPT::CAffMemberOpCode::runOpCode(), NLAISCRIPT::CAffMemberiOpCode::runOpCode(), NLAIAGENT::CAgentScript::runTellComponent(), NLAIAGENT::CAgentScript::runTellSetValue(), NLAISCRIPT::CMethodContextDebug::saveContext(), NLAISCRIPT::CMethodContext::saveContext(), NLAIAGENT::CAgentScript::sendBroadCast(), NLAIAGENT::IListManager::sendMessage(), NLAIAGENT::CAgentScript::sendMethodCompoment(), NLAIAGENT::CVolatilMemmory::sendUpdateMessage(), NLAISCRIPT::CFactorType::set(), NLAILOGIC::IBaseOperator::setGoal(), NLAISCRIPT::CCompilateur::setImediateVarNill(), NLAISCRIPT::CCompilateur::setMethodVar(), NLAISCRIPT::CCompilateur::setParamVarName(), NLAISCRIPT::CFunctionTag::setTypeObject(), NLAILOGIC::CVar::setValue(), NLAILOGIC::CValueSet::setValue(), NLAIAGENT::CAgentWatchTimer::tellBroker(), NLAISCRIPT::CCompilateur::typeOfMethod(), NLAILOGIC::CVar::unify(), NLAILOGIC::CValueSet::unify(), and NLAIAGENT::CAgentOperation::update().

00081                 {
00082                         _Ref ++;
00083                 }

void NLAIAGENT::CLocWordNumRef::Init  )  [static]
 

Init the map.

Definition at line 152 of file ident.cpp.

00153         {
00154                 /*NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00155                 a.value() = new CLocWordNumRef::TMapRef;*/
00156         }

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

Exception: throw (NLAIE::CExceptionIndexHandeledError).

Implements NLAIC::IBasicInterface.

Definition at line 594 of file ident.h.

References _LocRefence, _Stock, and NLAIAGENT::CNumericIndex::load().

Referenced by CLocWordNumRef().

00595                 {                       
00596                         NLMISC::CSynchronized<TMapRef >::CAccessor a(&_LocRefence);
00597                         _Id.load(is);
00598                         TMapRef::iterator Itr = a.value().find(_Id);
00599                         if(Itr != a.value().end())
00600                         {
00601                                 _Stock = (*Itr).second;
00602                         }
00603                         else throw NLAIE::CExceptionIndexHandeledError();
00604                 }

bool NLAIAGENT::CLocWordNumRef::loadMapping NLMISC::IStream  )  [static]
 

Load the mapping objects in the word

virtual const NLAIC::IBasicType* NLAIAGENT::CLocWordNumRef::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 584 of file ident.h.

References CLocWordNumRef().

00585                 {
00586                         NLAIC::IBasicInterface *m = new CLocWordNumRef();
00587                         return m;
00588                 }

virtual NLAIAGENT::CLocWordNumRef::operator const IRefrence *  )  const [inline, virtual]
 

Implements NLAIAGENT::IWordNumRef.

Definition at line 607 of file ident.h.

References _Stock.

00608                 {
00609                         return (const IRefrence *)_Stock;
00610                 }

virtual void NLAIC::IPointerGestion::release void   )  [inline, virtual, inherited]
 

Release allow to release the pointer. The last release when the _Ref is nul delete the object.

Definition at line 86 of file abstract_interface.h.

References NLAIC::IPointerGestion::decRef().

Referenced by NLAIAGENT::CSeqFsmScript::activate(), NLAISCRIPT::CAgentClass::addBrancheCode(), NLAISCRIPT::CConstraintDebug::addIndex(), NLAISCRIPT::CCompilateur::affectation(), NLAISCRIPT::CCompilateur::affectationMember(), NLAISCRIPT::COperatorClass::backward(), NLAILOGIC::CFirstOrderOperator::backward(), NLAILOGIC::CFirstOrderAssert::backward(), NLAISCRIPT::CCompilateur::buildObject(), NLAILINK::buildScript(), NLAISCRIPT::CCompilateur::callFunction(), NLAIC::CIdentType::CIdentType(), NLAISCRIPT::CCompilateur::clean(), NLAISCRIPT::CParam::clear(), NLAIAGENT::CVectorGroupType::clear(), NLAIAGENT::CGroupType::clear(), NLAIAGENT::CVolatilMemmory::CVolatilMemmory(), NLAISCRIPT::CFactorType::del(), NLAIAGENT::IAgentComposite::deleteListe(), NLAIPYSERVER::endPythonInterface(), NLAIAGENT::CVectorGroupType::erase(), NLAIAGENT::CGroupType::erase(), NLAIAGENT::CVectorGroupType::eraseAll(), NLAIAGENT::CGroupType::eraseAll(), NLAISCRIPT::CCompilateur::errorMethodConstraint(), NLAISCRIPT::CCompilateur::errorTypeConstraint(), NLAISCRIPT::CCompilateur::findMethode(), NLAISCRIPT::COperatorClass::forward(), NLAILOGIC::CFirstOrderOperator::forward(), NLAIAGENT::CComponentHandle::getComponent(), NLAIAGENT::COperatorScript::getDebugString(), NLAIAGENT::CAgentScript::getDebugString(), NLAILOGIC::IBaseOperator::IBaseOperator(), NLAISCRIPT::CCompilateur::ifInterrogation(), NLAISCRIPT::CCompilateur::ifInterrogationEnd(), NLAILOGIC::CFactPattern::init(), NLAILOGIC::CRule::init(), NLAIFUZZY::CTrapezeFuzzySet::init(), NLAIFUZZY::CLeftFuzzySet::init(), NLAIFUZZY::CTriangleFuzzySet::init(), NLAIFUZZY::CRightFuzzySet::init(), NLAIFUZZY::CFuzzyInterval::init(), NLAIFUZZY::CFuzzyRule::init(), NLAIFUZZY::CSimpleFuzzyCond::init(), NLAISCRIPT::CCompilateur::interrogationEnd(), NLAISCRIPT::COperatorClass::isValidFonc(), NLAIAGENT::IAgent::Kill(), NLAILOGIC::CVar::load(), NLAILOGIC::CValueSet::load(), NLAISCRIPT::CLdbOpCode::load(), NLAISCRIPT::CLibCallMethodi::load(), NLAISCRIPT::CLibCallInheritedMethod::load(), NLAISCRIPT::CLibCallMethod::load(), NLAISCRIPT::CLdbNewOpCode::load(), NLAISCRIPT::CAddParamNameDebug::load(), NLAISCRIPT::CFindRunMsg::load(), NLAIAGENT::IListBasicManager::load(), NLAIAGENT::CVectorGroupType::load(), NLAIAGENT::CGroupType::load(), NLAIAGENT::CAgentScript::load(), NLAIAGENT::CStringType::load(), NLAIAGENT::CLocalAgentMail::load(), NLAISCRIPT::CMethodContextDebug::loadContext(), NLAISCRIPT::CCompilateur::onEndClass(), NLAIAGENT::CLocalMailBox::onKill(), NLAIAGENT::IAgent::onKill(), NLAIAGENT::CLocalAgentMail::onKill(), NLAIAGENT::CVectorGroupType::operator-(), NLAIAGENT::CGroupType::operator-(), NLAIAGENT::CKeyObject::operator=(), NLAISCRIPT::CFunctionTag::operator=(), NLAIAGENT::CIdMethod::operator=(), NLAISCRIPT::CCompilateur::PrivateError(), NLAISCRIPT::CCompilateur::processingVar(), NLAIAGENT::CAgentScript::processMessages(), NLAIAGENT::IRefrence::refLoadStream(), NLAISCRIPT::CCompilateur::registerMethod(), NLAIAGENT::IAgentComposite::removeChild(), NLAILOGIC::CFirstOrderAssert::removeFact(), NLAISCRIPT::CConstraintStackComp::run(), NLAISCRIPT::CConstraintFindRun::run(), NLAISCRIPT::CConstraintMethode::run(), NLAIAGENT::IBasicAgent::run(), NLAIAGENT::CAgentScript::runInitComponent(), NLAIAGENT::CVolatilMemmory::runMessage(), NLAIAGENT::CAgentOperation::runMethodBase(), NLAISCRIPT::CCompilateur::runMethodConstraint(), NLAILOGIC::CInternalGoal::runMethodeMember(), NLAILOGIC::CGoal::runMethodeMember(), NLAILOGIC::CFact::runMethodeMember(), NLAIAGENT::IObjectIA::runMethodeMember(), NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode(), NLAISCRIPT::CCallStackMethodi::runOpCode(), NLAISCRIPT::CLibHeapMemberMethod::runOpCode(), NLAISCRIPT::CAffOpCode::runOpCode(), NLAISCRIPT::CJFalseOpCode::runOpCode(), NLAISCRIPT::CAffOpCodeDebug::runOpCode(), NLAISCRIPT::CDiffOpCode::runOpCode(), NLAISCRIPT::CInfEqOpCode::runOpCode(), NLAISCRIPT::CSupEqOpCode::runOpCode(), NLAISCRIPT::CEqOpCode::runOpCode(), NLAISCRIPT::CInfOpCode::runOpCode(), NLAISCRIPT::CSupOpCode::runOpCode(), NLAISCRIPT::CMulOpCode::runOpCode(), NLAISCRIPT::CDivOpCode::runOpCode(), NLAISCRIPT::CSubOpCode::runOpCode(), NLAISCRIPT::CAddOpCode::runOpCode(), NLAISCRIPT::CNegOpCode::runOpCode(), NLAIAGENT::CAgentScript::runTellParentNotify(), NLAISCRIPT::CCompilateur::runTypeConstraint(), NLAIAGENT::CHashTimerManager::sendMessage(), NLAIAGENT::CVolatilMemmory::sendMessage(), NLAIAGENT::CLocalMailBox::sendMessage(), NLAIAGENT::IListManager::sendMessage(), NLAIAGENT::CAgentTimerHandle::sendMessage(), NLAIAGENT::CAgentScript::sendMessage(), NLAIAGENT::CAgentScript::sendMethod(), NLAISCRIPT::COperandSimple::serial(), NLAISCRIPT::CObjectUnknown::setBaseType(), NLAISCRIPT::CCompilateur::setChaineVar(), NLAISCRIPT::CClassInterpretFactory::setClass(), NLAIC::CSelfClassFactory::setClass(), NLAISCRIPT::IClassInterpret::setClassName(), NLAISCRIPT::CObjectUnknown::setClassType(), NLAIAGENT::IMessageBase::setContinuation(), NLAILOGIC::IBaseOperator::setGoal(), NLAISCRIPT::COperatorClass::setGoal(), NLAISCRIPT::CCompilateur::setImediateVar(), NLAISCRIPT::CCompilateur::setImediateVarNill(), NLAISCRIPT::CParam::setInfo(), NLAISCRIPT::CAgentClass::setInheritanceName(), NLAISCRIPT::CCompilateur::setListVar(), NLAIAGENT::IMessageBase::setMessageGroup(), NLAISCRIPT::CCompilateur::setMethodVar(), NLAILOGIC::IBaseVar::setName(), NLAIAGENT::CAgentOperation::setName(), NLAISCRIPT::CMethodeName::setName(), NLAIAGENT::IRefrence::setNumRef(), NLAISCRIPT::CConstraintFindRun::setOpCode(), NLAISCRIPT::CConstraintMethode::setOpCode(), NLAISCRIPT::CCompilateur::setPerformative(), NLAILOGIC::CInternalGoal::setProperty(), NLAIAGENT::IMessageBase::setReceiver(), NLAIAGENT::IMessageBase::setSender(), NLAILOGIC::CValueSet::setSize(), NLAISCRIPT::CCompilateur::setStackVar(), NLAIAGENT::CMessageScript::setStaticMember(), NLAIAGENT::CAgentScript::setStaticMember(), NLAISCRIPT::IClassInterpret::setType(), NLAISCRIPT::CFunctionTag::setTypeObject(), NLAISCRIPT::CMethodeName::setTypeOfMethode(), NLAILOGIC::CVar::setValue(), NLAIAGENT::CAgentOperation::setValue(), NLAIAGENT::IAgentInput::setValue(), NLAILOGIC::CValueSet::unify(), NLAISCRIPT::COperatorClass::unifyBackward(), NLAILOGIC::CFirstOrderOperator::unifyBackward(), NLAISCRIPT::COperatorClass::unifyForward(), NLAILOGIC::CFirstOrderOperator::unifyForward(), NLAILOGIC::CRule::unifyLiaisonBack(), NLAISCRIPT::CAddParamNameDebug::~CAddParamNameDebug(), NLAISCRIPT::CAgentClass::~CAgentClass(), NLAIAGENT::CAgentOperation::~CAgentOperation(), NLAIAGENT::CAgentScript::~CAgentScript(), NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle(), NLAIAGENT::CAgentWatchTimer::~CAgentWatchTimer(), NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory(), NLAISCRIPT::CCodeBrancheRunDebug::~CCodeBrancheRunDebug(), NLAISCRIPT::CCompilateur::~CCompilateur(), NLAIAGENT::CComponentHandle::~CComponentHandle(), NLAISCRIPT::CConstraintChkMethodeType::~CConstraintChkMethodeType(), NLAISCRIPT::CConstraintMethode::~CConstraintMethode(), NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp(), NLAILOGIC::CFact::~CFact(), NLAISCRIPT::CFindRunMsg::~CFindRunMsg(), NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert(), NLAISCRIPT::CFunctionTag::~CFunctionTag(), NLAIC::CIdentType::~CIdentType(), NLAIAGENT::CIdMethod::~CIdMethod(), NLAILOGIC::CInternalGoal::~CInternalGoal(), NLAIAGENT::CKeyObject::~CKeyObject(), NLAISCRIPT::CLdbNewOpCode::~CLdbNewOpCode(), NLAISCRIPT::CLdbOpCode::~CLdbOpCode(), NLAISCRIPT::CLibCallInheritedMethod::~CLibCallInheritedMethod(), NLAISCRIPT::CLibCallMethod::~CLibCallMethod(), NLAISCRIPT::CLibCallMethodi::~CLibCallMethodi(), NLAIAGENT::CLocalMailBox::~CLocalMailBox(), NLAIAGENT::CMainAgentScript::~CMainAgentScript(), NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall(), NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall(), NLAISCRIPT::CMethodeName::~CMethodeName(), NLAISCRIPT::CAgentClass::CMethodType::~CMethodType(), NLAISCRIPT::CObjectUnknown::~CObjectUnknown(), NLAISCRIPT::COperandSimple::~COperandSimple(), NLAISCRIPT::COperandUnknown::~COperandUnknown(), NLAISCRIPT::COperationType::~COperationType(), NLAISCRIPT::COperationTypeGD::~COperationTypeGD(), NLAISCRIPT::COperatorClass::~COperatorClass(), NLAIAGENT::CPairType::~CPairType(), NLAIC::CSelfClassFactory::~CSelfClassFactory(), NLAIAGENT::CStringType::~CStringType(), NLAILOGIC::CValueSet::~CValueSet(), NLAILOGIC::CVar::~CVar(), NLAIAGENT::CVolatilMemmory::~CVolatilMemmory(), NLAIAGENT::IAgentInput::~IAgentInput(), NLAILOGIC::IBaseAssert::~IBaseAssert(), NLAILOGIC::IBaseOperator::~IBaseOperator(), NLAILOGIC::IBaseVar::~IBaseVar(), NLAIAGENT::IBasicAgent::~IBasicAgent(), NLAISCRIPT::IBlock::~IBlock(), NLAISCRIPT::IClassInterpret::~IClassInterpret(), NLAILOGIC::IGoal::~IGoal(), NLAIAGENT::IListBasicManager::~IListBasicManager(), NLAIAGENT::IMessageBase::~IMessageBase(), NLAIAGENT::IRefrence::~IRefrence(), and NLAICHARACTER::IZone::~IZone().

00087                 {
00088                         if(decRef() == 0) 
00089                                         delete this;
00090                 }

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 589 of file ident.h.

References NLAIAGENT::CNumericIndex::save().

00590                 {
00591                         _Id.save(os);
00592                 }

void NLAIAGENT::CLocWordNumRef::saveMapping ostream &   )  [static]
 

Saving the mapping objects in the word.

Saving mapping is to save all CNumericIndex shared in the map and its IRefrence class factory ident type.

virtual void NLAIC::IBasicInterface::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline, virtual, inherited]
 

Reimplemented from NLAIC::IPointerGestion.

Definition at line 328 of file abstract_interface.h.

References NLAIC::IBasicInterface::load(), and NLAIC::IBasicInterface::save().

00329                 {
00330                         if ( f.isReading() )
00331                                 load( f );
00332                         else
00333                                 save( f );
00334                 }

void NLAIAGENT::CLocWordNumRef::setTypeAt uint64  t  )  [inline]
 

Definition at line 617 of file ident.h.

References NLAIAGENT::CNumericIndex::setTypeAt(), t, and uint64.

00618                 {
00619                         _Id.setTypeAt(t);
00620                 }


Field Documentation

CNumericIndex NLAIAGENT::CLocWordNumRef::_Id [private]
 

The iden of the class.

Definition at line 486 of file ident.h.

NLMISC::CSynchronized< CLocWordNumRef::TMapRef > CLocWordNumRef::_LocRefence [static, private]
 

Referenced by CLocWordNumRef(), getRef(), load(), and ~CLocWordNumRef().

IRefrence* NLAIAGENT::CLocWordNumRef::_Stock [private]
 

_Stock define the cross reference between agent and this class.

Definition at line 489 of file ident.h.

Referenced by CLocWordNumRef(), load(), and operator const IRefrence *().

const NLAIC::CIdentType * CLocWordNumRef::IdLocWordNumRef = NULL [static]
 

The class factory ident of the class.

Definition at line 73 of file static_def_init.cpp.

Referenced by getType().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 09:18:55 2004 for NeL by doxygen 1.3.6