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/Command/ippGetPropECommand.h" 00013 #include "ippdme/misc/ippStringBuilder.h" 00014 00015 00016 00017 ippGetPropECommand::ippGetPropECommand(unsigned int tgNum) 00018 : ippGetPropCommand(tgNum, EventTag, ipp::GetPropE) 00019 { 00020 } 00021 ippGetPropECommand::~ippGetPropECommand() 00022 { 00023 } 00024 00025 std::string ippGetPropECommand::getCommandString() const 00026 { 00027 ippStringBuilder builder(_tag); 00028 builder.StartFunc("GetPropE"); 00029 for (int m = 0; m < getNumberProps(); m++) { 00030 builder.AppendFunc(getProp(m).toString().c_str()); 00031 } 00032 builder.EndFunc(); 00033 return builder.ToString(); 00034 } 00035