VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arrayDatatypeRep.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
11 #include "datatypeRep.h"
12 
13 #include <vlutil/vlString.h>
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
24 {
25 public:
26 
29 
31  virtual ~DtArrayDatatypeRep();
32 
35 
37  DtArrayDatatypeRep& operator=(const DtArrayDatatypeRep& rhs);
38 
40  virtual const char* datatype() const;
41 
43  virtual DtString stringRep(const void* ptr, int* size = 0) const { return "";}
44 
46  virtual DtString stringRep(const void* ptr, int ptrSize,
47  int* size = 0) const;
48 
50  virtual int byteAlignment() const { return 1; }
51 };
52 
53 
54 
55 
56 #ifdef DtUSE_UTILITIES_NAMESPACE
57 } // end of namespace DtUSE_UTILITIES_NAMESPACE
58 #endif
virtual DtString stringRep(const void *ptr, int *size=0) const
Definition: arrayDatatypeRep.h:43
OMT Datatype that works by taking a size and showing a list of datatypes.
Definition: arrayDatatypeRep.h:23
Contains the DtString class declaration.
#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
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: arrayDatatypeRep.h:50
Instances of DtString are used to represent strings.
Definition: vlString.h:36

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)