# 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::CStringVarName Class Reference

Basic concret class for string manipulation with NLAIC::IBasicInterface format. More...

#include <agent_string.h>

Inheritance diagram for NLAIAGENT::CStringVarName

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

Collaboration graph
[legend]
List of all members.

Public Methods

 CStringVarName (const char *name)
 CStringVarName (const CStringVarName &s)
 CStringVarName (NLMISC::IStream &is)
virtual ~CStringVarName ()
virtual const char* getString () const
 Get the string stored in the instance. More...

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

void save (NLMISC::IStream &os)
 Save the class in a stream. More...

void load (NLMISC::IStream &is)
 Load the class from a stream. More...

IVarNameoperator+= (const IVarName &s)
IVarNameoperator-= (const IVarName &s)
IVarNameoperator= (const IVarName &v)
CStringVarName& operator= (const CStringVarName &v)
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...

const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

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


Static Public Attributes

const NLAIC::CIdentType IdStringVarName

Private Attributes

char* _Name

Detailed Description

Basic concret class for string manipulation with NLAIC::IBasicInterface format.

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

Definition at line 132 of file agent_string.h.


Constructor & Destructor Documentation

NLAIAGENT::CStringVarName::CStringVarName ( const char * name ) [inline]
 

Definition at line 139 of file agent_string.h.

NLAIAGENT::CStringVarName::CStringVarName ( const CStringVarName & s ) [inline]
 

Definition at line 150 of file agent_string.h.

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

Definition at line 161 of file agent_string.h.

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

Definition at line 167 of file agent_string.h.


Member Function Documentation

const NLAIC::IBasicType * NLAIAGENT::CStringVarName::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 236 of file agent_string.h.

Referenced by NLAISCRIPT::CAgentClass::registerComponent(), and NLAISCRIPT::COperatorClass::setGoal().

void NLAIAGENT::CStringVarName::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 247 of file agent_string.h.

const char * NLAIAGENT::CStringVarName::getString ( ) const [inline, virtual]
 

Get the string stored in the instance.

Reimplemented from NLAIAGENT::IVarName.

Definition at line 172 of file agent_string.h.

Referenced by NLAISCRIPT::COperatorClass::buildLogicTables(), NLAISCRIPT::CCompilateur::castVariable(), NLAISCRIPT::CCompilateur::getValidateHierarchyBase(), NLAISCRIPT::COperatorClass::initialiseFactBase(), and NLAISCRIPT::CCodeBrancheRunDebug::printVariable().

const NLAIC::CIdentType & NLAIAGENT::CStringVarName::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 28 of file agent_string.cpp.

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

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 188 of file agent_string.h.

const NLAIC::IBasicType * NLAIAGENT::CStringVarName::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 242 of file agent_string.h.

IVarName & NLAIAGENT::CStringVarName::operator+= ( const IVarName & s ) [inline, virtual]
 

Reimplemented from NLAIAGENT::IVarName.

Definition at line 199 of file agent_string.h.

IVarName & NLAIAGENT::CStringVarName::operator-= ( const IVarName & s ) [inline, virtual]
 

Reimplemented from NLAIAGENT::IVarName.

Definition at line 207 of file agent_string.h.

CStringVarName & NLAIAGENT::CStringVarName::operator= ( const CStringVarName & v ) [inline]
 

Definition at line 227 of file agent_string.h.

IVarName & NLAIAGENT::CStringVarName::operator= ( const IVarName & v ) [inline, virtual]
 

Reimplemented from NLAIAGENT::IVarName.

Definition at line 218 of file agent_string.h.

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

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 180 of file agent_string.h.


Member Data Documentation

const NLAIC::CIdentType NLAIAGENT::CStringVarName::IdStringVarName [static]
 

Definition at line 135 of file agent_string.h.

char * NLAIAGENT::CStringVarName::_Name [private]
 

Definition at line 137 of file agent_string.h.


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