VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwRunwayConditionSetting.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <readerWriter/rwInt.h>
13 
16 {
17 public:
19  {
20  DtUnknownCondition = 0,
21  Undamaged = 0,
22  Damaged = 1,
23  Inactive = 0,
24  Active = 1,
25  DtDry = 1,
26  DtWet = 2,
27  DtIce = 3,
28  DtSnow = 4
29  };
30 
31 public:
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
36  DtReaderWriterRegistry *parentRegistry = 0);
37 
40 
43 
44  bool operator==(const DtRwRunwayConditionSetting& rhs) const;
45 
47  virtual ~DtRwRunwayConditionSetting() override;
48 
49  virtual const char* readerWriterType() const override;
50 
52  static const char* theXmlType();
53 
54  virtual const char* xmlType() const override
55  {
56  return theXmlType();
57  }
58 
62  virtual void setRunway(const DtString&);
63  const DtString& runway() const { return myRunway; };
64 
70  virtual void setCondition(int);
71  int condition() const { return myCondition; };
72 
74 
75 protected:
78 
79 protected:
83 };
84 
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
DtRwInt myCondition
Definition: rwRunwayConditionSetting.h:81
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwTemplatedListPtr< DtRwRunwayConditionSetting, true > DtRwRunwayConditionSettingsList
Definition: rwRunwayConditionSetting.h:85
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
DtRwString myRunway
Definition: rwRunwayConditionSetting.h:80
Description: Readable, Writable int.
Definition: rwInt.h:25
int condition() const
Accessors ************************************Individual runway for individual runway, both runway names for both runways or All for all runways.
Definition: rwRunwayConditionSetting.h:71
SurfaceCondition
Definition: rwRunwayConditionSetting.h:18
DtRwRunwayConditionSetting holds a runway name and a condition to set the runway to.
Definition: rwRunwayConditionSetting.h:15
virtual const char * xmlType() const override
Definition: rwRunwayConditionSetting.h:54
#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
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
const DtString & runway() const
Accessors ************************************Individual runway for individual runway, both runway names for both runways or All for all runways.
Definition: rwRunwayConditionSetting.h:63

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)