![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *******************************************************************************/ 00007 #pragma once 00008 00009 #include "datatypeRep.h" 00010 00011 #include <vlutil/vlString.h> 00012 00016 class DT_DLL_OMTREADER DtIntDatatypeRep : public DtDatatypeRep 00017 { 00018 public: 00019 00021 DtIntDatatypeRep(bool unsign = false); 00022 00024 virtual ~DtIntDatatypeRep(); 00025 00027 DtIntDatatypeRep(const DtIntDatatypeRep& orig); 00028 00030 DtIntDatatypeRep& operator=(const DtIntDatatypeRep& rhs); 00031 00033 virtual const char* datatype() const; 00034 00039 static int intVal(const void*); 00040 00042 virtual unsigned unsignedIntVal(const void*) const; 00043 00045 virtual DtString stringRep(const void* ptr, int* size = 0) const; 00046 00048 virtual double numberRep(const void* ptr, int* size = 0) const; 00049 00050 virtual void setUnsigned(bool); 00051 00052 protected: 00053 bool myIsUnsigned; 00054 }; 00055 00056