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

ippGetErrorInfoCommand.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 
00013 #include "ippdme/Command/ippGetErrorInfoCommand.h"
00014 #include "ippdme/misc/ippStringBuilder.h"
00015 
00016 ippGetErrorInfoCommand::ippGetErrorInfoCommand(unsigned int tgNum)
00017   : ippCommand(tgNum, CommandTag, ipp::GetErrorInfo)
00018   , _theError(GenericError)
00019 {
00020 }
00021 
00022 ippGetErrorInfoCommand::ippGetErrorInfoCommand(unsigned int tgNum, ippErrorNameType inErrorNumber)
00023   : ippCommand(tgNum, CommandTag, ipp::GetErrorInfo)
00024   , _theError(inErrorNumber)
00025 {
00026 }
00027 
00028 std::string ippGetErrorInfoCommand::getCommandString() const
00029 {
00030   ippStringBuilder builder(_tag);
00031   builder.AppendFunc("GetErrorInfo",getErrorNumber());
00032   return builder.ToString();
00033 }
00034 

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