Goby v2
primitive_types.h
1 // Copyright 2009-2018 Toby Schneider (http://gobysoft.org/index.wt/people/toby)
2 // GobySoft, LLC (2013-)
3 // Massachusetts Institute of Technology (2007-2014)
4 // Community contributors (see AUTHORS file)
5 //
6 //
7 // This file is part of the Goby Underwater Autonomy Project Libraries
8 // ("The Goby Libraries").
9 //
10 // The Goby Libraries are free software: you can redistribute them and/or modify
11 // them under the terms of the GNU Lesser General Public License as published by
12 // the Free Software Foundation, either version 2.1 of the License, or
13 // (at your option) any later version.
14 //
15 // The Goby Libraries are distributed in the hope that they will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public License
21 // along with Goby. If not, see <http://www.gnu.org/licenses/>.
22 
23 #ifndef PrimitiveTypes20110721H
24 #define PrimitiveTypes20110721H
25 
26 #include <google/protobuf/stubs/common.h>
27 
28 namespace goby
29 {
30 // use the Google Protobuf types as they handle system quirks already
32 typedef google::protobuf::uint32 uint32;
34 typedef google::protobuf::int32 int32;
36 typedef google::protobuf::uint64 uint64;
38 typedef google::protobuf::int64 int64;
39 } // namespace goby
40 
41 #endif
google::protobuf::uint32 uint32
an unsigned 32 bit integer
google::protobuf::int64 int64
a signed 64 bit integer
The global namespace for the Goby project.
google::protobuf::uint64 uint64
an unsigned 64 bit integer
google::protobuf::int32 int32
a signed 32 bit integer