![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
#include <builder.h>
Public Types | |
typedef std::vector< System > | System_container |
Public Member Functions | |
All_atom_system_builder (System_container &systems, unsigned max_systems_) | |
template<class Line_format > | |
void | interpret_line (const Line_format &line_format, const std::string &line, int system_info) |
void | create_systems (char altloc) |
Class responsible for building a system.
System | is a system as ESBTL::Molecular_system. |
typedef std::vector<System> System_container |
The container in which the system must be stored.
|
inline |
Constructor.
systems | is a reference to the container in which created systems are inserted. |
max_systems_ | is an upper bound on the number of system to be created. Setting correctly this number is very important and the program will crash if not well set (in the current implementation it is used to set the size of the system container.) |
|
inline |
Finalize the creation of the systems incrementally built.
altloc | indicate the alternate location identification used for systems. |
|
inline |
Extract information from a line in a PDB file and add them to a system.
Line_format | is a class providing functions to extract fields from a line of a PDB file (ESBTL::PDB::Line_format for example.). |
line_format | provides the functions to extract the fields. |
line | is a line of a PDB file. |
system_info | is the number of the system described by this line. |