• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List

protocol.h

00001 /***************************************************************************
00002                           protocol.h  -  description
00003                              -------------------
00004     begin                : Tue Jul 5 2005
00005     copyright            : (C) 2001 by Thies H. Jochimsen
00006     email                : jochimse@cns.mpg.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef PROTOCOL_H
00019 #define PROTOCOL_H
00020 
00021 #include <odinpara/geometry.h>
00022 #include <odinpara/seqpars.h>
00023 #include <odinpara/study.h>
00024 #include <odinpara/system.h>
00025 
00033 class Protocol : public JcampDxBlock {
00034 
00035 
00036  public:
00037 
00041   Protocol(const STD_string& label="unnamedProtocol");
00042 
00046   Protocol(const Protocol& p) {Protocol::operator = (p);}
00047 
00048 
00052   Protocol& operator = (const Protocol& p);
00053 
00054 
00060   bool operator < (const Protocol& rhs) const;
00061 
00067   bool operator == (const Protocol& rhs) const {return !( ((*this)<rhs) || ((rhs<(*this))) );}
00068 
00069 
00073   System system;
00074 
00078   Geometry geometry;
00079 
00083   SeqPars seqpars;
00084 
00088   JcampDxBlock methpars;
00089 
00093   Study study;
00094 
00095 
00096  private:
00097   friend class SeqMethod;
00098 
00099   void append_all_members();
00100 
00101 };
00102 
00103 #endif

Generated on Tue Dec 18 2012 15:11:14 by  doxygen 1.7.1