Scripting class. More...
#include <ilviews/base/script.h>
Public Member Functions | |
virtual | ~IlvScriptLanguage () |
Destructor. More... | |
const IlSymbol * | getName () const |
Gets the name of this language. More... | |
Static Public Member Functions | |
static IlvScriptLanguage * | Get (const char *name) |
Gets a scripting language by name. More... | |
static IlvScriptLanguage * | Get (const IlSymbol *name) |
Gets a scripting language by name. More... | |
static IlvScriptLanguage * | GetDefault () |
Gets the default scripting language. More... | |
Scripting class.
Library: xviews or winviews or mviews (mutually exclusive)
This class is the base class for all scripting languages that can be connected to Rogue Wave Views. It gives access to the global information relative to a given language. An instance of IlvScriptLanguage
(also referred to as a scripting language) is unique in a given application. A scripting language must be associated with an identifier that will be used to make the script code persistent. This identifier is referred to as the name of the scripting language.
|
virtual |
Destructor.
Releases the memory that the scripting language might have allocated (in particular, its associated contexts).
|
static |
Gets a scripting language by name.
name | A string that identifies a scripting language name. |
|
static |
Gets a scripting language by name.
name | A symbol that identifies a scripting language. |
name
.
|
static |
Gets the default scripting language.
This member function is useful when you know that there is a scripting language linked to your application, but you don't know its name.
0
if no scripting language is linked with the application. const IlSymbol* IlvScriptLanguage::getName | ( | ) | const |
Gets the name of this language.