VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
templatedDecoders.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrfutil/vrfutilDefines.h>
12 
14 
15 class DtRwActivities;
18 class DtRwHazardType;
21 class DtRwUserQuestion;
24 
25 namespace DtBufferSerialize
26 {
27  DT_DLL_vrfutil int getSize(const DtRwActivities& val);
28  DT_DLL_vrfutil const char *decode(DtRwActivities& val, const char *buffer) ;
29  DT_DLL_vrfutil char *encode(const DtRwActivities& val, char *buffer);
30 
31  DT_DLL_vrfutil int getSize(const DtRwHazardType& val);
32  DT_DLL_vrfutil char *encode(const DtRwHazardType& val, char *buffer);
33  DT_DLL_vrfutil const char *decode(DtRwHazardType &val, const char *buffer) ;
34 
36  DT_DLL_vrfutil char *encode(const DtRwHazardAreaInformation& val, char *buffer);
37  DT_DLL_vrfutil const char *decode(DtRwHazardAreaInformation &val, const char *buffer) ;
38 
40  DT_DLL_vrfutil char *encode(const DtRwAffectableEngineeringObject& val, char *buffer);
41  DT_DLL_vrfutil const char *decode(DtRwAffectableEngineeringObject& val, const char *buffer);
42 
43  DT_DLL_vrfutil int getSize(const DtRwUserQuestion& list);
44  DT_DLL_vrfutil char* encode(const DtRwUserQuestion& list, char* buffer);
45  DT_DLL_vrfutil const char* decode(DtRwUserQuestion& list, const char* buffer);
46 
50 
52  DT_DLL_vrfutil const char* decode(DtRwDynamicTerrainInformation&, const char*);
54 
55  DT_DLL_vrfutil int getSize(const DtRwAerodromeLightSetting& contentPtr);
56  DT_DLL_vrfutil char *encode(const DtRwAerodromeLightSetting& adminContentPtr, char *buffer);
57  DT_DLL_vrfutil const char *decode(DtRwAerodromeLightSetting& adminContentPtr, const char *buffer);
58 
59  DT_DLL_vrfutil int getSize(const DtRwRunwayConditionSetting& contentPtr);
60  DT_DLL_vrfutil char *encode(const DtRwRunwayConditionSetting& adminContentPtr, char *buffer);
61  DT_DLL_vrfutil const char *decode(DtRwRunwayConditionSetting& adminContentPtr, const char *buffer);
62 }
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
A hazard type contains hazard area information and the type it applies to.
Definition: rwHazardAreaInformation.h:33
Information on a single possible change for a particular geometry feature in the terrain.
Definition: rwDynamicTerrainChangeInformation.h:21
Definition: rwHazardAreaInformation.h:122
Information on what dynamic changes are possible for a particular geometry feature in the terrain...
Definition: rwDynamicTerrainInformation.h:23
DtRwAerodromeLightSetting holds a target, light group and intensity to set that light group at...
Definition: rwAerodromeLightSetting.h:15
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
DtRwRunwayConditionSetting holds a runway name and a condition to set the runway to.
Definition: rwRunwayConditionSetting.h:15
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DtRwAffectableEngineeringObject holds a the information needed to know how a unit may create a type o...
Definition: rwAffectableEngineeringObject.h:22
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
A DtRwActivities list will contain a list of activities (key/value pair) by entity type that will sup...
Definition: rwActivities.h:20
DtRwUserQuestion contains the contents of a question that is asked to the user.
Definition: rwUserQuestion.h:22

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)