![]() |
VR-Link API Documentation for HLA Evolved
|
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 DtLongDatatypeRep : public DtNumberDatatypeRep 00017 { 00018 public: 00019 00021 DtLongDatatypeRep(bool unsign = false); 00022 00024 virtual ~DtLongDatatypeRep(); 00025 00027 DtLongDatatypeRep(const DtLongDatatypeRep& orig); 00028 00030 DtLongDatatypeRep& operator=(const DtLongDatatypeRep& rhs); 00031 00033 virtual const char* datatype() const; 00034 00036 virtual long long longVal(const void*) const; 00037 00039 virtual unsigned long long unsignedLongVal(const void*) const; 00040 00042 virtual DtString stringRep(const void* ptr, int* size = 0) const; 00043 00045 virtual double numberRep(const void* ptr, int* size = 0) const; 00046 00047 virtual void setUnsigned(bool); 00048 00049 protected: 00050 bool myIsUnsigned; 00051 }; 00052