# 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  

NLAILOGIC::CVar Class Reference

#include <var.h>

Inheritance diagram for NLAILOGIC::CVar:

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

Public Methods

 CVar (const NLAIAGENT::IVarName &, NLAIAGENT::IObjetOp *value=NULL)
 CVar (const char *, NLAIAGENT::IObjetOp *value=NULL)
 CVar (const CVar &cp)
virtual ~CVar ()
virtual void setValue (NLAIAGENT::IObjetOp *obj)
virtual NLAIAGENT::IObjetOpgetValue () const
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 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 void getDebugString (std::string &) 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 isEqual (const CVar &a) const
virtual const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual bool operator== (IBaseVar *CVar)
bool unify (IBaseVar *, bool assign=false)
bool unify (NLAIAGENT::IObjetOp *, bool assign=false)
virtual NLAIAGENT::IObjetOpoperator== (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...


Static Public Attributes

const NLAIC::CIdentType IdVar

Private Attributes

NLAIAGENT::IObjetOp_Value

Constructor & Destructor Documentation

NLAILOGIC::CVar::CVar const NLAIAGENT::IVarName  ,
NLAIAGENT::IObjetOp   value = NULL
 

Definition at line 117 of file var.cpp.

References _Value, NLAIC::IPointerGestion::incRef, and value.

Referenced by clone, isEqual, load, and operator==.

NLAILOGIC::CVar::CVar const char *   ,
NLAIAGENT::IObjetOp   value = NULL
 

Definition at line 125 of file var.cpp.

References _Value, NLAIC::IPointerGestion::incRef, and value.

NLAILOGIC::CVar::CVar const CVar &    cp
 

Definition at line 134 of file var.cpp.

References _Value, and NLAIC::IPointerGestion::incRef.

NLAILOGIC::CVar::~CVar   [virtual]
 

Definition at line 141 of file var.cpp.

References _Value, and NLAIC::IPointerGestion::release.


Member Function Documentation

const NLAIC::IBasicType * NLAILOGIC::CVar::clone   const [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 161 of file var.cpp.

References CVar.

Referenced by newInstance.

void NLAILOGIC::CVar::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 202 of file var.cpp.

References NLAILOGIC::IBaseVar::_Name, _Value, NLAIC::IBasicType::getDebugString, NLAIAGENT::IVarName::getString, and NLAIC::stringGetBuild.

const NLAIC::CIdentType & NLAILOGIC::CVar::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 232 of file var.cpp.

References IdVar.

IObjetOp * NLAILOGIC::CVar::getValue   const [virtual]
 

Implements NLAILOGIC::IBaseVar.

Definition at line 156 of file var.cpp.

References _Value.

bool NLAILOGIC::CVar::isEqual const NLAIAGENT::IBasicObjectIA   a const
 

Definition at line 222 of file var.cpp.

References _Value, CVar, and NLAIAGENT::IObjectIA::IObjectIA.

bool NLAILOGIC::CVar::isEqual const CVar &    a const [virtual]
 

Definition at line 212 of file var.cpp.

References NLAIAGENT::IObjectIA::IObjectIA.

bool NLAILOGIC::CVar::isTrue   const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 288 of file var.cpp.

void NLAILOGIC::CVar::load NLMISC::IStream   is [virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 190 of file var.cpp.

References NLAILOGIC::IBaseVar::_Name, _Value, NLAIC::CIdentTypeAlloc::allocClass, CVar, id, NLAIC::IBasicInterface::load, NLAIC::IPointerGestion::release, and NLMISC::IStream::serial.

const NLAIC::IBasicType * NLAILOGIC::CVar::newInstance   const [virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 167 of file var.cpp.

References clone.

IObjetOp * NLAILOGIC::CVar::operator== NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 293 of file var.cpp.

References _Value, and CVar.

bool NLAILOGIC::CVar::operator== IBaseVar   CVar [virtual]
 

Definition at line 237 of file var.cpp.

References _Value, and CVar.

const IObjectIA::CProcessResult & NLAILOGIC::CVar::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 217 of file var.cpp.

void NLAILOGIC::CVar::save NLMISC::IStream   os [virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 172 of file var.cpp.

References NLAILOGIC::IBaseVar::_Name, _Value, NLAIC::IBasicType::getType, NLAIC::IBasicInterface::save, and NLMISC::IStream::serial.

void NLAILOGIC::CVar::setValue NLAIAGENT::IObjetOp   obj [virtual]
 

Implements NLAILOGIC::IBaseVar.

Definition at line 147 of file var.cpp.

References _Value, NLAIC::IPointerGestion::incRef, and NLAIC::IPointerGestion::release.

bool NLAILOGIC::CVar::unify NLAIAGENT::IObjetOp  ,
bool    assign = false
[virtual]
 

Implements NLAILOGIC::IBaseVar.

Definition at line 266 of file var.cpp.

References _Value, NLAIC::IPointerGestion::incRef, and NLAIAGENT::IObjetOp::IObjetOp.

bool NLAILOGIC::CVar::unify IBaseVar  ,
bool    assign = false
[virtual]
 

Implements NLAILOGIC::IBaseVar.

Definition at line 242 of file var.cpp.

References _Value, NLAIC::IPointerGestion::incRef, NLAIAGENT::IObjetOp::IObjetOp, and y.


Member Data Documentation

NLAIAGENT::IObjetOp* NLAILOGIC::CVar::_Value [private]
 

Definition at line 61 of file var.h.

Referenced by CVar, getDebugString, getValue, isEqual, load, operator==, save, setValue, unify, and ~CVar.

const NLAIC::CIdentType CVar::IdVar [static]
 

Referenced by getType.


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