NLAIC::CBinaryType Class Reference

#include <registry_type.h>

Inheritance diagram for NLAIC::CBinaryType:

NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIC::CTypeOfObject NLAIC::CTypeOfOperator

Detailed Description

CBinaryType is a basic binnary nomber manipulation.

Author:
Chafik sameh

Nevrax France

Date:
2000

Definition at line 41 of file registry_type.h.

IBasicInterface method.

virtual const NLAIC::IBasicTypeclone () const
virtual void getDebugString (std::string &t) const
virtual const NLAIC::CIdentTypegetType () const
virtual void load (NLMISC::IStream &is)
virtual const NLAIC::IBasicTypenewInstance () const
virtual void save (NLMISC::IStream &os)

Public Member Functions

void addType (sint32 b)
 CBinaryType ()
 defult constructor.

 CBinaryType (NLMISC::IStream &is)
 Construct from stream.

 CBinaryType (const CBinaryType &bites)
 Copy constroctor.

 CBinaryType (uint32 bites)
 Construct with an initial nomber.

sint32 decRef ()
 Decrement the reference of an object.

virtual const std::string getInfo ()
const sint32getRef () const
 get the refence count.

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

 operator uint () const
 Get value of class.

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)
binary method.
CBinaryTypeoperator= (sint32 bites)

Private Attributes

uint32 _Bites
 Binary nomber.


Constructor & Destructor Documentation

NLAIC::CBinaryType::CBinaryType uint32  bites  )  [inline]
 

Construct with an initial nomber.

Definition at line 49 of file registry_type.h.

References _Bites, and uint32.

00049                                          :_Bites(bites)
00050                 {                       
00051                 }

NLAIC::CBinaryType::CBinaryType const CBinaryType bites  )  [inline]
 

Copy constroctor.

Definition at line 54 of file registry_type.h.

References _Bites.

00054                                                      :_Bites(bites._Bites)
00055                 {                       
00056                 }

NLAIC::CBinaryType::CBinaryType NLMISC::IStream is  )  [inline]
 

Construct from stream.

Definition at line 59 of file registry_type.h.

References load().

00060                 {                       
00061                         load(is);
00062                 }

NLAIC::CBinaryType::CBinaryType  )  [inline]
 

defult constructor.

Definition at line 65 of file registry_type.h.

References _Bites.

Referenced by clone(), newInstance(), operator &(), operator<<(), operator>>(), operator^(), and operator|().

00065                              :_Bites(0)
00066                 {                                               
00067                 }


Member Function Documentation

void NLAIC::CBinaryType::addType sint32  b  )  [inline]
 

Definition at line 229 of file registry_type.h.

References _Bites, and sint32.

Referenced by NLAIC::CIdentType::addObjectType().

00230                 {
00231                         _Bites = _Bites | b;
00232                 }

virtual const NLAIC::IBasicType* NLAIC::CBinaryType::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.

Reimplemented in NLAIC::CTypeOfObject, and NLAIC::CTypeOfOperator.

Definition at line 202 of file registry_type.h.

References CBinaryType().

00203                 {
00204                         return new CBinaryType(*this);
00205                 }

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                 }

virtual void NLAIC::CBinaryType::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 216 of file registry_type.h.

References _Bites, NLAIC::stringGetBuild(), and t.

00217                 {
00218                         t = stringGetBuild("CBinaryType <%d>",_Bites);
00219                 }

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                 }

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                 }

virtual const NLAIC::CIdentType& NLAIC::CBinaryType::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.

Reimplemented in NLAIC::CTypeOfObject, and NLAIC::CTypeOfOperator.

Definition at line 195 of file registry_type.h.

00196                 {
00197 
00198                         throw NLAIE::CExceptionUnReference(std::string("const CIdentType & CBinaryType::getType()"));
00199                         return NLAIC::CIdentType::VoidType;
00200                 }

uint NLAIC::CBinaryType::getValue  )  const [inline]
 

Definition at line 187 of file registry_type.h.

References _Bites, and uint.

00188                 {
00189                         return _Bites;
00190                 }

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                 }

virtual void NLAIC::CBinaryType::load NLMISC::IStream is  )  [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 221 of file registry_type.h.

References _Bites, NLMISC::IStream::serial(), and uint32.

Referenced by CBinaryType().

00222                 {
00223                         uint32 bytes;
00224                         is.serial( bytes );
00225                         _Bites = (uint32) bytes;
00226                 }

virtual const NLAIC::IBasicType* NLAIC::CBinaryType::newInstance  )  const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Reimplemented in NLAIC::CTypeOfObject, and NLAIC::CTypeOfOperator.

Definition at line 206 of file registry_type.h.

References CBinaryType().

00207                 {
00208                         return new CBinaryType();
00209                 }

CBinaryType NLAIC::CBinaryType::operator & const CBinaryType bites  )  [inline]
 

Definition at line 120 of file registry_type.h.

References _Bites, and CBinaryType().

00121                 {                       
00122                         return CBinaryType(_Bites & bites._Bites);
00123                 }

CBinaryType NLAIC::CBinaryType::operator & sint32  bites  )  [inline]
 

Definition at line 116 of file registry_type.h.

References _Bites, CBinaryType(), and sint32.

00117                 {                       
00118                         return CBinaryType(_Bites & bites);
00119                 }

