GEOS: WKBConstants.h Source File

GEOS 3.3.8

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

WKBConstants.h
1 /**********************************************************************
2 * $Id: WKBConstants.h 2579 2009-06-15 14:03:52Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2005-2006 Refractions Research Inc.
8 * Copyright (C) 2001-2002 Vivid Solutions Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************
16 *
17 * Last port: io/WKBConstants.java rev. 1.1 (JTS-1.10)
18 *
19 **********************************************************************/
20
21 #ifndef GEOS_IO_WKBCONSTANTS_H
22 #define GEOS_IO_WKBCONSTANTS_H
23
24 namespace geos {
25 namespace io {
26
28 namespace WKBConstants {
29
31 const int wkbXDR = 0;
32
34 const int wkbNDR = 1;
35
36 const int wkbPoint = 1;
37 const int wkbLineString = 2;
38 const int wkbPolygon = 3;
39 const int wkbMultiPoint = 4;
40 const int wkbMultiLineString = 5;
41 const int wkbMultiPolygon = 6;
42 const int wkbGeometryCollection = 7;
43 }
44
45 } // namespace geos::io
46 } // namespace geos
47
48 #endif // #ifndef GEOS_IO_WKBCONSTANTS_H
49
50 /**********************************************************************
51 * $Log$
52 * Revision 1.2 2006/05/23 09:24:37 strk
53 * * source/io/ByteOrderValues.cpp: changed ENDIAN_BIG and ENDIAN_LITTLE values to match WKBConstants::XDR and WKBConstants::NDR respectively.
54 * * source/headers/geos/io/WKBConstants.h: added comments about meaning of XDR/NDR.
55 *
56 * Revision 1.1 2006/03/20 18:18:14 strk
57 * io.h header split
58 *
59 **********************************************************************/