VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
echelonId.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 #include <vlutil/vlString.h>
11 
12 #include "vrfutil/vrfutilDefines.h"
14 {
15 public:
16  DtEchelonId();
17  virtual ~DtEchelonId();
18 
19  DtEchelonId(const DtEchelonId& orig);
20  DtEchelonId& operator=(const DtEchelonId& orig);
21 
22  virtual bool operator==(const DtEchelonId& rhs) const;
23  virtual bool operator==(const DtString& rhs) const;
24 
25  virtual bool operator!=(const DtEchelonId& rhs) const;
26  virtual bool operator!=(const DtString& rhs) const;
27 
28  virtual void setDesignator(int designator);
29  virtual int designator() const;
30 
31  virtual void setCatagory(const DtString& catagory);
32  virtual const DtString& catagory() const;
33 
34  virtual void setLevel(const DtString& level);
35  virtual const DtString& level() const;
36 
37  virtual void setSuperior(const DtEchelonId& superior);
38  virtual const DtEchelonId& superior() const;
39 
42  virtual const DtString& string() const;
43 
46  virtual bool setFromString(const DtString& str);
47 
49  virtual bool isNull() const;
50 
51  static const DtEchelonId& nullId();
52 
53 protected:
55  virtual void generateStringRep() const;
56 
57 protected:
62 
63  mutable bool myStringRepDirty;
65 };
66 
67 extern const DtEchelonId theNullEchelonId;
68 
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DtEchelonId * mySuperior
Definition: echelonId.h:61
DtString myCatagory
Definition: echelonId.h:59
const DtEchelonId theNullEchelonId
bool myStringRepDirty
Definition: echelonId.h:63
Definition: echelonId.h:13
int myDesignator
Definition: echelonId.h:58
DtString myStringRep
Definition: echelonId.h:64
DtString myLevel
Definition: echelonId.h:60
#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
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)