# 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  

NLAISCRIPT::CCallPrint Class Reference

Class CCallPrint. More...

#include <libcode.h>

Inheritance diagram for NLAISCRIPT::CCallPrint

Inheritance graph
[legend]
Collaboration diagram for NLAISCRIPT::CCallPrint:

Collaboration graph
[legend]
List of all members.

Public Methods

 CCallPrint ()
NLAIAGENT::IObjectIA::CProcessResult format (const NLAIAGENT::IBaseGroupType *g)
 Returns the const NLAIAGENT::IBaseGroupType * as an formated string. More...

NLAIAGENT::IObjectIA::CProcessResult printList (const NLAIAGENT::IBaseGroupType *g)
 Print the contents of the NLAIAGENT::IBaseGroupType. More...

virtual ~CCallPrint ()
NLAIAGENT::IObjectIA method.
virtual sint32 isClassInheritedFrom (const NLAIAGENT::IVarName &) const
virtual NLAIAGENT::tQueue isMember (const NLAIAGENT::IVarName *className,const NLAIAGENT::IVarName *mathodName,const NLAIAGENT::IObjectIA &) const
virtual NLAIAGENT::IObjectIA::CProcessResult runMethodeMember (sint32 heritance, sint32 index, NLAIAGENT::IObjectIA *)
 The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...

virtual NLAIAGENT::IObjectIA::CProcessResult runMethodeMember (sint32 index,NLAIAGENT::IObjectIA *)
 The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...

const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
NLAIC::IBasicInterface method.
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...

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

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

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

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


Static Public Attributes

const NLAIC::CIdentType IdCallPrint
NLAIC::IIOinputOutput = NULL

Detailed Description

Class CCallPrint.

This class allows to print and formated string. In the script its define the print('string',objects, ...); expression

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

Definition at line 40 of file libcode.h.


Constructor & Destructor Documentation

NLAISCRIPT::CCallPrint::CCallPrint ( ) [inline]
 

Definition at line 49 of file libcode.h.

NLAISCRIPT::CCallPrint::~CCallPrint ( ) [inline, virtual]
 

Definition at line 107 of file libcode.h.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CCallPrint::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 76 of file libcode.h.

NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CCallPrint::format ( const NLAIAGENT::IBaseGroupType * g )
 

Returns the const NLAIAGENT::IBaseGroupType * as an formated string.

Definition at line 106 of file libcode.cpp.

void NLAISCRIPT::CCallPrint::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 libcode.h.

const NLAIC::CIdentType & NLAISCRIPT::CCallPrint::getType ( void ) const [inline, 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 87 of file libcode.h.

sint32 NLAISCRIPT::CCallPrint::isClassInheritedFrom ( const NLAIAGENT::IVarName & ) const [inline, virtual]
 

Definition at line 56 of file libcode.h.

bool NLAISCRIPT::CCallPrint::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const [inline]
 

Definition at line 65 of file libcode.h.

NLAIAGENT::tQueue NLAISCRIPT::CCallPrint::isMember ( const NLAIAGENT::IVarName * className,
const NLAIAGENT::IVarName * mathodName,
const NLAIAGENT::IObjectIA & p ) const [virtual]
 

Definition at line 44 of file libcode.cpp.

void NLAISCRIPT::CCallPrint::load ( NLMISC::IStream & is ) [inline, virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 102 of file libcode.h.

const NLAIC::IBasicType * NLAISCRIPT::CCallPrint::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 82 of file libcode.h.

NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CCallPrint::printList ( const NLAIAGENT::IBaseGroupType * g )
 

Print the contents of the NLAIAGENT::IBaseGroupType.

Definition at line 125 of file libcode.cpp.

const NLAIAGENT::IObjectIA::CProcessResult & NLAISCRIPT::CCallPrint::run ( void ) [inline, virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 64 of file libcode.h.

NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CCallPrint::runMethodeMember ( sint32 index,
NLAIAGENT::IObjectIA * param ) [virtual]
 

The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method.

index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 159 of file libcode.cpp.

NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CCallPrint::runMethodeMember ( sint32 heritance,
sint32 index,
NLAIAGENT::IObjectIA * param ) [virtual]
 

The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method.

heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 145 of file libcode.cpp.

void NLAISCRIPT::CCallPrint::save ( NLMISC::IStream & os ) [inline, virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 97 of file libcode.h.


Member Data Documentation

const NLAIC::CIdentType NLAISCRIPT::CCallPrint::IdCallPrint [static]
 

Initializer:

NLAIC::CIdentType(      "Print",
                                                                                                                                        NLAIC::CSelfClassFactory(CCallPrint()),                                                                                                                         
                                                                                                                                        NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0))

Definition at line 38 of file libcode.cpp.

NLAIC::IIO * NLAISCRIPT::CCallPrint::inputOutput = NULL [static]
 

Definition at line 42 of file libcode.cpp.


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