Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippGetCommand.cpp

Go to the documentation of this file.
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/ippGetCommand.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 ippGetCommand::ippGetCommand(
00016   unsigned int tgNum, bool inHasR, bool inHasX, bool inHasY,
00017   bool inHasZ, bool inHasToolA, bool inHasToolB, bool inHasToolC
00018 )
00019   : ippCommand(tgNum, CommandTag, Get)
00020 {
00021   _hasR = inHasR;
00022   _hasX = inHasX;
00023   _hasY = inHasY;
00024   _hasZ = inHasZ;
00025   _hasToolA = inHasToolA;
00026   _hasToolB = inHasToolB;
00027   _hasToolC = inHasToolC;
00028 }
00029 
00030 std::string ippGetCommand::getCommandString() const
00031 {
00032   ippStringBuilder builder(_tag);
00033   builder.StartFunc("Get");
00034   printLikeGet(builder,_hasR, _hasX, _hasY, _hasZ,_hasToolA, _hasToolB, _hasToolC);
00035   builder.EndFunc();
00036   return builder.ToString();
00037 }
00038 

Generated on Wed Nov 8 00:20:01 2006 for IPPDME by  doxygen 1.4.1