summaryrefslogtreecommitdiff
path: root/include/type.h
blob: 200d6584ec8bda2e71dfd851142b33786a96641c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 *  Type.h
 *
 *  In this file an enumeration type is defined with all supporteded variable
 *  types.
 * 
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 *  @copyright 2013 Copernica BV
 */

/**
 *  Set up namespace
 */
namespace PhpCpp {

/**
 *  Supported types for variables
 *  The values are the same as the ones used internally in Zend
 */
typedef enum _Type {
    nullType            =   0,
    longType            =   1,
    decimalType         =   2,
    boolType            =   3,
    arrayType           =   4,
    objectType          =   5,
    stringType          =   6,
    resourceType        =   7,
    constantType        =   8,
    constantArrayType   =   9,
    callableType        =  10
} Type;

/**
 *  End of namespace
 */
}