Clustering de Proteine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
protein.h
Go to the documentation of this file.
1 #ifndef PROTEIN_H
2 #define PROTEIN_H
3 #include <vector>
4 #include <utility>
5 #include <iostream>
6 #include <cstdio>
7 #include "atom.h"
8 class Protein
9 {
10  std::pair<Atom,Atom> Bond;
11  std::vector<Atom> Atome;
12  char chain_id;
13  int id;
14 public:
15  Protein();
16  unsigned int getNbAtome();
17  Atom& at(int i);
18  char getchainID();
19  void write(std::ostream &out) const;
20  void process_line(const char *line);
21  void setID(int id);
22  int getID();
23 };
24 
25 #endif // PROTEIN_H