ODIN
protocol.h
1 /***************************************************************************
2  protocol.h - description
3  -------------------
4  begin : Tue Jul 5 2005
5  copyright : (C) 2000-2021 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 
53 
54 
60  bool operator < (const Protocol& rhs) const;
61 
67  bool operator == (const Protocol& rhs) const {return !( ((*this)<rhs) || ((rhs<(*this))) );}
68 
69 
70 
71  Protocol& use_acqstart_during_comparison(bool use) {compare_acqstart=use; return *this;}
72 
73 
74 
79 
84 
89 
94 
99 
100 
101  private:
102  friend class SeqMethod;
103 
104  void append_all_members();
105 
106  bool compare_acqstart;
107 
108 };
109 
110 #endif
Geometry Settings.
Definition: geometry.h:179
Protocol proxy.
Definition: protocol.h:33
System system
Definition: protocol.h:78
Protocol(const STD_string &label="unnamedProtocol")
SeqPars seqpars
Definition: protocol.h:88
Study study
Definition: protocol.h:98
Protocol(const Protocol &p)
Definition: protocol.h:46
bool operator==(const Protocol &rhs) const
Definition: protocol.h:67
bool operator<(const Protocol &rhs) const
Geometry geometry
Definition: protocol.h:83
LDRblock methpars
Definition: protocol.h:93
Protocol & operator=(const Protocol &p)
Base class for methods (sequences)
Definition: seqmeth.h:155
Sequence Parameter proxy.
Definition: seqpars.h:35
Study information.
Definition: study.h:39
System proxy.
Definition: system.h:91