~ubuntu-branches/ubuntu/wily/afnix/wily

« back to all changes in this revision

Viewing changes to src/lib/std/shl/obj/Stdsid.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2011-03-16 21:31:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110316213118-gk4k3ez3e5d2huna
Tags: 2.0.0-1
* QA upload.
* New upstream release
* Debian source format is 3.0 (quilt)
* Fix debhelper-but-no-misc-depends
* Fix ancient-standards-version
* Fix package-contains-linda-override
* debhelper compatibility is 7
* Fix dh-clean-k-is-deprecated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ---------------------------------------------------------------------------
2
 
// - Stdsid.hpp                                                              -
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.                  -
7
 
// -                                                                         -
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
 
// ---------------------------------------------------------------------------
16
 
 
17
 
#ifndef  AFNIX_STDSID_HXX
18
 
#define  AFNIX_STDSID_HXX
19
 
 
20
 
#ifndef  AFNIX_CCNF_HPP
21
 
#include "ccnf.hpp"
22
 
#endif
23
 
 
24
 
namespace afnix {
25
 
 
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
29
 
  // chain code.
30
 
 
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
50
 
}
51
 
 
52
 
#endif