VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
definedDatatypeRep.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 "datatypeRep.h"
12 
13 #include "stringTree.h"
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
18 class DtNetFloat64;
19 class DtDatatypeManager;
20 class DtObjectHistory;
21 
23 {
24 public:
25 
27  DtDefinedDatatypeRep(bool useImplicitPadding);
28 
30  virtual ~DtDefinedDatatypeRep();
31 
32  virtual DtString stringRep(const void* ptr, int* size, DtObjectHistory* hist) const = 0;
33  virtual DtStringTree* createTreeRep(const void* ptr, int* size = 0, DtObjectHistory* hist = 0) const = 0;
34 
35  //Returns the nonmodified string
36  virtual DtString originalStringRep(const void* ptr, int* size = 0, DtObjectHistory* hist = 0) const = 0;
37 
38 protected:
39 
41  const DtNetFloat64* locationPtr(DtDatatypeManager& dataMgr, DtObjectHistory* objHist) const;
42 
43 };
44 
45 
46 #ifdef DtUSE_UTILITIES_NAMESPACE
47 } // end of namespace DtUSE_UTILITIES_NAMESPACE
48 #endif

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)