TPIE

11a2c2d
types.h
Go to the documentation of this file.
1 // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
2 // vi:set ts=4 sts=4 sw=4 noet :
3 // Copyright 2009, 2010, 2012, The TPIE development team
4 //
5 // This file is part of TPIE.
6 //
7 // TPIE is free software: you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License as published by the
9 // Free Software Foundation, either version 3 of the License, or (at your
10 // option) any later version.
11 //
12 // TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
13 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public License
18 // along with TPIE. If not, see <http://www.gnu.org/licenses/>
19 
23 
24 #ifndef _TPIE_TYPES_H
25 #define _TPIE_TYPES_H
26 
27 #include <cstdint>
28 #include <cstddef>
29 
30 namespace tpie {
31 
32 using std::uint8_t;
33 using std::int8_t;
34 using std::uint16_t;
35 using std::int16_t;
36 using std::uint32_t;
37 using std::int32_t;
38 using std::uint64_t;
39 using std::int64_t;
40 
41 typedef uint64_t stream_size_type;
42 typedef int64_t stream_offset_type;
43 typedef std::size_t memory_size_type;
44 typedef std::ptrdiff_t memory_offset_type;
45 typedef stream_offset_type offset_type;
46 typedef std::size_t size_type;
47 typedef std::ptrdiff_t ssize_type;
48 
49 }
50 
51 #endif //_TPIE_TYPES_H
tpie
Definition: access_type.h:26