00001 // 00002 // DISCLAIMER: 00003 // This software was produced by the National Institute of Standards 00004 // and Technology (NIST), an agency of the U.S. government, and by statute is 00005 // not subject to copyright in the United States. Recipients of this 00006 // software assume all responsibility associated with its operation, 00007 // modification,maintenance, and subsequent redistribution. 00008 // 00009 // See NIST Administration Manual 4.09.07 b and Appendix I. 00010 // 00011 #include "stdafx.h" 00012 #include "ippdme/Response/ippGetCoordSystemResponse.h" 00013 #include "ippdme/misc/ippStringBuilder.h" 00014 00015 00016 00017 ippGetCoordSystemResponse::ippGetCoordSystemResponse( 00018 unsigned int inTagNumber, 00019 ippCoordSysType inCoordSys 00020 ) 00021 : ippResponse(inTagNumber, CommandTag, DataGetCoordSystem) 00022 { 00023 _coordSys = inCoordSys; 00024 } 00025 00026 ippGetCoordSystemResponse::~ippGetCoordSystemResponse() 00027 { 00028 } 00029 00030 std::string ippGetCoordSystemResponse::getResponseString() const 00031 { 00032 ippStringBuilder builder(_tag,"#"); 00033 builder.StartFunc("CoordSystem"); 00034 builder.AppendParam(_coordSys); 00035 builder.EndFunc(); 00036 return builder.ToString(); 00037 }