1
// ---------------------------------------------------------------------------
3
// - afnix:std - serial id definition -
4
// ---------------------------------------------------------------------------
5
// - This program is free software; you can redistribute it and/or modify -
6
// - it provided that this copyright notice is kept intact. -
8
// - This program is distributed in the hope that it will be useful, but -
9
// - without any warranty; without even the implied warranty of -
10
// - merchantability or fitness for a particular purpose. In no event shall -
11
// - the copyright holder be liable for any direct, indirect, incidental or -
12
// - special damages arising in any way out of the use of this software. -
13
// ---------------------------------------------------------------------------
14
// - copyright (c) 1999-2007 amaury darsch -
15
// ---------------------------------------------------------------------------
17
#ifndef AFNIX_STDSID_HXX
18
#define AFNIX_STDSID_HXX
20
#ifndef AFNIX_CCNF_HPP
26
// All codes between 0x00 and 0x7F are reserved the engine and the modules.
27
// From 0x80 to 0xEF, the codes are reserved for the services. The codes
28
// from 0xF0 to 0xFE are open for private use only. The 0xFF code is the
31
static const t_byte SERIAL_NILP_ID = 0x00; // nil pointer
32
static const t_byte SERIAL_BOOL_ID = 0x01; // boolean
33
static const t_byte SERIAL_BYTE_ID = 0x02; // byte
34
static const t_byte SERIAL_WORD_ID = 0x03; // word
35
static const t_byte SERIAL_QUAD_ID = 0x04; // quad
36
static const t_byte SERIAL_OCTA_ID = 0x05; // octa
37
static const t_byte SERIAL_INTG_ID = 0x06; // integer
38
static const t_byte SERIAL_REAL_ID = 0x07; // real
39
static const t_byte SERIAL_CHAR_ID = 0x08; // character
40
static const t_byte SERIAL_STRG_ID = 0x09; // string
41
static const t_byte SERIAL_RELT_ID = 0x0A; // relative
42
static const t_byte SERIAL_REGX_ID = 0x0B; // regex
43
static const t_byte SERIAL_CONS_ID = 0x0C; // cons cell
44
static const t_byte SERIAL_VECT_ID = 0x0D; // vector
45
static const t_byte SERIAL_OSET_ID = 0x0E; // set
46
static const t_byte SERIAL_NTBL_ID = 0x0F; // name table
47
static const t_byte SERIAL_STRV_ID = 0x10; // string vector
48
static const t_byte SERIAL_PROP_ID = 0x11; // property
49
static const t_byte SERIAL_PLST_ID = 0x12; // plist