MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 class DtNetFloat64;
15 class DtDatatypeManager;
16 class DtObjectHistory;
17 
19 {
20 public:
21 
23  DtDefinedDatatypeRep(bool useImplicitPadding);
24 
26  virtual ~DtDefinedDatatypeRep();
27 
28  virtual DtString stringRep(const void* ptr, int* size, DtObjectHistory* hist) const = 0;
29  virtual DtStringTree* createTreeRep(const void* ptr, int* size = 0, DtObjectHistory* hist = 0) const = 0;
30 
31  //Returns the nonmodified string
32  virtual DtString originalStringRep(const void* ptr, int* size = 0, DtObjectHistory* hist = 0) const = 0;
33 
34 protected:
35 
37  const DtNetFloat64* locationPtr(DtDatatypeManager& dataMgr, DtObjectHistory* objHist) const;
38 
39 };
40 
41 
42 
43 
Definition: definedDatatypeRep.h:18
This class handles the conversion between a byte stream and an English readable view of the data in a...
Definition: datatypeManager.h:41
#define DT_DLL_OMTREADER
Definition: omtReader.h:23
A Datatype Representation is a class that can take a group of bytes and display them in a certain typ...
Definition: datatypeRep.h:20
Definition: objectHistory.h:36
Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold m...
Definition: stringTree.h:16
virtual DtString stringRep(const void *ptr, int *size=0) const =0
Given a byte string, returns a character string in a format that is easily read by a person...

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)