DataRepException.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*-
00002  *
00003  * HippoPlot DataRepException class interface
00004  *
00005  * Copyright (C)  2002, 2003  The Board of Trustees of The Leland Stanford
00006  * Junior University.  All Rights Reserved.
00007  *
00008  * $Id: DataRepException_8h-source.html,v 1.40 2008/03/24 19:27:28 pfkeb Exp $
00009  *
00010  */
00011 
00012 #ifndef _DataRepException_H_
00013 #define _DataRepException_H_
00014 
00015 #include "pattern/libhippo.h"
00016 
00017 #include <exception>
00018 #include <string>
00019 
00020 #ifdef _MSC_VER
00021 #include "msdevstudio/MSconfig.h"
00022 #endif
00023 
00024 namespace hippodraw {
00025 
00037 class MDL_HIPPOPLOT_API DataRepException : public std::exception
00038 {
00039 private:
00040 
00042   std::string m_type;
00043 
00044 public: 
00045 
00047   DataRepException ( const std::string & type );
00048 
00054   DataRepException ( const DataRepException & );
00055 
00058   virtual ~DataRepException () throw ();
00059 
00062   virtual const char * what () const throw ();
00063 
00064 };
00065 
00066 } // namespace hippodraw
00067 
00068 #endif // _DataRepException_H_

Generated for HippoDraw Class Library by doxygen