From 4ef34bb4fd4e53cbfbc9dc1c0604ec55972c11ff Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Fri, 11 Oct 2013 15:15:25 +0200 Subject: Release 1.0.8 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 ec9897d..4f7ad8a 100644 --- a/doc/html/RtError_8h-source.html +++ b/doc/html/RtError_8h-source.html @@ -7,7 +7,7 @@
Tutorial   Class/Enum List   File List   Compound Members  

- +

RtError.h

00001 /************************************************************************/
 00010 /************************************************************************/
 00011 
@@ -17,46 +17,47 @@
 00015 #include <iostream>
 00016 #include <string>
 00017 
-00018 class RtError
+00018 class RtError
 00019 {
 00020 public:
-00022   enum Type {
-00023     WARNING,           
-00024     DEBUG_WARNING,     
-00025     UNSPECIFIED,       
-00026     NO_DEVICES_FOUND,  
-00027     INVALID_DEVICE,    
-00028     INVALID_STREAM,    
-00029     MEMORY_ERROR,      
-00030     INVALID_PARAMETER, 
-00031     DRIVER_ERROR,      
-00032     SYSTEM_ERROR,      
-00033     THREAD_ERROR       
+00022   enum Type {
+00023     WARNING,           
+00024     DEBUG_WARNING,     
+00025     UNSPECIFIED,       
+00026     NO_DEVICES_FOUND,  
+00027     INVALID_DEVICE,    
+00028     INVALID_STREAM,    
+00029     MEMORY_ERROR,      
+00030     INVALID_PARAMETER, 
+00031     DRIVER_ERROR,      
+00032     SYSTEM_ERROR,      
+00033     THREAD_ERROR       
 00034   };
 00035 
 00036 protected:
 00037   std::string message_;
-00038   Type type_;
+00038   Type type_;
 00039 
 00040 public:
-00042   RtError(const std::string& message, Type type = RtError::UNSPECIFIED) : message_(message), type_(type) {}
+00042   RtError(const std::string& message, Type type = RtError::UNSPECIFIED) : message_(message), type_(type) {}
 00043 
-00045   virtual ~RtError(void) {};
+00045   virtual ~RtError(void) {};
 00046 
-00048   virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
+00048   virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
 00049 
-00051   virtual const Type& getType(void) { return type_; }
+00051   virtual const Type& getType(void) { return type_; }
 00052 
-00054   virtual const std::string& getMessage(void) { return message_; }
+00054   virtual const std::string& getMessage(void) { return message_; }
 00055 
-00057   virtual const char *getMessageString(void) { return message_.c_str(); }
+00057   virtual const char *getMessageString(void) { return message_.c_str(); }
 00058 };
 00059 
 00060 #endif
-

+ +
-
©2003-2007 Gary P. Scavone, McGill University. All Rights Reserved.
+
©2003-2009 Gary P. Scavone, McGill University. All Rights Reserved.
Maintained by Gary P. Scavone, gary at music.mcgill.ca
-- cgit v1.2.3