Siena C++ API documentation.

enum SienaType

Type identifier for Siena

[more] Siena_null
undefined null type
[more] Siena_string
string
[more] Siena_integer
signed integer number
[more] Siena_bool
boolean value
[more] Siena_date
time/date (not yet implemented!)
[more] Siena_double
floating point number
[more] Siena_binary
binary object (not yet implemented!)


Documentation

Siena has some of the most common data types. SienaType enumerates the available types in Siena.

Example:

    Event e;
    // ...
    SienaType t;
    t = e["quantity"].type();
    switch(t) {
    case Siena_integer: 
    // ...
    case Siena_string:
    // ...
    }
    
o Siena_null
undefined null type

o Siena_string
string

o Siena_integer
signed integer number

o Siena_bool
boolean value

o Siena_date
time/date (not yet implemented!)

o Siena_double
floating point number

o Siena_binary
binary object (not yet implemented!)

Alphabetic index HTML hierarchy of classes or Java


This document is part of Siena. Please, direct any comment or suggestion to Antonio Carzaniga