VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
byteDatatypeRep.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 
10 
11 #include "numberDatatypeRep.h"
12 #ifdef DtUSE_UTILITIES_NAMESPACE
13 namespace DtUSE_UTILITIES_NAMESPACE
14 {
15 #endif
16 
17 
18 
20 {
21 public:
22 
25 
27  virtual ~DtByteDatatypeRep();
28 
31 
33  DtByteDatatypeRep& operator=(const DtByteDatatypeRep& rhs);
34 
36  virtual const char* datatype() const;
37 
39  virtual int byteVal(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 
51  virtual int byteAlignment() const { return 1; };
52 };
53 
54 
55 
56 #ifdef DtUSE_UTILITIES_NAMESPACE
57 } // end of namespace DtUSE_UTILITIES_NAMESPACE
58 #endif

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)