# 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

Inheritance graph
[legend]
Collaboration diagram for NLAILOGIC::CVar:

Collaboration graph
[legend]
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 (char *text) 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 )
 

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

Definition at line 123 of file var.cpp.

NLAILOGIC::CVar::CVar ( const CVar & cp )
 

Definition at line 132 of file var.cpp.

NLAILOGIC::CVar::~CVar ( ) [virtual]
 

Definition at line 139 of file var.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAILOGIC::CVar::clone ( void ) const [virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAIC::IBasicType.

Definition at line 159 of file var.cpp.

void NLAILOGIC::CVar::getDebugString ( char * t ) 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.

Reimplemented from NLAIC::IBasicType.

Definition at line 200 of file var.cpp.

const NLAIC::CIdentType & NLAILOGIC::CVar::getType ( void ) 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).

Reimplemented from NLAIC::IBasicType.

Definition at line 230 of file var.cpp.

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

Reimplemented from NLAILOGIC::IBaseVar.

Definition at line 154 of file var.cpp.

bool NLAILOGIC::CVar::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const
 

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

Definition at line 210 of file var.cpp.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 286 of file var.cpp.

void NLAILOGIC::CVar::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 188 of file var.cpp.

const NLAIC::IBasicType * NLAILOGIC::CVar::newInstance ( void ) const [virtual]
 

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

Reimplemented from NLAIC::IBasicType.

Definition at line 165 of file var.cpp.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 291 of file var.cpp.

bool NLAILOGIC::CVar::operator== ( IBaseVar * var ) [virtual]
 

Definition at line 235 of file var.cpp.

const IObjectIA::CProcessResult & NLAILOGIC::CVar::run ( void ) [virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 215 of file var.cpp.

void NLAILOGIC::CVar::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 170 of file var.cpp.

void NLAILOGIC::CVar::setValue ( NLAIAGENT::IObjetOp * obj ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseVar.

Definition at line 145 of file var.cpp.

bool NLAILOGIC::CVar::unify ( IObjetOp * y_val,
bool assign = false ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseVar.

Definition at line 264 of file var.cpp.

bool NLAILOGIC::CVar::unify ( IBaseVar * y,
bool assign = false ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseVar.

Definition at line 240 of file var.cpp.


Member Data Documentation

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

Definition at line 64 of file var.h.

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

Definition at line 61 of file var.h.


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