protocol.h
1 /***************************************************************************
2  protocol.h - description
3  -------------------
4  begin : Tue Jul 5 2005
5  copyright : (C) 2000-2015 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef PROTOCOL_H
19 #define PROTOCOL_H
20 
21 #include <odinpara/geometry.h>
22 #include <odinpara/seqpars.h>
23 #include <odinpara/study.h>
24 #include <odinpara/system.h>
25 
33 class Protocol : public LDRblock {
34 
35 
36  public:
37 
41  Protocol(const STD_string& label="unnamedProtocol");
42 
47 
48 
52  Protocol& operator = (const Protocol& p);
53 
54 
60  bool operator < (const Protocol& rhs) const;
61 
67  bool operator == (const Protocol& rhs) const {return !( ((*this)<rhs) || ((rhs<(*this))) );}
68 
69 
74 
79 
84 
89 
94 
95 
96  private:
97  friend class SeqMethod;
98 
99  void append_all_members();
100 
101 };
102 
103 #endif
Protocol & operator=(const Protocol &p)
bool operator==(const Protocol &rhs) const
Definition: protocol.h:67
Sequence Parameter proxy.
Definition: seqpars.h:35
SeqPars seqpars
Definition: protocol.h:83
Protocol(const Protocol &p)
Definition: protocol.h:46
System proxy.
Definition: system.h:91
Study information.
Definition: study.h:39
LDRblock methpars
Definition: protocol.h:88
Geometry Settings.
Definition: geometry.h:179
System system
Definition: protocol.h:73
Protocol(const STD_string &label="unnamedProtocol")
Study study
Definition: protocol.h:93
Protcol proxy.
Definition: protocol.h:33
Base class for methods (sequences)
Definition: seqmeth.h:155
Geometry geometry
Definition: protocol.h:78
bool operator<(const Protocol &rhs) const