#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) |
| dsrpdb::Model::Model | ( | ) |
Construct an empty model.
| dsrpdb::Model::Model | ( | unsigned int | i | ) |
Construct an empty model with a number.
| size_t dsrpdb::Model::number_of_chains | ( | ) | const |
| Protein& dsrpdb::Model::chain | ( | unsigned int | i | ) |
| const Protein& dsrpdb::Model::chain | ( | unsigned int | i | ) | const |
get the ith strand
| void dsrpdb::Model::new_chain | ( | const Protein & | p | ) |
| void dsrpdb::Model::write | ( | std::ostream & | out | ) | const |
write to a pdb
| int dsrpdb::Model::index | ( | ) | const [inline] |
return the index or -1 if it is not valid
| void dsrpdb::Model::set_index | ( | int | ind | ) | [inline] |