VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stringDatatypeRep.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 <vlutil/vlString.h>
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
21 {
22 public:
23 
26 
28  virtual ~DtStringDatatypeRep();
29 
32 
34  DtStringDatatypeRep& operator=(const DtStringDatatypeRep& rhs);
35 
37  virtual const char* datatype() const;
38 
40  virtual DtString stringRep(const void* ptr, int* size = 0) const;
41 
43  virtual std::vector<char> valueFromStringRep(const DtString& stringRep) const;
44 
46  virtual int byteAlignment() const { return 1; };
47 };
48 
49 
50 #ifdef DtUSE_UTILITIES_NAMESPACE
51 } // end of namespace DtUSE_UTILITIES_NAMESPACE
52 #endif
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: stringDatatypeRep.h:46
Instances of DtString are used to represent strings.
Definition: vlString.h:29
OMT Datatype of type string.
Definition: stringDatatypeRep.h:20

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)