CMS 3D CMS Logo

IUniqueDBObject.h
Go to the documentation of this file.
1 #ifndef IUNIQUEDBOBJECT_H
2 #define IUNIQUEDBOBJECT_H
3 
4 #include <stdexcept>
5 
7 
11 class IUniqueDBObject : public IDBObject {
12  public:
13  virtual int fetchID() noexcept(false) = 0;
14  virtual void setByID(int id) noexcept(false) = 0;
15 
16  protected:
17  // ID from the database
18  int m_ID;
19 };
20 
21 #endif
#define noexcept
virtual int fetchID() noexcept(false)=0
virtual void setByID(int id) noexcept(false)=0