types.h
Go to the documentation of this file.
1 /* Copyright (C) 2000-2004 Thomas Bopp, Thorsten Hampel, Ludger Merkens
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  *
17  * $Id: types.h,v 1.1 2008/03/31 13:39:57 exodusd Exp $
18  */
19 
20 #ifndef _TYPES_H
21 #define _TYPES_H
22 
23 #define CMD_TYPE_UNKNOWN 0
24 #define CMD_TYPE_INT 1
25 #define CMD_TYPE_FLOAT 2
26 #define CMD_TYPE_STRING 3
27 #define CMD_TYPE_OBJECT 4
28 #define CMD_TYPE_ARRAY 5
29 #define CMD_TYPE_MAPPING 6
30 #define CMD_TYPE_MAP_ENTRY 7
31 #define CMD_TYPE_PROGRAM 8
32 #define CMD_TYPE_TIME 9
33 #define CMD_TYPE_FUNCTION 10
34 #define CMD_TYPE_DATA 11
35 
36 #define XML_NORMAL (1<<0)
37 #define XML_SIZE (1<<1)
38 #define XML_OBJECTS (1<<2)
39 #define XML_TIME (1<<3)
40 #define XML_OBJECT (1<<4)
41 
42 #define XML_TYPE_MASK (0x0000000f)
43 #define XML_DISPLAY (1<<8)
44 
45 #define XML_ATTRIBUTES (1<<8)
46 #define XML_ANNOTATIONS (1<<9)
47 #define XML_ACCESS (1<<10)
48 #define XML_INVENTORY (1<<11)
49 #define XML_BASIC (1<<12)
50 #define XML_STYLESHEETS (1<<13)
51 #define XML_DETAILS (1<<16)
52 
53 #define XML_ALWAYS (XML_ATTRIBUTES|XML_ANNOTATIONS|XML_ACCESS|XML_INVENTORY|XML_BASIC|XML_DETAILS)
54 
55 #endif