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

IScriptDebugSource is an interface for the script source code. More...

#include <script_debug_source.h>

Inheritance diagram for NLAISCRIPT::IScriptDebugSource

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

virtual std::string getSourceName () const
 Return a name for the script source. More...

virtual std::string getSourceBuffer () const = 0
 Return the entire source buffer.

virtual void save (NLMISC::IStream &) = 0
 Save the class in a stream.

virtual void load (NLMISC::IStream &) = 0
 Load the class from a stream.


Protected Attributes

std::string _SourceName

Detailed Description

IScriptDebugSource is an interface for the script source code.

It give methode to use it, wether it comes from a file or from the memory.

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

Definition at line 42 of file script_debug_source.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 38 of file script_debug_source.cpp.


Member Function Documentation

std::string NLAISCRIPT::IScriptDebugSource::getSourceBuffer ( ) const [pure virtual]
 

Return the entire source buffer.

Reimplemented in NLAISCRIPT::CScriptDebugSourceFile, and NLAISCRIPT::CScriptDebugSourceMemory.

std::string NLAISCRIPT::IScriptDebugSource::getSourceName ( ) const [virtual]
 

Return a name for the script source.

Definition at line 44 of file script_debug_source.cpp.

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

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAISCRIPT::CScriptDebugSourceFile, and NLAISCRIPT::CScriptDebugSourceMemory.

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

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAISCRIPT::CScriptDebugSourceFile, and NLAISCRIPT::CScriptDebugSourceMemory.


Member Data Documentation

std::string NLAISCRIPT::IScriptDebugSource::_SourceName [protected]
 

Definition at line 62 of file script_debug_source.h.


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