VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)