KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EnumInformationOperations.h
Go to the documentation of this file.
1 /*********************************************************************
2 Copyright 2013 Karl Jones
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 
8 1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 For Further Information Please Contact me at
26 Karljj1@yahoo.com
27 http://p.sf.net/kdis/UserGuide
28 *********************************************************************/
29 
30 /********************************************************************
31  EnumInformationOperations
32  created: 16/11/2010
33  author: Karl Jones
34 
35  purpose: Enums used for Information Operations from DIS version 7.
36 *********************************************************************/
37 
38 #pragma once
39 
40 #include "./EnumDescriptor.h"
41 
42 namespace KDIS {
43 namespace DATA_TYPE {
44 namespace ENUMS {
45 
46 /************************************************************************/
47 /* WarfareType */
48 /* Identifies the type of IO warfare */
49 /* Used In: */
50 /* IO_Action_PDU */
51 /************************************************************************/
52 
54 {
62 };
63 
65 
66 // Returns true if a value was found.
67 KBOOL GetEnumFromStringWarfareType( const KString & Value, KINT32 & ValueOut );
68 
69 /************************************************************************/
70 /* ActionType */
71 /* The IO Action Type */
72 /* Used In: */
73 /* IO_Action_PDU */
74 /************************************************************************/
75 
77 {
81 };
82 
84 
85 // Returns true if a value was found.
86 KBOOL GetEnumFromStringActionType( const KString & Value, KINT32 & ValueOut );
87 
88 /************************************************************************/
89 /* ActionPhase */
90 /* The IO Action Phase */
91 /* Used In: */
92 /* IO_Action_PDU */
93 /************************************************************************/
94 
96 {
104 };
105 
107 
108 // Returns true if a value was found.
109 KBOOL GetEnumFromStringActionPhase( const KString & Value, KINT32 & ValueOut );
110 
111 /************************************************************************/
112 /* Standard Variable Type */
113 /* */
114 /* Used In: */
115 /* StandardVariable */
116 /************************************************************************/
117 
119 {
120  // Directed Energy Types
123  // Information Operations Types
126 };
127 
129 
130 // Returns true if a value was found.
131 KBOOL GetEnumFromStringStandardVariableType( const KString & Value, KINT32 & ValueOut );
132 
133 /************************************************************************/
134 /* IOCommunicationsNodeType */
135 /* Identifies the type of communication node. */
136 /* Used In: */
137 /* IOCommunicationsNodeType */
138 /************************************************************************/
139 
141 {
146 };
147 
149 
150 // Returns true if a value was found.
152 
153 /************************************************************************/
154 /* IOStatus */
155 /* Indicates whether the IO effect has an effect on the sender, receiver*/
156 /* ,message(s) or some combination of them. */
157 /* Used In: */
158 /* IOEffect */
159 /************************************************************************/
160 
162 {
171 };
172 
174 
175 // Returns true if a value was found.
176 KBOOL GetEnumFromStringIOStatus( const KString & Value, KINT32 & ValueOut );
177 
178 /************************************************************************/
179 /* IOLinkType */
180 /* Indicates the IO link type as a logical or physical link or node */
181 /* Used In: */
182 /* IOEffect */
183 /************************************************************************/
184 
186 {
191 };
192 
194 
195 // Returns true if a value was found.
196 KBOOL GetEnumFromStringIOLinkType( const KString & Value, KINT32 & ValueOut );
197 
198 /************************************************************************/
199 /* IOEffectType */
200 /* Indicates the IO effect associated with an IO attack. */
201 /* Used In: */
202 /* IOEffect */
203 /************************************************************************/
204 
206 {
208  Denial = 1,
209  Degraded = 2,
210  Disrupt = 3,
213 };
214 
216 
217 // Returns true if a value was found.
218 KBOOL GetEnumFromStringIOEffectType( const KString & Value, KINT32 & ValueOut );
219 
220 /************************************************************************/
221 /* IOReportType */
222 /* Indicates the the type of IO report. */
223 /* Used In: */
224 /* IO_Report_PDU */
225 /************************************************************************/
226 
228 {
232 };
233 
235 
236 // Returns true if a value was found.
237 KBOOL GetEnumFromStringIOReportType( const KString & Value, KINT32 & ValueOut );
238 
239 } // END namespace ENUMS
240 } // END namespace DATA_TYPES
241 } // END namespace KDIS
KString GetEnumAsStringIOLinkType(KINT32 Value)
Definition: EnumInformationOperations.h:163
KString GetEnumAsStringWarfareType(KINT32 Value)
Definition: EnumInformationOperations.h:142
Definition: EnumInformationOperations.h:124
Definition: EnumInformationOperations.h:230
Definition: EnumInformationOperations.h:101
Definition: EnumInformationOperations.h:79
KString GetEnumAsStringActionPhase(KINT32 Value)
Definition: EnumInformationOperations.h:78
Definition: EnumInformationOperations.h:190
Definition: EnumInformationOperations.h:60
Definition: EnumInformationOperations.h:187
Definition: EnumInformationOperations.h:208
Definition: EnumInformationOperations.h:231
Definition: EnumInformationOperations.h:170
Definition: EnumInformationOperations.h:212
KBOOL GetEnumFromStringActionPhase(const KString &Value, KINT32 &ValueOut)
Definition: EnumInformationOperations.h:125
Definition: EnumInformationOperations.h:97
WarfareType
Definition: EnumInformationOperations.h:53
KBOOL GetEnumFromStringIOReportType(const KString &Value, KINT32 &ValueOut)
Definition: EnumInformationOperations.h:61
Definition: EnumInformationOperations.h:55
Definition: EnumInformationOperations.h:164
ActionType
Definition: EnumInformationOperations.h:76
Definition: EnumInformationOperations.h:166
Definition: EnumInformationOperations.h:209
StandardVariableType
Definition: EnumInformationOperations.h:118
KBOOL GetEnumFromStringIOEffectType(const KString &Value, KINT32 &ValueOut)
IOStatus
Definition: EnumInformationOperations.h:161
IOEffectType
Definition: EnumInformationOperations.h:205
KString GetEnumAsStringActionType(KINT32 Value)
KString GetEnumAsStringIOEffectType(KINT32 Value)
KString GetEnumAsStringIOReportType(KINT32 Value)
Definition: EnumInformationOperations.h:145
KBOOL GetEnumFromStringActionType(const KString &Value, KINT32 &ValueOut)
int KINT32
Definition: KDefines.h:104
Definition: EnumInformationOperations.h:122
Definition: EnumInformationOperations.h:100
KBOOL GetEnumFromStringIOCommunicationsNodeType(const KString &Value, KINT32 &ValueOut)
bool KBOOL
Definition: KDefines.h:119
IOCommunicationsNodeType
Definition: EnumInformationOperations.h:140
KString GetEnumAsStringIOCommunicationsNodeType(KINT32 Value)
Definition: EnumInformationOperations.h:143
Definition: EnumInformationOperations.h:165
Definition: EnumInformationOperations.h:56
Definition: EnumInformationOperations.h:59
Definition: EnumInformationOperations.h:210
std::string KString
Definition: KDefines.h:116
Definition: EnumInformationOperations.h:58
Definition: EnumInformationOperations.h:102
Definition: EnumInformationOperations.h:80
Definition: EnumInformationOperations.h:207
KBOOL GetEnumFromStringWarfareType(const KString &Value, KINT32 &ValueOut)
Definition: EnumInformationOperations.h:98
KBOOL GetEnumFromStringIOLinkType(const KString &Value, KINT32 &ValueOut)
KString GetEnumAsStringIOStatus(KINT32 Value)
IOLinkType
Definition: EnumInformationOperations.h:185
Definition: EnumInformationOperations.h:211
Definition: EnumInformationOperations.h:169
ActionPhase
Definition: EnumInformationOperations.h:95
KString GetEnumAsStringStandardVariableType(KINT32 Value)
Definition: EnumInformationOperations.h:103
Definition: EnumInformationOperations.h:167
Definition: EnumInformationOperations.h:99
Definition: EnumInformationOperations.h:168
KBOOL GetEnumFromStringStandardVariableType(const KString &Value, KINT32 &ValueOut)
Definition: EnumInformationOperations.h:57
Definition: EnumInformationOperations.h:121
Definition: EnumInformationOperations.h:189
Definition: EnumInformationOperations.h:144
KBOOL GetEnumFromStringIOStatus(const KString &Value, KINT32 &ValueOut)
IOReportType
Definition: EnumInformationOperations.h:227
Definition: EnumInformationOperations.h:229
Definition: EnumInformationOperations.h:188