VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
formationEntry.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: formEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
13 
14 #ifndef DtFormationEntry_H_
15 #define DtFormationEntry_H_
16 
17 #include "vrfutil/readerWriter.h"
18 #include "vrfutil/rwInt.h"
19 #include "vrfutil/rwVector.h"
20 #include "vrfutil/rwString.h"
21 
27 #include "vrfutil/vrfutilDefines.h"
29 {
30 public:
31 
34 
37  parentRegistry = NULL);
39  parentRegistry = NULL);
40 
42  virtual ~DtFormationEntry();
43 
45  DtFormationEntry(const DtString& name, const DtFormationEntry& orig,
46  DtReaderWriterRegistry* parentRegistry = NULL);
47  DtFormationEntry(const DtSymbolString& name, const DtFormationEntry& orig,
48  DtReaderWriterRegistry* parentRegistry = NULL);
49 
52 
55  virtual const DtRwInt& promotionId() const;
56  virtual void setPromotionId(int id);
58 
61  virtual const DtRwInt& leaderPromotionId() const;
62  virtual void setLeaderPromotionId(int id);
64 
67  virtual const DtRwVector& positionOffset() const;
68  virtual void setPositionOffset(const DtVector& offset);
70 
73  virtual const DtRwString& subordinateFormation() const;
74  virtual void setSubordinateFormation(const DtString& formationName);
76 
79  virtual void setListItem(DtListItem* item);
80  virtual DtListItem* listItem();
82 
84  DtFormationEntry* clone(const DtString& name,
85  DtReaderWriterRegistry* parentRegistry = NULL);
86  DtFormationEntry* clone(const DtSymbolString& name,
87  DtReaderWriterRegistry* parentRegistry = NULL);
88 
89 
90  bool operator==(const DtFormationEntry&) const;
91  bool operator!=(const DtFormationEntry&) const;
92 
93 protected:
94 
98 
106 
113 
120 
130 
131  DtListItem* myListItem;
132 };
133 
134 #endif

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)