VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlpi
idTypeMap.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
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
30
class
DT_DLL_VLPROTIND
DtIdTypeMap
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
:
41
DtHashlist
myMappings
;
42
};
43
44
const
DT_DLL_VLPROTIND
DtIdTypeMap
*
DtDatumIdTypeMap
();
45
46
DT_DLL_VLPROTIND
int
DtDatumId2Type
(
DtDatumParam
id
);
47
48
DT_DLL_VLPROTIND
int
DtAddDatumId2TypeMapping
(
DtDatumParam
id
,
int
dataType,
int
warn = 0);
49
50
#endif
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)