VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
targetPriorityEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include "vrfutil/rwEntityType.h"
15 #include <readerWriter/rwInt.h>
16 
22 {
23 public:
26 
29  parentRegistry = 0);
30 
33  orig, DtReaderWriterRegistry * parentRegistry = 0);
34 
37 
38  virtual ~DtTargetPriorityEntry();
39 
40  virtual DtTargetPriorityEntry * clone(const DtString & name,
41  DtReaderWriterRegistry * parentRegistry = 0) const;
42 
45  virtual void setEntityType(const DtEntityType& entityType);
46  virtual const DtRwEntityType& entityType() const;
48 
51  virtual void setPriority(int priority);
52  virtual int priority() const;
54 
55  bool operator==(const DtTargetPriorityEntry&) const;
56 
60  virtual const char* readerWriterType() const;
61 
63  static const char* theXmlType();
64 
65  virtual const char* xmlType() const
66  {
67  return theXmlType();
68  }
69 
70 protected:
74 
80 
86 
88 };
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...
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: readerWriter.h:85
virtual const char * xmlType() const
Definition: targetPriorityEntry.h:65
DtRwInt myPriority
Parameter Name: priority Parameter Description: The priority assigned to this entity type when creati...
Definition: targetPriorityEntry.h:85
Definition: readerWriterRegistry.h:39
DtRwEntityType myEntityType
Parameter Name: entity-type Parameter Description: DIS/RPR enumerated entity type associated with pri...
Definition: targetPriorityEntry.h:79
Description: Readable, Writable int.
Definition: rwInt.h:25
File: rwEntType.h.
Definition: rwEntityType.h:23
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DtTargetPriorityEntry; readable/writeable representation of a prioritized entity type.
Definition: targetPriorityEntry.h:21

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)