study.hpp
Go to the documentation of this file.
00001 #ifndef LIBRMS_STUDY_HPP_
00002 #define LIBRMS_STUDY_HPP_
00003 
00004 #include <string>
00005 #include <rms/rms.hpp>
00006 #include <rms/condition.hpp>
00007 #include <vector>
00008 
00009 namespace librms
00010 {
00011 
00012 class rms;
00013 class condition;
00014 
00015 class study
00016 {
00017 public:
00018   study(librms::rms *client, unsigned int id, std::string name, std::string start, std::string end, unsigned int length, bool otf, bool parallel, bool repeatable, std::string created, std::string modified);
00019 
00020   unsigned int get_id() const;
00021 
00022   std::string get_name() const;
00023 
00024   std::string get_start() const;
00025 
00026   std::string get_end() const;
00027 
00028   unsigned int get_length() const;
00029 
00030   bool get_otf() const;
00031 
00032   bool get_parallel() const;
00033 
00034   bool get_repeatable() const;
00035 
00036   std::string get_created() const;
00037 
00038   std::string get_modified() const;
00039 
00040   std::vector<librms::condition> &get_conditions();
00041 
00042 private:
00043   std::string name_, start_, end_, created_, modified_;
00044   bool otf_, parallel_, repeatable_, conditions_fetched_;
00045   unsigned int id_, length_;
00046   librms::rms *client_;
00047   std::vector<librms::condition> conditions_;
00048 };
00049 
00050 }
00051 
00052 #endif


librms
Author(s): Russell Toris
autogenerated on Fri Aug 28 2015 11:26:43