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/ippScanOnLineHintCommand.h" 00014 #include "ippdme/misc/ippStringBuilder.h" 00015 00016 ippScanOnLineHintCommand::ippScanOnLineHintCommand( 00017 unsigned int tgNum, double inAngle, double inForm 00018 ) 00019 : ippCommand(tgNum, CommandTag, ScanOnLineHint) 00020 { 00021 _angle = inAngle; 00022 _form = inForm; 00023 } 00024 00025 ippScanOnLineHintCommand::~ippScanOnLineHintCommand() 00026 { 00027 } 00028 00029 00030 std::string ippScanOnLineHintCommand::getCommandString() const 00031 { 00032 ippStringBuilder builder(_tag); 00033 builder.StartFunc("ScanOnLineHint"); 00034 builder.AppendParam(_angle); 00035 builder.AppendParam(_form); 00036 builder.EndFunc(); 00037 return builder.ToString(); 00038 00039 }