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/ippIsHomedResponse.h" 00013 #include "ippdme/misc/ippStringBuilder.h" 00014 00015 00016 ippIsHomedResponse::ippIsHomedResponse(unsigned int inTagNumber, bool inHomed) 00017 : ippResponse(inTagNumber, CommandTag, DataIsHomed) 00018 , _homed(inHomed) 00019 { 00020 } 00021 00022 std::string ippIsHomedResponse::getResponseString() const 00023 { 00024 return ippStringBuilder(_tag,"#").AppendFunc("IsHomed",_homed).ToString(); 00025 }