summaryrefslogtreecommitdiff
path: root/include/classtype.h
blob: 5128353fdb8f909a63893b9066292bb414b14d20 (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
/**
 *  @file classtype.h
 *
 *  Internal class types enumeration.
 *
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 *  @copyright 2014 Copernica BV
 */

/**
 *  Set up namespace
 */
namespace Php {

/**
 *  Enumeration definition.
 *
 *  The PHP-CPP library tries to hide the Zend engine internals completely from
 *  the user. Therefore, it does not include any of the Zend header files, nor
 *  can it refer to the constants defined in the Zend header files. The
 *  following constants have been copied from Zend. If the Zend engine ever
 *  changes (which we do not expect) we should also copy the constant values
 *  used here.
 *
 */
enum class PHPCPP_EXPORT ClassType {
    Regular     =   0x00,
    Abstract    =   0x20,
    Final       =   0x40,
    Interface   =   0x80
};

/**
 *  End namespace
 */
}