Rpi-hw  0.7.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
types.hpp
1 /*
2  Title --- types.hpp
3 
4  Copyright (C) 2013 Giacomo Trudu - wicker25[at]gmail[dot]com
5 
6  This file is part of Rpi-hw.
7 
8  Rpi-hw is free software: you can redistribute it and/or modify
9  it under the terms of the GNU Lesser General Public License as published by
10  the Free Software Foundation version 3 of the License.
11 
12  Rpi-hw is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public License
18  along with Rpi-hw. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 
22 #ifndef _RPI_HW_TYPES_HPP_
23 #define _RPI_HW_TYPES_HPP_
24 
25 #include <cstdint>
26 #include <vector>
27 
28 namespace rpihw { // Begin main namespace
29 
30 //@{
31 //! The basic types.
32 using std::int8_t;
33 using std::int16_t;
34 using std::int32_t;
35 using std::int64_t;
36 
37 using std::uint8_t;
38 using std::uint16_t;
39 using std::uint32_t;
40 using std::uint64_t;
41 //@}
42 
43 //! Color iterator.
44 template < typename T >
45 using color_iterator = typename std::vector< T >::const_iterator;
46 
47 } // End of main namespace
48 
49 #endif /* _RPI_HW_TYPES_HPP_ */
typename std::vector< T >::const_iterator color_iterator
Color iterator.
Definition: types.hpp:45