MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
arrayDatatypeRep.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
11 #include "datatypeRep.h"
12 
13 #include <vlutil/vlString.h>
20 {
21 public:
22 
25 
27  virtual ~DtArrayDatatypeRep();
28 
31 
34 
36  virtual const char* datatype() const;
37 
39  virtual DtString stringRep(const void* ptr, int* size = 0) const { return "";}
40 
42  virtual DtString stringRep(const void* ptr, int ptrSize,
43  int* size = 0) const;
44 
46  virtual int byteAlignment() const { return 1; }
47 };
48 
49 
50 
51 
52 
53 
virtual DtString stringRep(const void *ptr, int *size=0) const
Definition: arrayDatatypeRep.h:39
OMT Datatype that works by taking a size and showing a list of datatypes.
Definition: arrayDatatypeRep.h:19
#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
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: arrayDatatypeRep.h:46
DtDatatypeRep & operator=(const DtDatatypeRep &rhs)
Assignment Operator.
Definition: datatypeRep.h:67
virtual const char * datatype() const =0
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 Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)