Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ECMAScript Interface


Classes

struct  VXIjsiInterface
 Abstract interface for interacting with a ECMAScript (JavaScript) engine. More...

Typedefs

typedef *enum VXIjsiResult VXIjsiResult
 Result codes for interface methods.
typedef enum VXIjsiScopeAttr VXIjsiScopeAttr
 Attributes for scope name.
typedef VXIjsiInterface VXIjsiInterface
 Abstract interface for interacting with a ECMAScript (JavaScript) engine.

Enumerations

enum  VXIjsiResult {
  VXIjsi_RESULT_FATAL_ERROR = -100, VXIjsi_RESULT_IO_ERROR = -8, VXIjsi_RESULT_OUT_OF_MEMORY = -7, VXIjsi_RESULT_SYSTEM_ERROR = -6,
  VXIjsi_RESULT_PLATFORM_ERROR = -5, VXIjsi_RESULT_BUFFER_TOO_SMALL = -4, VXIjsi_RESULT_INVALID_PROP_NAME = -3, VXIjsi_RESULT_INVALID_PROP_VALUE = -2,
  VXIjsi_RESULT_INVALID_ARGUMENT = -1, VXIjsi_RESULT_SUCCESS = 0, VXIjsi_RESULT_FAILURE = 1, VXIjsi_RESULT_NON_FATAL_ERROR = 2,
  VXIjsi_RESULT_SYNTAX_ERROR = 50, VXIjsi_RESULT_SCRIPT_EXCEPTION = 51, VXIjsi_RESULT_SECURITY_VIOLATION = 52, VXIjsi_RESULT_UNSUPPORTED = 100
}
 Result codes for interface methods. More...
enum  VXIjsiScopeAttr { VXIjsi_NATIVE_SCOPE = 1, VXIjsi_ALIAS_SCOPE = 2 }
 Attributes for scope name. More...


Typedef Documentation

typedef struct VXIjsiInterface VXIjsiInterface
 

Abstract interface for interacting with a ECMAScript (JavaScript) engine.

This provides functionality for creating ECMAScript execution contexts, manipulating ECMAScript scopes, manipulating variables within those scopes, and evaluating ECMAScript expressions/scripts.

There is one ECMAScript interface per thread/line.

typedef * enum VXIjsiResult VXIjsiResult
 

Result codes for interface methods.

Result codes less then zero are severe errors (likely to be platform faults), those greater then zero are warnings (likely to be application issues)

typedef enum VXIjsiScopeAttr VXIjsiScopeAttr
 

Attributes for scope name.


Enumeration Type Documentation

enum VXIjsiResult
 

Result codes for interface methods.

Result codes less then zero are severe errors (likely to be platform faults), those greater then zero are warnings (likely to be application issues)

Enumeration values:
VXIjsi_RESULT_FATAL_ERROR  Fatal error, terminate call.
VXIjsi_RESULT_IO_ERROR  I/O error.
VXIjsi_RESULT_OUT_OF_MEMORY  Out of memory.
VXIjsi_RESULT_SYSTEM_ERROR  System error, out of service.
VXIjsi_RESULT_PLATFORM_ERROR  Errors from platform services.
VXIjsi_RESULT_BUFFER_TOO_SMALL  Return buffer too small.
VXIjsi_RESULT_INVALID_PROP_NAME  Property name is not valid.
VXIjsi_RESULT_INVALID_PROP_VALUE  Property value is not valid.
VXIjsi_RESULT_INVALID_ARGUMENT  Invalid function argument.
VXIjsi_RESULT_SUCCESS  Success.
VXIjsi_RESULT_FAILURE  Normal failure, nothing logged.
VXIjsi_RESULT_NON_FATAL_ERROR  Non-fatal non-specific error.
VXIjsi_RESULT_SYNTAX_ERROR  ECMAScript syntax error.
VXIjsi_RESULT_SCRIPT_EXCEPTION  ECMAScript exception thrown.
VXIjsi_RESULT_SECURITY_VIOLATION  ECMAScript security violation.
VXIjsi_RESULT_UNSUPPORTED  Operation is not supported.

enum VXIjsiScopeAttr
 

Attributes for scope name.

Enumeration values:
VXIjsi_NATIVE_SCOPE 
VXIjsi_ALIAS_SCOPE 


Generated on Wed Jun 1 12:50:19 2005 for OpenVXI by  doxygen 1.4.2