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/ippGetDMEVersionResponse.h" 00013 #include "ippdme/misc/ippStringBuilder.h" 00014 00015 ippGetDMEVersionResponse::ippGetDMEVersionResponse( 00016 unsigned int inTagNumber 00017 ) 00018 : ippResponse(inTagNumber, CommandTag, DataGetDMEVersion) 00019 { 00020 } 00021 00022 ippGetDMEVersionResponse::ippGetDMEVersionResponse( 00023 unsigned int inTagNumber, 00024 const char * inVersion 00025 ) 00026 : ippResponse(inTagNumber, CommandTag, DataGetDMEVersion) 00027 { 00028 _version=inVersion; 00029 } 00030 00031 ippGetDMEVersionResponse::~ippGetDMEVersionResponse() 00032 { 00033 00034 } 00035 std::string ippGetDMEVersionResponse::getResponseString() const 00036 { 00037 return ippStringBuilder(_tag,"#").AppendFunc("DMEVersion",_version.c_str()).ToString(); 00038 }