VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
building.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: building.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 #ifndef building_H_
9 #define building_H_
10 
11 #include "gdb/gdbDefines.h"
12 #include "gdb/gdbCulturalFeature.h"
13 #include "geometry/point.h"
14 
15 typedef enum
16 {
85 // class DtBuilding:
86 //
87 // Instances of DtBuilding are
88 
90 {
91 public:
92 
93  // default constructor
94  DtBuilding();
95 
96  // destructor
97  virtual ~DtBuilding();
98 private:
99  // copy constructor - not implemented
100  DtBuilding(const DtBuilding& orig);
101 
102  // assignment operator - not implemented
103  DtBuilding& operator=(const DtBuilding& orig);
104 
105 public:
106  // return the type of gdbNode the object is
107  inline virtual DtGdbNode::DtGdbNodeType type() const;
108 
109  virtual DtBuildingType buildingType() const;
110  virtual void setBuildingType(DtBuildingType typ);
111 
112  // prints out the contents of the object
113  virtual void dump(int indentLevel) const;
114 
115 protected:
117  DtPoint myLocation; // in database coordinates
118 };
119 
121 {
122  return(DtGdbNode::BUILDING);
123 }
124 
126 {
127  return myType;
128 }
129 
131 {
132  myType = newType;
133 }
134 #endif
135 

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)