VR-Link API Documentation for HLA 1.3
doubleDatatypeRep.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 #include "numberDatatypeRep.h"
10 
11 #include <vlutil/vlString.h>
12 
13 class DtNetFloat64;
14 
19 {
20 public:
22 
24  DtDoubleDatatypeRep(bool useImplicitPadding);
25 
27  virtual ~DtDoubleDatatypeRep();
28 
31 
34 
36  virtual const char* datatype() const;
37 
39  virtual double doubleVal(const void*) const;
40 
42  virtual DtString stringRep(const void* ptr, int* size = 0) const;
43 
45  virtual double numberRep(const void* ptr, int* size = 0) const;
46 
48  virtual std::vector<char> valueFromStringRep(const DtString& stringRep) const;
49 
50 protected:
51 
53  const DtNetFloat64* netValPtr(const void* ptr, int* size=0) const;
54 
55 };
56 
57 
58 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)