VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
objectMapEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vl/hostStructs.h>
13 #include <readerWriter/rwString.h>
15 #include "vrfutil/rwUUID.h"
16 #include "vrfutil/scenario.h"
17 #include <vlpi/entityType.h>
18 
24 
25 #include "vrfutil/vrfutilDefines.h"
27 {
28 public:
29 
32 
33  DtObjectMapEntry(const DtUUID&, const DtSimulationAddress& address);
34 
36  parentRegistry = 0);
37 
39  virtual ~DtObjectMapEntry();
40 
42  DtObjectMapEntry(const DtString & name, const DtObjectMapEntry & orig,
43  DtReaderWriterRegistry * parentRegistry = 0);
44 
47 
48  virtual DtObjectMapEntry * clone(const DtString & name,
49  DtReaderWriterRegistry * parentRegistry = 0) const;
50 
52  virtual const DtSimulationAddress& address();
53 
55  virtual void setAddress(const DtSimulationAddress& address);
56 
58  virtual const DtUUID& uuid();
59 
63  virtual const char* readerWriterType() const;
64 
66  static const char* theXmlType();
67 
68  virtual const char* xmlType() const
69  {
70  return theXmlType();
71  }
72 
74  virtual void setAdditionalScenarioData(const DtScenario::ScenarioData&);
75  virtual const DtScenario::ScenarioData& additionalScenarioData() const;
76 
77 protected:
78 
81 
85 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtRwUUID myUUID
Definition: objectMapEntry.h:80
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...
Scenario data that can be read from the order of battle file.
Definition: scenario.h:56
DtRwSimulationAddress myAddress
Definition: objectMapEntry.h:79
Definition: readerWriter.h:85
class DtRwSimulationAddress:
Definition: rwSimulationAddress.h:19
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
virtual const char * xmlType() const
Definition: objectMapEntry.h:68
Description: Readable, Writable uuid string. Use this class in order to convert from object marking t...
Definition: rwUUID.h:431
class DtObjectMapEntry:
Definition: objectMapEntry.h:26
DtScenario::ScenarioData myScenarioData
If available, some additional information about objects that are in the scenario to be loaded...
Definition: objectMapEntry.h:84
#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.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)