VR-Link API Documentation for HLA 1516
 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 MAK Technologies, Inc
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
Definition: definedDatatypeRep.h:22
This class handles the conversion between a byte stream and an English readable view of the data in a...
Definition: datatypeManager.h:45
#define DT_DLL_OMTREADER
Definition: omtReader.h:27
A Datatype Representation is a class that can take a group of bytes and display them in a certain typ...
Definition: datatypeRep.h:24
Definition: objectHistory.h:40
Network-order 64-bit IEEE-754 floating-point quantity.
Definition: vlNetTypes.h:174
Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold m...
Definition: stringTree.h:20
Instances of DtString are used to represent strings.
Definition: vlString.h:29

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)