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 00013 #include "ippdme/Command/ippFindToolCommand.h" 00014 #include "ippdme/misc/ippStringBuilder.h" 00015 00016 ippFindToolCommand::ippFindToolCommand( 00017 unsigned int tgNum, 00018 const char * inToolName 00019 ) 00020 : ippCommand(tgNum, CommandTag, FindTool) 00021 { 00022 _toolName = inToolName; 00023 } 00024 00025 std::string ippFindToolCommand::getCommandString() const 00026 { 00027 ippStringBuilder builder(_tag); 00028 builder.StartFunc("FindTool"); 00029 builder.AppendParam(_toolName); 00030 builder.EndFunc(); 00031 return builder.ToString(); 00032 }