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

CScriptDebugSourceFile is an IScriptDebugSource where the source code come from a file. More...

#include <script_debug_source.h>

Inheritance diagram for NLAISCRIPT::CScriptDebugSourceFile

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

Collaboration graph
[legend]
List of all members.

Public Methods

 CScriptDebugSourceFile (const char* sourceName)
 Constructor. More...

std::string getSourceBuffer () const
 Return the entire source buffer. More...

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

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

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

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 IdScriptDebugSourceFile

Detailed Description

CScriptDebugSourceFile is an IScriptDebugSource where the source code come from a file.

Author(s):
Gabriel ROBERT , Nevrax France
Date:
2001

Definition at line 72 of file script_debug_source.h.


Constructor & Destructor Documentation

NLAISCRIPT::CScriptDebugSourceFile::CScriptDebugSourceFile ( const char * sourceName )
 

Constructor.

Definition at line 56 of file script_debug_source.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CScriptDebugSourceFile::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 104 of file script_debug_source.cpp.

void NLAISCRIPT::CScriptDebugSourceFile::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 116 of file script_debug_source.cpp.

std::string NLAISCRIPT::CScriptDebugSourceFile::getSourceBuffer ( ) const [virtual]
 

Return the entire source buffer.

Reimplemented from NLAISCRIPT::IScriptDebugSource.

Definition at line 62 of file script_debug_source.cpp.

const NLAIC::CIdentType & NLAISCRIPT::CScriptDebugSourceFile::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 99 of file script_debug_source.cpp.

void NLAISCRIPT::CScriptDebugSourceFile::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAISCRIPT::IScriptDebugSource.

Definition at line 94 of file script_debug_source.cpp.

const NLAIC::IBasicType * NLAISCRIPT::CScriptDebugSourceFile::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 110 of file script_debug_source.cpp.

void NLAISCRIPT::CScriptDebugSourceFile::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAISCRIPT::IScriptDebugSource.

Definition at line 88 of file script_debug_source.cpp.


Member Data Documentation

const NLAIC::CIdentType NLAISCRIPT::CScriptDebugSourceFile::IdScriptDebugSourceFile [static]
 

Definition at line 75 of file script_debug_source.h.


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