# 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  

NLAIAGENT::CStringType Class Reference

This class is an IObjetOp string type . More...

#include <agent_object.h>

Inheritance diagram for NLAIAGENT::CStringType

Inheritance graph
[legend]
Collaboration diagram for NLAIAGENT::CStringType:

Collaboration graph
[legend]
List of all members.

Public Methods

 CStringType (const IVarName &str)
 CStringType (const CStringType &a)
 CStringType (NLMISC::IStream &is)
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 const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. 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...

const IVarNamegetStr () const
virtual bool operator< (const CStringType &a) const
virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual ~CStringType ()
virtual bool isEqual (const IBasicObjectIA &a) const
 The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. More...

virtual const CProcessResult& run ()
 Some where Run method define the process of the agen. More...

IObjetOp method definition.
virtual IObjetOpoperator+= (const IObjetOp &a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator-= (const IObjetOp &a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator< (IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator> (IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator<= (IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator>= (IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOpoperator!= (IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...


Static Public Attributes

const NLAIC::CIdentType IdStringType

Private Attributes

IVarName_Str

Detailed Description

This class is an IObjetOp string type .

Author(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 43 of file agent_object.h.


Constructor & Destructor Documentation

NLAIAGENT::CStringType::CStringType ( const IVarName & str ) [inline]
 

Definition at line 51 of file agent_object.h.

NLAIAGENT::CStringType::CStringType ( const CStringType & a ) [inline]
 

Definition at line 55 of file agent_object.h.

NLAIAGENT::CStringType::CStringType ( NLMISC::IStream & is ) [inline]
 

Definition at line 59 of file agent_object.h.

NLAIAGENT::CStringType::~CStringType ( ) [inline, virtual]
 

Definition at line 122 of file agent_object.h.


Member Function Documentation

const NLAIC::IBasicType * NLAIAGENT::CStringType::clone ( void ) const [inline, 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 64 of file agent_object.h.

Referenced by NLAISCRIPT::CCallPrint::format().

void NLAIAGENT::CStringType::getDebugString ( char * 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.

Reimplemented from NLAIC::IBasicType.

Definition at line 92 of file agent_object.h.

Referenced by NLAISCRIPT::CCodeBrancheRunDebug::printArgs().

const IVarName & NLAIAGENT::CStringType::getStr ( ) const [inline]
 

Definition at line 97 of file agent_object.h.

Referenced by NLAISCRIPT::CCompilateur::buildObject(), NLAISCRIPT::CCompilateur::callFunction(), NLAISCRIPT::CCompilateur::findMethode(), NLAISCRIPT::CCodeBrancheRunDebug::printArgs(), NLAISCRIPT::CCodeBrancheRunDebug::printVariable(), NLAISCRIPT::CFindRunMsg::runOpCode(), and NLAISCRIPT::CCompilateur::validateHierarchyMethode().

const NLAIC::CIdentType & NLAIAGENT::CStringType::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 31 of file agent_object.cpp.

bool NLAIAGENT::CStringType::isEqual ( const IBasicObjectIA & a ) const [inline, virtual]
 

The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'.

Reimplemented from NLAIAGENT::IBasicObjectIA.

Definition at line 127 of file agent_object.h.

bool NLAIAGENT::CStringType::isTrue ( ) const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 117 of file agent_object.h.

void NLAIAGENT::CStringType::load ( NLMISC::IStream & is ) [inline, virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 83 of file agent_object.h.

const NLAIC::IBasicType * NLAIAGENT::CStringType::newInstance ( void ) const [inline, virtual]
 

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

Reimplemented from NLAIC::IBasicType.

Definition at line 70 of file agent_object.h.

IObjetOp * NLAIAGENT::CStringType::operator!= ( IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 79 of file agent_object.cpp.

IObjetOp & NLAIAGENT::CStringType::operator+= ( const IObjetOp & a ) [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 36 of file agent_object.cpp.

IObjetOp & NLAIAGENT::CStringType::operator-= ( const IObjetOp & a ) [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 43 of file agent_object.cpp.

bool NLAIAGENT::CStringType::operator< ( const CStringType & a ) const [virtual]
 

Definition at line 86 of file agent_object.cpp.

IObjetOp * NLAIAGENT::CStringType::operator< ( IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 51 of file agent_object.cpp.

IObjetOp * NLAIAGENT::CStringType::operator<= ( IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 65 of file agent_object.cpp.

IObjetOp * NLAIAGENT::CStringType::operator> ( IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 58 of file agent_object.cpp.

IObjetOp * NLAIAGENT::CStringType::operator>= ( IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 72 of file agent_object.cpp.

const IObjectIA::CProcessResult & NLAIAGENT::CStringType::run ( void ) [virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 91 of file agent_object.cpp.

void NLAIAGENT::CStringType::save ( NLMISC::IStream & os ) [inline, virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 77 of file agent_object.h.


Member Data Documentation

const NLAIC::CIdentType NLAIAGENT::CStringType::IdStringType [static]
 

Definition at line 49 of file agent_object.h.

IVarName * NLAIAGENT::CStringType::_Str [private]
 

Definition at line 46 of file agent_object.h.


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