00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMPSSurfaceLocation_h
00019 #define _seDRMPSSurfaceLocation_h
00020
00021 #include "seDRMLocationSurface.h"
00022
00023 namespace sedris {
00024
00030 class seDRMPSSurfaceLocation : public seDRMLocationSurface
00031 {
00032 public:
00033
00035 seDRMPSSurfaceLocation() {}
00036
00038 seDRMPSSurfaceLocation( const seObject &other ) : seDRMLocationSurface(other) {}
00039
00041 const SRM_Map_Projection_Surface_Coordinate& get_coordinate() { DRMBASE_RET_FIELDS(PS_Surface_Location, coordinate); }
00042
00044 void set_coordinate( const SRM_Map_Projection_Surface_Coordinate &val ) { DRMBASE_SET_FIELDS(PS_Surface_Location, coordinate, val); }
00045
00047 void set_coordinate( SRM_Long_Float easting, SRM_Long_Float northing ) {
00048 DRMBASE_ALLOC_FIELDS;
00049 DRMBASE_SET_FIELDS_S(PS_Surface_Location, coordinate, easting, easting);
00050 DRMBASE_SET_FIELDS_S(PS_Surface_Location, coordinate, northing, northing);
00051 }
00052
00054 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_PS_SURFACE_LOCATION; }
00055
00056 };
00057
00058 }
00059
00060 #endif // _seDRMPSSurfaceLocation_h