VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entAltitudeSearch.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: entAltitudeSrch.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtEntAltitudeSearch_H_
13 #define DtEntAltitudeSearch_H_
14 
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlMachineTypes.h>
18 
19 
20 class DtVrfObject;
21 
30 
33 {
34 public:
35 
38 
40  virtual ~DtEntAltitudeSearch();
41 
42  void setOper(const DtString&);
43  const DtString& oper() const;
44 
45  void setAltitude(double);
46  double altitude() const;
47 
48 protected:
49 
51  virtual bool initializeSearch(const DtVrfObjectManager* vrfObjectManager);
52 
54  virtual bool inspectEntity(const DtVrfObject& entity);
55 
59  virtual bool searchSubordinates(
60  const DtVrfObject& pAggEntity, bool excludeDestroyed);
61 
63  virtual bool atAltitude(const DtVector&, double alt, const DtString& oper) const;
64 
65 private:
68 
71 
72 protected:
73  double myAltitude;
75 };
76 
78 {
79  myOperator = o;
80 }
81 
82 inline const DtString& DtEntAltitudeSearch::oper() const
83 {
84  return myOperator;
85 }
86 
87 inline void DtEntAltitudeSearch::setAltitude(double d)
88 {
89  myAltitude = d;
90 }
91 
92 inline double DtEntAltitudeSearch::altitude() const
93 {
94  return myAltitude;
95 }
96 
97 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)