VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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 Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)