# 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:

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

Public Methods

 CStringType (const std::string &str)
 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 (std::string &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)
 add the operater by anather. 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...

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:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 43 of file agent_object.h.


Constructor & Destructor Documentation

NLAIAGENT::CStringType::CStringType const std::string &    str [inline]
 

Definition at line 51 of file agent_object.h.

References _Str.

Referenced by clone, CStringType, isEqual, operator!=, and operator==.

NLAIAGENT::CStringType::CStringType const IVarName   str [inline]
 

Definition at line 55 of file agent_object.h.

References _Str, and clone.

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

Definition at line 59 of file agent_object.h.

References _Str, clone, and CStringType.

NLAIAGENT::CStringType::CStringType NLMISC::IStream   is [inline]
 

Definition at line 63 of file agent_object.h.

References load.

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

Definition at line 128 of file agent_object.h.

References _Str.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::CStringType::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 68 of file agent_object.h.

References CStringType.

Referenced by CStringType, NLAISCRIPT::CCallPrint::format, and newInstance.

virtual void NLAIAGENT::CStringType::getDebugString std::string &    text 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 97 of file agent_object.h.

References _Str, and NLAIC::stringGetBuild.

Referenced by NLAISCRIPT::CCodeBrancheRunDebug::printArgs.

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

Definition at line 102 of file agent_object.h.

References _Str.

Referenced by NLAISCRIPT::CCompilateur::buildObject, NLAISCRIPT::CCompilateur::callFunction, NLAISCRIPT::CCompilateur::findMethode, NLAIAGENT::COperatorScript::getDebugString, NLAIAGENT::CAgentScript::getDebugString, NLAISCRIPT::CCodeBrancheRunDebug::printVariable, NLAISCRIPT::CConstraintMethode::run, NLAILOGIC::CInternalGoal::runMethodeMember, NLAILOGIC::CGoal::runMethodeMember, NLAILOGIC::CFact::runMethodeMember, NLAISCRIPT::CFindRunMsg::runOpCode, and NLAISCRIPT::CCompilateur::validateHierarchyMethode.

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

References IdStringType.

virtual 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'.

Implements NLAIAGENT::IBasicObjectIA.

Definition at line 133 of file agent_object.h.

References _Str, CStringType, NLAIAGENT::IBasicObjectIA::IBasicObjectIA, and t.

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

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 123 of file agent_object.h.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 87 of file agent_object.h.

References _Str, NLAIC::CIdentTypeAlloc::allocClass, id, and NLMISC::IStream::serial.

Referenced by CStringType.

virtual const NLAIC::IBasicType* NLAIAGENT::CStringType::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 74 of file agent_object.h.

References clone.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 82 of file agent_object.cpp.

References _Str, CStringType, and x.

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

add the operater by anather.

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 39 of file agent_object.cpp.

References _Str.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 46 of file agent_object.cpp.

References _Str.

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

Definition at line 96 of file agent_object.cpp.

References _Str.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 54 of file agent_object.cpp.

References _Str, and x.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 68 of file agent_object.cpp.

References _Str, and x.

IObjetOp * NLAIAGENT::CStringType::operator== IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 89 of file agent_object.cpp.

References _Str, CStringType, and x.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 61 of file agent_object.cpp.

References _Str, and x.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 75 of file agent_object.cpp.

References _Str, and x.

const IObjectIA::CProcessResult & NLAIAGENT::CStringType::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 101 of file agent_object.cpp.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 81 of file agent_object.h.

References _Str, and NLMISC::IStream::serial.


Member Data Documentation

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

Definition at line 46 of file agent_object.h.

Referenced by CStringType, getDebugString, getStr, isEqual, load, operator!=, operator+=, operator-=, operator<, operator<=, operator==, operator>, operator>=, save, and ~CStringType.

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

Referenced by getType, NLAIAGENT::CLibTimerManager::initClass, NLAISCRIPT::CCallPrint::isMember, and NLAISCRIPT::CCodeBrancheRunDebug::printVariable.


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