COPASI API  4.16.103
SBMLIncompatibility.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/SBMLIncompatibility.h,v $
3 // $Revision: 1.3 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2008/03/11 23:36:34 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef SBMLINCOMPATIBILITY_H__
19 #define SBMLINCOMPATIBILITY_H__
20 
21 #include <string>
22 #include "copasi/copasi.h"
23 
25  {
26  public:
27  enum SEVERITY
28  {
32  };
33 
34  protected:
35  // number of the incompatibility
36  unsigned C_INT32 mNumber;
37  // minimal version and level of SBML required to export the feature
38  // if the feature is not supported by any SBML Version, the values are
39  // set to 0
43  std::string mMessage;
44  std::string mDetails;
45 
46  public:
47  SBMLIncompatibility(unsigned C_INT32, ...);
48 
49  std::string getMessage() const;
50  std::string getDetails() const;
51  SEVERITY getSeverity() const;
52  unsigned C_INT32 minSBMLVersion() const;
53  unsigned C_INT32 minSBMLLevel() const;
54  };
55 
57  {
58  unsigned C_INT32 mNo;
59  unsigned C_INT32 mSBMLLevel;
62  const char * mMessage;
63  const char* mDetails;
64  };
65 
66 #endif // SBMLINCOMPATIBILITY_H__
unsigned C_INT32 minSBMLLevel() const
SEVERITY getSeverity() const
SBMLIncompatibility(unsigned C_INT32,...)
unsigned C_INT32 mSBMLLevel
unsigned C_INT32 mNumber
#define C_INT32
Definition: copasi.h:90
unsigned C_INT32 mSBMLVersion
unsigned C_INT32 minSBMLVersion() const
const char * mMessage
std::string getDetails() const
unsigned C_INT32 mNo
const char * mDetails
std::string getMessage() const
unsigned C_INT32 mMinSBMLVersion
unsigned C_INT32 mMinSBMLLevel
SBMLIncompatibility::SEVERITY mSeverity