00001 // CLASSIFICATION: UNCLASSIFIED 00002 00003 #include "CoordinateSystemParameters.h" 00004 #include "CoordinateType.h" 00005 00006 00007 using namespace MSP::CCS; 00008 00009 00010 CoordinateSystemParameters::CoordinateSystemParameters() : 00011 _coordinateType( CoordinateType::geodetic ) 00012 { 00013 } 00014 00015 CoordinateSystemParameters::CoordinateSystemParameters( MSP::CCS::CoordinateType::Enum __coordinateType ) : 00016 _coordinateType( __coordinateType ) 00017 { 00018 } 00019 00020 00021 CoordinateSystemParameters::CoordinateSystemParameters( const CoordinateSystemParameters &csp ) 00022 { 00023 _coordinateType = csp._coordinateType; 00024 } 00025 00026 00027 CoordinateSystemParameters::~CoordinateSystemParameters() 00028 { 00029 } 00030 00031 00032 CoordinateSystemParameters& CoordinateSystemParameters::operator=( const CoordinateSystemParameters &csp ) 00033 { 00034 if( this != &csp ) 00035 { 00036 _coordinateType = csp._coordinateType; 00037 } 00038 00039 return *this; 00040 } 00041 00042 00043 void CoordinateSystemParameters::setCoordinateType( MSP::CCS::CoordinateType::Enum __coordinateType ) 00044 { 00045 _coordinateType = __coordinateType; 00046 } 00047 00048 00049 CoordinateType::Enum CoordinateSystemParameters::coordinateType() const 00050 { 00051 return _coordinateType; 00052 } 00053 00054 // CLASSIFICATION: UNCLASSIFIED