MinitScript  0.9.31 PRE-BETA
Public Member Functions | List of all members
NativeLibrary Class Reference

Native script library. More...

#include <minitscript/minitscript/NativeLibrary.h>

Inheritance diagram for NativeLibrary:
Inheritance graph
Collaboration diagram for NativeLibrary:
Collaboration graph

Public Member Functions

 NativeLibrary (_Context *context)
 Public constructor. More...
 
virtual MinitScriptloadScript (const string &pathName, const string &fileName, const string &basePathName=string()) override
 Load script from library. More...
 
- Public Member Functions inherited from Library
 Library (_Context *context)
 Public constructor. More...
 
_ContextgetContext ()
 
void setContext (_Context *context)
 Set context. More...
 
virtual ~Library ()
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Library
_Contextcontext { nullptr }
 

Detailed Description

Native script library.

Author
Andreas Drewke

Definition at line 20 of file NativeLibrary.h.

Constructor & Destructor Documentation

◆ NativeLibrary()

NativeLibrary ( _Context context)
inline

Public constructor.

Parameters
contextcontext or nullptr

Definition at line 31 of file NativeLibrary.h.

Member Function Documentation

◆ loadScript()

virtual MinitScript* loadScript ( const string &  pathName,
const string &  fileName,
const string &  basePathName = string() 
)
overridevirtual

Load script from library.

Parameters
pathNamepath name
fileNamefile name
basePathNamebase path name
Returns
MinitScript script from library

Reimplemented from Library.


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