00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 #pragma once
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 #include "ippdme/Command/ippCommand.h"
00024 #include "ippdme/ippError.h"
00025 
00026 
00027 class  IPPDME_EXT_CLASS ippGetErrorInfoCommand : public ippCommand
00028 {
00029   
00030 public:
00031   ippGetErrorInfoCommand(unsigned int tgNum);
00032 
00033   ippGetErrorInfoCommand(unsigned int tgNum, ippErrorNameType inErrorNumber); 
00034   virtual ~ippGetErrorInfoCommand(){}
00035 
00036   ippErrorNameType getErrorNumber()const { return _theError.getName(); }
00037   const ippError* getTheError() const { return &_theError; }
00038 
00039   virtual std::string getCommandString() const;
00040 
00041 private:
00042   ippError _theError;
00043 private:
00044   
00045   ippGetErrorInfoCommand(const ippGetErrorInfoCommand&);
00046   void operator=(const ippGetErrorInfoCommand&);
00047 };
00048 IPP_DECLARE_SMARTPOINTER(ippGetErrorInfoCommand);