![]() |
VR-Link API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2011 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 //lint -e740 -e732 00007 00010 00011 #pragma once 00012 #include "vlMachineTypes.h" 00013 00014 #ifdef DtUSE_UTILITIES_NAMESPACE 00015 namespace DtUSE_UTILITIES_NAMESPACE 00016 { 00017 #endif 00018 00022 class DT_DLL_VLUTIL DtU128 00023 { 00024 public: 00025 00028 DtU64 ms64bits; 00029 00032 DtU64 ls64bits; 00033 00034 inline DtU128(); 00035 inline DtU128(const DtU128& f); 00036 inline DtU128(DtU64 f); 00037 inline DtU128& operator=(const DtU128& other); 00038 inline DtU128& operator++(); 00039 inline DtU128 operator++(int unused); 00040 inline DtU128& operator--(); 00041 inline DtU128 operator--(int unused); 00042 00043 }; 00044 00045 inline const DtU128 operator+(const DtU128& lhs, const DtU128& rhs); 00046 inline const DtU128 operator-(const DtU128& lhs, const DtU128& rhs); 00047 inline const DtU128 operator|(const DtU128& lhs, const DtU128& rhs); 00048 inline const DtU128 operator&(const DtU128& lhs, const DtU128& rhs); 00049 inline const bool operator==(const DtU128& lhs, const DtU128& rhs); 00050 inline const bool operator!=(const DtU128& lhs, const DtU128& rhs); 00051 inline const bool operator<(const DtU128& lhs, const DtU128& rhs); 00052 inline const bool operator>(const DtU128& lhs, const DtU128& rhs); 00053 00054 #ifdef DtUSE_UTILITIES_NAMESPACE 00055 } 00056 #endif 00057 00059 #define vlUtilTypes_inl 00060 #include "vlUtilTypes.inl" 00061 #undef vlUtilTypes_inl 00062