Clustering de Proteine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
pdbreader.h
Go to the documentation of this file.
1 #ifndef PDBREADER_H
2 #define PDBREADER_H
3 #include "entrypdb.h"
5 const char atom_line_iformat_[]= "ATOM %5d%*1c%4c%1c%3c%*c%1c%4d%1c%*1c%*1c%*1c%8f%8f%8f%6f%6f%*1c%*1c%*1c%*1c%*1c%*1c%4c%2c%2c";
6 Line_type typedeLigne (const char* line);
7 
8 class pdbreader
9 {
10  std::vector <Entrypdb *> m_file;
11 public:
12  pdbreader();
13 
14  unsigned int getNbEntry();
15  Entrypdb& at(int i);
16  void write(std::ostream &out) const;
17  void readPDB(std::istream &in);
18 };
19 
20 #endif // PDBREADER_H