Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Scripting class. More...
#include <ilviews/base/script.h>
Public Member Functions | |
virtual | ~IlvScriptLanguage () |
Destructor. | |
const IlSymbol * | getName () const |
Gets the name of this language. | |
Static Public Member Functions | |
static IlvScriptLanguage * | Get (const char *name) |
Gets a scripting language by name. | |
static IlvScriptLanguage * | Get (const IlSymbol *name) |
Gets a scripting language by name. | |
static IlvScriptLanguage * | GetDefault () |
Gets the default scripting language. |
Scripting class.
Library: display
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 IlvScriptLanguage::~IlvScriptLanguage | ( | ) | [virtual] |
Destructor.
Releases the memory that the scripting language might have allocated (in particular, its associated contexts).
static IlvScriptLanguage* IlvScriptLanguage::Get | ( | const char * | name | ) | [static] |
Gets a scripting language by name.
name | A string that identifies a scripting language name. |
static IlvScriptLanguage* IlvScriptLanguage::Get | ( | const IlSymbol * | name | ) | [static] |
Gets a scripting language by name.
name | A symbol that identifies a scripting language. |
name
. static IlvScriptLanguage* IlvScriptLanguage::GetDefault | ( | ) | [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.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.