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

NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAISCRIPT::CScriptDebugSourceFile NLAISCRIPT::CScriptDebugSourceMemory 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. More...

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

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


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

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

Return the entire source buffer.

Implemented in NLAISCRIPT::CScriptDebugSourceFile.

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

Return a name for the script source.

Definition at line 44 of file script_debug_source.cpp.

References _SourceName.

virtual void NLAISCRIPT::IScriptDebugSource::load NLMISC::IStream   [pure virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Implemented in NLAISCRIPT::CScriptDebugSourceFile.

virtual void NLAISCRIPT::IScriptDebugSource::save NLMISC::IStream   [pure virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Implemented in NLAISCRIPT::CScriptDebugSourceFile.


Member Data Documentation

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

Definition at line 62 of file script_debug_source.h.

Referenced by NLAISCRIPT::CScriptDebugSourceMemory::getDebugString, NLAISCRIPT::CScriptDebugSourceFile::getDebugString, NLAISCRIPT::CScriptDebugSourceFile::getSourceBuffer, getSourceName, NLAISCRIPT::CScriptDebugSourceMemory::load, NLAISCRIPT::CScriptDebugSourceFile::load, NLAISCRIPT::CScriptDebugSourceMemory::save, and NLAISCRIPT::CScriptDebugSourceFile::save.


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