BaseTypes.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00025 //----------------------------------------------------------------------
00026 #ifndef ICL_CORE_BASE_TYPES_H_INCLUDED
00027 #define ICL_CORE_BASE_TYPES_H_INCLUDED
00028 
00029 #include <string>
00030 
00031 #if defined(_MSC_VER) && _MSC_VER < 1600
00032 # include "icl_core/msvc_stdint.h"
00033 #else
00034 # include <stddef.h>
00035 # include <stdint.h>
00036 #endif
00037 
00038 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
00039 # include "icl_core/tString.h"
00040 #endif
00041 
00042 namespace icl_core {
00043 typedef std::string String;
00044 }
00045 
00046 #ifdef _IC_BUILDER_ENABLE_BASE_TYPES_
00047 
00048 #ifdef _IC_BUILDER_DEPRECATED_BASE_TYPES_
00049 #include "icl_core/Deprecate.h"
00050 # define BASE_TYPES_VC_DEPRECATE(arg) ICL_CORE_VC_DEPRECATE_COMMENT(arg)
00051 # define BASE_TYPES_GCC_DEPRECATE(arg) ICL_CORE_GCC_DEPRECATE_COMMENT(arg)
00052 #else
00053 # define BASE_TYPES_VC_DEPRECATE(arg)
00054 # define BASE_TYPES_GCC_DEPRECATE(arg)
00055 #endif
00056 
00057 #undef max
00058 
00059 typedef bool
00060   BASE_TYPES_VC_DEPRECATE("use bool instead")
00061   tBool
00062   BASE_TYPES_GCC_DEPRECATE("use bool instead");
00063 
00064 typedef float
00065   BASE_TYPES_VC_DEPRECATE("use float instead")
00066   tFloat
00067   BASE_TYPES_GCC_DEPRECATE("use float instead");
00068 typedef double
00069   BASE_TYPES_VC_DEPRECATE("use double instead")
00070   tDouble
00071   BASE_TYPES_GCC_DEPRECATE("use double instead");
00072 
00073 typedef
00074   BASE_TYPES_VC_DEPRECATE("use uint8_t instead")
00075   uint8_t tUnsigned8
00076   BASE_TYPES_GCC_DEPRECATE("use uint8_t instead");
00077 typedef
00078   BASE_TYPES_VC_DEPRECATE("use int8_t instead")
00079   int8_t tSigned8
00080   BASE_TYPES_GCC_DEPRECATE("use int8_t instead");
00081 typedef
00082   BASE_TYPES_VC_DEPRECATE("use uint16_t instead")
00083   uint16_t tUnsigned16
00084   BASE_TYPES_GCC_DEPRECATE("use uint16_t instead");
00085 typedef
00086   BASE_TYPES_VC_DEPRECATE("use int16_t instead")
00087   int16_t tSigned16
00088   BASE_TYPES_GCC_DEPRECATE("use int16_t instead");
00089 typedef
00090   BASE_TYPES_VC_DEPRECATE("use uint32_t instead")
00091   uint32_t tUnsigned32
00092   BASE_TYPES_GCC_DEPRECATE("use uint32_t instead");
00093 typedef
00094   BASE_TYPES_VC_DEPRECATE("use int32_t instead")
00095   int32_t tSigned32
00096   BASE_TYPES_GCC_DEPRECATE("use int32_t instead");
00097 typedef
00098   BASE_TYPES_VC_DEPRECATE("use uint64_t instead")
00099   uint64_t tUnsigned64
00100   BASE_TYPES_GCC_DEPRECATE("use uint64_t instead");
00101 typedef
00102   BASE_TYPES_VC_DEPRECATE("use int64_t instead")
00103   int64_t tSigned64
00104   BASE_TYPES_GCC_DEPRECATE("use int64_t instead");
00105 
00106 typedef
00107   BASE_TYPES_VC_DEPRECATE("use size_t instead")
00108   size_t tSize
00109   BASE_TYPES_GCC_DEPRECATE("use size_t instead");
00110 typedef
00111   BASE_TYPES_VC_DEPRECATE("use ptrdiff_t instead")
00112   ptrdiff_t tSSize
00113   BASE_TYPES_GCC_DEPRECATE("use ptrdiff_t instead");
00114 
00115 #endif
00116 
00117 typedef uint16_t tChangedCounter;
00118 
00119 // This is for Qt translation stuff!
00120 #ifndef QT_TR_NOOP
00121 # define QT_TR_NOOP(x) (x)
00122 #endif
00123 #ifndef QT_TRANSLATE_NOOP
00124 # define QT_TRANSLATE_NOOP(scope, x) (x)
00125 #endif
00126 
00127 #endif


fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:23