![]() |
VR-Link API Documentation for HLA 1516
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *******************************************************************************/ 00007 #pragma once 00008 00009 #include "numberDatatypeRep.h" 00010 00011 #include <vlutil/vlString.h> 00012 00016 class DT_DLL_OMTREADER DtDoubleDatatypeRep : public DtNumberDatatypeRep 00017 { 00018 public: 00019 static int defaultFloatPrecision; 00020 00022 DtDoubleDatatypeRep(); 00023 00025 virtual ~DtDoubleDatatypeRep(); 00026 00028 DtDoubleDatatypeRep(const DtDoubleDatatypeRep& orig); 00029 00031 DtDoubleDatatypeRep& operator=(const DtDoubleDatatypeRep& rhs); 00032 00034 virtual const char* datatype() const; 00035 00037 virtual double doubleVal(const void*) const; 00038 00040 virtual DtString stringRep(const void* ptr, int* size = 0) const; 00041 00043 virtual double numberRep(const void* ptr, int* size = 0) const; 00044 }; 00045 00046 00047