condition.hpp
Go to the documentation of this file.
00001 #ifndef LIBRMS_CONDITION_HPP_
00002 #define LIBRMS_CONDITION_HPP_
00003 
00004 #include <string>
00005 #include <rms/rms.hpp>
00006 #include <rms/slot.hpp>
00007 #include <vector>
00008 
00009 namespace librms
00010 {
00011 
00012 class rms;
00013 class slot;
00014 
00015 class condition
00016 {
00017 public:
00018   condition(librms::rms *client, unsigned int id, std::string name, unsigned int study_id, unsigned int iface_id, unsigned int environment_id, std::string created, std::string modified);
00019 
00020   unsigned int get_id() const;
00021 
00022   std::string get_name() const;
00023 
00024   unsigned int get_study_id() const;
00025 
00026   unsigned int get_iface_id() const;
00027 
00028   unsigned int get_environment_id() const;
00029 
00030   std::string get_created() const;
00031 
00032   std::string get_modified() const;
00033 
00034   std::vector<librms::slot> &get_slots();
00035 
00036 private:
00037   std::string name_, created_, modified_;
00038   unsigned int id_, study_id_, iface_id_, environment_id_;
00039   bool slots_fetched_;
00040   librms::rms *client_;
00041   std::vector<librms::slot> slots_;
00042 };
00043 
00044 }
00045 
00046 #endif


librms
Author(s): Russell Toris
autogenerated on Thu Feb 25 2016 11:42:49