Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.
Abstract VXI type library
Result codes for function methods
Get the type of a Value
Generic Value destructor
Generic Value clone
Create a Boolean from a VXIbool
Get the value of a Boolean
Create an Integer from a 32 bit integer
Get the value of an Integer
Create a Float from a 32 bit floating point number
Get the value of a Float
Create a Ptr from a C pointer
Get the value of a Ptr
Create a Content from MIME content typed data
Get the value of a Content
Create a String from a null-terminated character array
Create a String from a known-length character array
Set the value of a String from a null-terminated character array
Get the value of a String
Get direct access to the NULL-terminated character value
Get the number of characters in a String's value
Compares two Strings
Compares a String to a NULL-terminated character array
Create an empty Map
Set a named property on an Map
Get a named property from an Map
Delete a named property from an Map
Return the number of properties for an Map
Get the first property of an Map and an iterator
Get the next property of an Map based on an iterator
Destroy an iterator
Create an empty Vector
Adds an element to the end of the Vector
Set an indexed vector element
Get an indexed vector element
Return number of elements in a Vector
Formats for the string result of VXIValueToString, currently:
Generic Value to string conversion
C++ wrapper class that makes it easier to work with VXIMaps
Abstract run-time types for VXI interferences and optionally implementation. These types mirror ECMAScript types (and could be implemented as such). They could also be implemented using C++ and STL, or using C. Using these abstract types rather than directly using an externally defined class library increases portability, and allows the implementers of each interface to independantly select external class libraries (or none at all) for their own implementation.
Each type is implemented as a handle that is obtained from a constructor and supports run-time typing. The owner (creator) of each type is responsible for freeing it by calling the appropriate destructor.
Note: When errors occur, constructors return a NULL object. Typically this is due to running out of memory, or a type mismatch for copy constructors.
The value types are as follows, note that the naming convention is VXI followed by the type name starting with an uppercase letter, while the simple VXI types in VXIvalue.h use VXI followed by the type name starting with a lowercase letter:
VXIValue Abstract base type for all the rest, can cast any type to this type and still determine the original type. Used to provide input/return values where the actual underlying type can vary. VXIBoolean Container for a boolean (VXIbool) VXIInteger Container for a 32-bit integer (VXIint32) VXIFloat Container for a 32-bit float type (VXIflt32) VXIString Container for a string (VXIchar) VXIPtr Container for a untyped pointer (VXIptr) VXIContent Container for MIME content typed data (VXIptr) VXIMap Simple key/value container where the keys are of VXIchar type and the values are any of the abstract types defined here. VXIVector Simple indexed vector that supports appending elements at the end, and getting and setting elements by index. There is no support for removing elements or insertions.
Alphabetic index Hierarchy of classes
This page was generated with the help of DOC++.