VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
idTypeMap.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef idTypeMap_H_
7 #define idTypeMap_H_
8 
11 
12 #include <vlutil/vlMachineTypes.h>
13 #include <vlutil/vlHashlist.h>
14 #include "disEnums.h"
15 
16 #define DtTYPE_NOT_DEFINED -1
17 #define DtTYPE_BYTE_ARRAY 1
18 #define DtTYPE_FLOAT32 2
19 #define DtTYPE_FLOAT64 3
20 #define DtTYPE_INT32 4
21 #define DtTYPE_UNSIGNED32 5
22 #define DtTYPE_STRING 6
23 
31 {
32 public:
33 
34  DtIdTypeMap();
35  ~DtIdTypeMap();
36 
37  int addMapping(DtDatumParam id, int dataType, int warn=1);
38  int type(DtDatumParam id) const;
39 
40 protected:
42 };
43 
45 
47 
48 DT_DLL_VLPROTIND int DtAddDatumId2TypeMapping(DtDatumParam id, int dataType, int warn = 0);
49 
50 #endif
DT_DLL_VLPROTIND int DtAddDatumId2TypeMapping(DtDatumParam id, int dataType, int warn=0)
DT_DLL_VLPROTIND int DtDatumId2Type(DtDatumParam id)
Defines DtHashlist and several helper functions.
DtHashlist myMappings
Definition: idTypeMap.h:41
const DT_DLL_VLPROTIND DtIdTypeMap * DtDatumIdTypeMap()
#define DT_DLL_VLPROTIND
Definition: vlMachineTypes.h:110
DtHashlist is deprecated and provided for backwards compatibility only.
Definition: vlHashlist.h:69
Contains the standard DIS enumerations.
DtDatumParam
([UID 66]) - Datum ID
Definition: disEnums.h:505
This file contains typedefs for machine dependant types.
Instances of this class are used to conveniently associate datum ids with types.
Definition: idTypeMap.h:30

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)