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

ippError.h

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. 
00011 
00015 #pragma once
00016 
00017 #include "ippdme/ippdme.h"
00018 #include "ippdme/ippErrorNameType.h"
00019 
00020 class IPPDME_EXT_CLASS ippError {
00021   ippErrorNameType _t;
00022 public:
00023   ippError(ippErrorNameType type = GenericError);
00024 
00025   ippErrorNameType getName() const { return _t; }
00026   char getSeverity() const { return _t.severity(); }
00027   std::string getText() const { return _t.toString(); }
00028 };
00029 
00030 

Generated on Wed Nov 8 00:19:58 2006 for IPPDME by  doxygen 1.4.1