]> git.mxchange.org Git - simgear.git/blob - simgear/math/sg_types.hxx
More error reporting from TerraSync/HTTP
[simgear.git] / simgear / math / sg_types.hxx
1 /**
2  * \file sg_types.hxx
3  * Commonly used types I don't want to have to keep redefining.
4  */
5
6 // Written by Curtis Olson, started March 1999.
7 //
8 // Copyright (C) 1999  Curtis L. Olson  - http://www.flightgear.org/~curt
9 //
10 // This library is free software; you can redistribute it and/or
11 // modify it under the terms of the GNU Library General Public
12 // License as published by the Free Software Foundation; either
13 // version 2 of the License, or (at your option) any later version.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 // Library General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with this program; if not, write to the Free Software
22 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
23 //
24 // $Id$
25
26
27 #ifndef _SG_TYPES_HXX
28 #define _SG_TYPES_HXX
29
30
31 #ifndef __cplusplus
32 # error This library requires C++
33 #endif
34
35
36 #include <simgear/compiler.h>
37
38 #include <string>
39 #include <vector>
40
41 /** STL vector list of ints */
42 typedef std::vector < int > int_list;
43 typedef int_list::iterator int_list_iterator;
44 typedef int_list::const_iterator const_int_list_iterator;
45
46 /** STL vector list of doubles */
47 typedef std::vector < double > double_list;
48 typedef double_list::iterator double_list_iterator;
49 typedef double_list::const_iterator const_double_list_iterator;
50
51 /** STL vector list of strings */
52 typedef std::vector < std::string > string_list;
53 typedef string_list::iterator string_list_iterator;
54 typedef string_list::const_iterator const_string_list_iterator;
55
56 #endif // _SG_TYPES_HXX
57