Main MRPT website > C++ reference for MRPT 1.5.7
cmtf.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef _CMT_FILE_DEF_H_2007_01_24
10 #define _CMT_FILE_DEF_H_2007_01_24
11 
12 #include <stdio.h>
13 #include <mrpt/utils/mrpt_stdint.h>
14 
15 #ifndef _WIN32
16 # include <sys/types.h>
17 #endif
18 
19 #ifdef _CMT_STATIC_LIB
20 namespace xsens {
21 #endif
22 
23 #ifdef _WIN32
24  typedef __int64 CmtFilePos;
25 #else
26  typedef off_t CmtFilePos;
27 #endif
28 
29 #ifdef _CMT_STATIC_LIB
30 } // end of xsens namespace
31 #endif
32 
33 // setFilePos defines
34 #ifdef _WIN32
35 # define CMT_FILEPOS_BEGIN FILE_BEGIN
36 # define CMT_FILEPOS_CURRENT FILE_CURRENT
37 # define CMT_FILEPOS_END FILE_END
38 #else
39 # define CMT_FILEPOS_BEGIN SEEK_SET
40 # define CMT_FILEPOS_CURRENT SEEK_CUR
41 # define CMT_FILEPOS_END SEEK_END
42 #endif
43 
44 #endif
__int64 CmtFilePos
Definition: cmtf.h:24
The namespace of all Xsens software since 2006.
Definition: cmt1.cpp:92



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019