Arm4/arm4cpp.h
Go to the documentation of this file.
00001 //-*-Mode: C++;-*- 00002 #ifndef ARM4_CPP_H 00003 #define ARM4_CPP_H 1 00004 00010 #include <inttypes.h> 00011 #include <cstring> 00012 #include <string> 00013 #include <vector> 00014 00015 // include the official ARM 4.1 C header file 00016 #include <arm4.h> 00017 #include <arm41.h> 00018 #include <arm41ext.h> 00019 00020 // check if we are compiling with inlining enabled? 00021 #if defined(ARM4_CPP_INLINING) 00022 #define ARM4_CPP_INLINE inline 00023 #else 00024 #define ARM4_CPP_INLINE 00025 #endif 00026 00027 #if __cplusplus >= 201103L 00028 #define ARM4_CPP_CXX11_DELETED_FUNCTION = delete 00029 #else 00030 #define ARM4_CPP_CXX11_DELETED_FUNCTION 00031 #endif 00032 00036 namespace arm4 00037 { 00038 00042 const std::string NullString; 00043 00048 const std::vector<std::string> NullVector; 00049 00050 00051 // Helper function to convert a float into counter/divisor. 00052 void calculateCntrDivr(float value, int32_t& cntr, int32_t& divr); 00053 00054 } 00055 00419 #endif
Documentation generated on Thu May 24 2018 22:24:17. © 2018 by MyARM GmbH