Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Statexc.hh

Go to the documentation of this file.
00001 #ifndef STATEXC_CLASS_HEADER
00002 #define STATEXC_CLASS_HEADER
00003 
00004 // ==== HEADER Statexc.hh ====
00005 
00011 // 8-Oct-2001. Andras Aszodi
00012 
00013 // ---- STANDARD HEADERS ----
00014 
00015 #include <stdlib.h>
00016 
00017 #ifdef _STANDARD_C_PLUS_PLUS
00018 #include <iostream>
00019 using namespace std;
00020 #else
00021 #include <iostream.h>
00022 #endif
00023 
00024 // ---- MODULE HEADERS ----
00025 
00026 #include "Utilsexc.hh"
00027 
00028 // ==== CLASSES ====
00029 
00030 namespace RazorBack {
00031 
00038 class Toofewexc_: public Utilsexc_
00039 {
00040     // data
00041     private:
00042     
00043     string Varname;     
00044     unsigned int N;  
00045     
00046     // methods
00047     public:
00048     
00055     explicit Toofewexc_(const char *Thnm, const char *Name, 
00056             unsigned int No=0, bool F=false);
00057     
00059     const string& varname() const { return Varname; }
00060     
00062     unsigned int no() const { return N; }
00063     
00064     private:
00065     Toofewexc_();   // no default ctor
00066 };
00067 // END of exception class Toofewexc_
00068 
00074 class Sdevexc_: public Utilsexc_
00075 {
00076     // data
00077     private:
00078             
00079     double Sd;      
00080     
00081     // methods
00082     public:
00083             
00089     explicit Sdevexc_(const char *Thnm, double Sdev=0.0, bool F=false);
00090     
00092     double sd() const { return Sd; }
00093     
00094     private:
00095     Sdevexc_();     // no default ctor
00096 };
00097 // END of exception class Sdevexc_
00098 
00099 class Forgottenexc_: public Utilsexc_
00100 {
00101     // data
00102     private:
00103             
00104     string Forgotten;   
00105     
00106     // methods
00107     public:
00108             
00115     explicit Forgottenexc_(const char *Thnm, const char *Forgotnm, bool F=false);
00116     
00118     const string& forgotten_name() const { return Forgotten; }
00119     
00120     private:
00121     Forgottenexc_();    // no default ctor
00122 };
00123 // END of exception class Forgottenexc_
00124 
00125 } // RazorBack
00126 
00127 // ==== END OF CLASS HEADER Statexc.hh ====
00128 
00129 #endif      // STATEXC_CLASS_HEADER

Generated at Wed Aug 21 09:33:12 2002 for The Razorback C++ Library: Statistics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001