From f44483cc73ce2a36229c3f904c4230243a181e51 Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Fri, 11 Oct 2013 01:56:49 +0200 Subject: Release 4.0.5 tarball --- doc/html/RtError_8h-source.html | 47 +++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to 'doc/html/RtError_8h-source.html') diff --git a/doc/html/RtError_8h-source.html b/doc/html/RtError_8h-source.html index 0c736c1..68868de 100644 --- a/doc/html/RtError_8h-source.html +++ b/doc/html/RtError_8h-source.html @@ -8,7 +8,7 @@
Home   Class/Enum List   File List   Compound Members  

- +

RtError.h

00001 /************************************************************************/
 00010 /************************************************************************/
 00011 
@@ -19,45 +19,46 @@
 00016 #include <iostream>
 00017 #include <string>
 00018 
-00019 class RtError : public std::exception
+00019 class RtError : public std::exception
 00020 {
 00021  public:
-00023   enum Type {
-00024     WARNING,           
-00025     DEBUG_WARNING,     
-00026     UNSPECIFIED,       
-00027     NO_DEVICES_FOUND,  
-00028     INVALID_DEVICE,    
-00029     MEMORY_ERROR,      
-00030     INVALID_PARAMETER, 
-00031     INVALID_USE,       
-00032     DRIVER_ERROR,      
-00033     SYSTEM_ERROR,      
-00034     THREAD_ERROR       
+00023   enum Type {
+00024     WARNING,           
+00025     DEBUG_WARNING,     
+00026     UNSPECIFIED,       
+00027     NO_DEVICES_FOUND,  
+00028     INVALID_DEVICE,    
+00029     MEMORY_ERROR,      
+00030     INVALID_PARAMETER, 
+00031     INVALID_USE,       
+00032     DRIVER_ERROR,      
+00033     SYSTEM_ERROR,      
+00034     THREAD_ERROR       
 00035   };
 00036 
-00038   RtError( const std::string& message, Type type = RtError::UNSPECIFIED ) throw() : message_(message), type_(type) {}
+00038   RtError( const std::string& message, Type type = RtError::UNSPECIFIED ) throw() : message_(message), type_(type) {}
 00039  
-00041   virtual ~RtError( void ) throw() {}
+00041   virtual ~RtError( void ) throw() {}
 00042 
-00044   virtual void printMessage( void ) throw() { std::cerr << '\n' << message_ << "\n\n"; }
+00044   virtual void printMessage( void ) throw() { std::cerr << '\n' << message_ << "\n\n"; }
 00045 
-00047   virtual const Type& getType(void) throw() { return type_; }
+00047   virtual const Type& getType(void) throw() { return type_; }
 00048 
-00050   virtual const std::string& getMessage(void) throw() { return message_; }
+00050   virtual const std::string& getMessage(void) throw() { return message_; }
 00051 
-00053   virtual const char* what( void ) const throw() { return message_.c_str(); }
+00053   virtual const char* what( void ) const throw() { return message_.c_str(); }
 00054 
 00055  protected:
 00056   std::string message_;
-00057   Type type_;
+00057   Type type_;
 00058 };
 00059 
 00060 #endif
-

+ +
- +
©2001-2008 Gary P. Scavone, McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.
©2001-2009 Gary P. Scavone, McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.
-- cgit v1.2.3