MSpin-JCoupling  2.1
pdbtools.h
1 /***************************************************************************
2  pdbtools.h - description
3  -------------------
4  author : Armando Navarro-Vazquez
5  email : armando.deus@gmail.com
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 
18 #ifndef MAGNES_PDBTOOLS_H
19 #define MAGNES_PDBTOOLS_H
20 
21 #include "coreexport.h"
22 #include <string>
23 
24 namespace magnes
25 {
26 class MAGNES_CORE_API PDBResidue
27 {
28 public :
29  PDBResidue(const std::string& name="",const std::string& index="");
30  const std::string& Name() const { return _name; }
31  const std::string& Index() const { return _index; }
32  bool Visible() const { return _visible; }
33  void SetVisible(bool b) { _visible=b; }
34  friend bool operator == ( const magnes::PDBResidue& a,const magnes::PDBResidue& b );
35 private:
36  std::string _name;
37  std::string _index;
38  bool _visible;
39 };
40 }
41 
42 #endif //MAGNES_PDBTOOLS_H
the global magnes namespace
Definition: ccchequation.h:38
MAGNES_CORE_API bool operator==(const ChemicalShift &, const ChemicalShift &)
Definition: pdbtools.h:26