#include <Model.h>
You can iterator through the chains and soon the heterogens.
pdb_align.cc, pdb_align_points.cc, pdb_distance.cc, and pdb_split.cc.
Definition at line 35 of file Model.h.
Public Member Functions | |
Model () | |
Model (unsigned int i) | |
size_t | number_of_chains () const |
Protein & | chain (unsigned int i) |
const Protein & | chain (unsigned int i) const |
void | new_chain (const Protein &p) |
void | write (std::ostream &out) const |
int | index () const |
void | set_index (int ind) |
Protected Attributes | |
std::vector< std::string > | extra_ |
std::vector< Protein > | chains_ |
int | index_ |
Friends | |
class | PDB |
|
Construct an empty model.
|
|
Construct an empty model with a number.
|
|
get the ith strand
|
|
get the ith strand
|
|
return the index or -1 if it is not valid
Definition at line 57 of file Model.h. References index_. |
|
add a strand
|
|
The number of strands.
|
|
set the index
Definition at line 60 of file Model.h. References index_. |
|
write to a pdb
|