CBinaryType& NLAIC::CBinaryType::operator &= const CBinaryType bites  )  [inline]
 

Definition at line 111 of file registry_type.h.

References _Bites.

00112                 {
00113                         _Bites &= bites._Bites;
00114                         return *this;
00115                 }

CBinaryType& NLAIC::CBinaryType::operator &= sint32  bites  )  [inline]
 

Definition at line 106 of file registry_type.h.

References _Bites, and sint32.

00107                 {
00108                         _Bites &= bites;
00109                         return *this;
00110                 }

NLAIC::CBinaryType::operator uint  )  const [inline]
 

Get value of class.

Definition at line 182 of file registry_type.h.

References _Bites.

00183                 {
00184                         return _Bites;
00185                 }

bool NLAIC::CBinaryType::operator!  )  [inline]
 

Not operator.

Definition at line 175 of file registry_type.h.

References _Bites.

00176                 {
00177                         return !_Bites;
00178                 }

CBinaryType NLAIC::CBinaryType::operator<< sint32  bites  )  [inline]
 

Definition at line 156 of file registry_type.h.

References _Bites, CBinaryType(), and sint32.

00157                 {
00158                         return CBinaryType(_Bites << bites);
00159                 }

CBinaryType& NLAIC::CBinaryType::operator<<= sint32  bites  )  [inline]
 

Definition at line 151 of file registry_type.h.

References _Bites, and sint32.

00152                 {
00153                         _Bites <<= bites;
00154                         return *this;
00155                 }               

CBinaryType& NLAIC::CBinaryType::operator= sint32  bites  )  [inline]
 

Definition at line 72 of file registry_type.h.

References _Bites, and sint32.

00073                 {
00074                         _Bites = bites;
00075                         return *this;
00076                 }

CBinaryType NLAIC::CBinaryType::operator>> sint32  bites  )  [inline]
 

Not operator.

Definition at line 169 of file registry_type.h.

References _Bites, CBinaryType(), and sint32.

00170                 {                       
00171                         return CBinaryType(_Bites >> bites);
00172                 }

CBinaryType& NLAIC::CBinaryType::operator>>= sint32  bites  )  [inline]
 

Not operator.

Definition at line 164 of file registry_type.h.

References _Bites, and sint32.

00165                 {
00166                         _Bites >>= bites;
00167                         return *this;
00168                 }

CBinaryType NLAIC::CBinaryType::operator^ const CBinaryType bites  )  [inline]
 

Definition at line 143 of file registry_type.h.

References _Bites, and CBinaryType().

00144                 {
00145                         return CBinaryType(_Bites ^ bites._Bites);
00146                 }

CBinaryType NLAIC::CBinaryType::operator^ sint32  bites  )  [inline]
 

Definition at line 139 of file registry_type.h.

References _Bites, CBinaryType(), and sint32.

00140                 {                       
00141                         return CBinaryType(_Bites ^ bites);
00142                 }

CBinaryType& NLAIC::CBinaryType::operator^= const CBinaryType bites  )  [inline]
 

Definition at line 134 of file registry_type.h.

References _Bites.

00135                 {
00136                         _Bites ^= bites._Bites;
00137                         return *this;
00138                 }

CBinaryType& NLAIC::CBinaryType::operator^= sint32  bites  )  [inline]
 

Definition at line 128 of file registry_type.h.

References _Bites, and sint32.

00129                 {
00130                         _Bites ^= bites;
00131                         return *this;
00132                 }

CBinaryType NLAIC::CBinaryType::operator| const CBinaryType bites  )  [inline]
 

Definition at line 97 of file registry_type.h.

References _Bites, and CBinaryType().

00098                 {
00099                         
00100                         return CBinaryType(_Bites | bites._Bites);
00101                 }

CBinaryType NLAIC::CBinaryType::operator| sint32  bites  )  [inline]
 

Definition at line 91 of file registry_type.h.

References _Bites, CBinaryType(), and sint32.

00092                 {                       
00093                         return CBinaryType(_Bites | bites);
00094                 }               

CBinaryType& NLAIC::CBinaryType::operator|= const CBinaryType bites  )  [inline]
 

Definition at line 86 of file registry_type.h.

References _Bites.

00087                 {
00088                         _Bites |= bites._Bites;
00089                         return *this;
00090                 }

CBinaryType& NLAIC::CBinaryType::operator|= sint32  bites  )  [inline]
 

Definition at line 81 of file registry_type.h.

References _Bites, and sint32.

00082                 {
00083                         _Bites |= bites;
00084                         return *this;   
00085                 }

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 NLAIC::CBinaryType::save NLMISC::IStream os  )  [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 210 of file registry_type.h.

References _Bites, NLMISC::IStream::serial(), and uint32.

00211                 {
00212                         uint32 bytes = (uint32) _Bites;
00213                         os.serial( bytes );
00214                 }

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                 }


Field Documentation

uint32 NLAIC::CBinaryType::_Bites [private]
 

Binary nomber.

Definition at line 45 of file registry_type.h.

Referenced by addType(), CBinaryType(), getDebugString(), getValue(), load(), operator &(), operator &=(), operator uint(), operator!(), operator<<(), operator<<=(), operator=(), operator>>(), operator>>=(), operator^(), operator^=(), operator|(), operator|=(), and save().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 10:21:41 2004 for NeL by doxygen 1.3.6