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
vl
enum2string.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#ifndef ENUM2STRING_H_
10
#define ENUM2STRING_H_
11
12
#include <
vlpi/disEnums.h
>
13
#include <
vlutil/vlHashlist.h
>
14
20
21
class
DT_DLL_VL
DtPduKindStringMap
22
{
23
public
:
24
25
DtPduKindStringMap
();
26
~
DtPduKindStringMap
();
27
28
const
char
* addMapping(
DtPduKind
id
,
const
char
* str,
int
warn=0);
29
const
char
* string(
DtPduKind
id
)
const
;
30
31
protected
:
32
DtHashlist
myMappings
;
33
};
34
35
const
DT_DLL_VL
DtPduKindStringMap
*
DtGetPduKindStringMap
();
36
const
DT_DLL_VL
char
*
DtEnumString
(
DtPduKind
kind);
37
const
DT_DLL_VL
char
*
DtAddEnumString
(
DtPduKind
kind,
38
const
char
*str,
int
warn = 0);
39
40
#endif
41
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)