struct VsValue

VsValues are passed around and represent values of various types

union
int getBool()
Returns value as boolean (0 or 1)
static const VsValue nothing
One of the above ENUM values
unsigned char type
enum Type
VsValue(double num)
VsValue(char *str)
VsValue(void *ptr)
VsValue()

Documentation

VsValues are passed around and represent values of various types. Since JavaScript is pretty much untyped, having one value class makes things a lot cleaner. KEEP THIS STRUCTURE AS SMALL AS POSSIBLE! VsValues tend to be passed around by value, so should be kept as lightweight as possible.
VsValue(double num)

VsValue(void *ptr)

VsValue(char *str)

VsValue()

int getBool()
Returns value as boolean (0 or 1)

union

enum Type

unsigned char type

static const VsValue nothing
One of the above ENUM values

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de