Gemmi C++ API
Loading...
Searching...
No Matches
Namespaces | Functions
pdb.hpp File Reference

Read the PDB file format and store it in Structure. More...

#include "input.hpp"
#include "model.hpp"

Go to the source code of this file.

Namespaces

namespace  gemmi
 

Functions

bool gemmi::is_record_type4 (const char *s, const char *record)
 Compare the first 4 letters of s, ignoring case, with uppercase record.
 
bool gemmi::is_record_type3 (const char *s, const char *record)
 for record "TER": "TER ", TER
, TER\r, TER\t match, TERE, TER1 don't
 
GEMMI_DLL std::vector< Opgemmi::read_remark_290 (const std::vector< std::string > &raw_remarks)
 Returns operations corresponding to 1555, 2555, ... N555.
 
GEMMI_DLL Structure gemmi::read_pdb_from_stream (AnyStream &line_reader, const std::string &source, PdbReadOptions options)
 
Structure gemmi::read_pdb_file (const std::string &path, PdbReadOptions options={})
 
Structure gemmi::read_pdb_from_memory (const char *data, size_t size, const std::string &name, PdbReadOptions options={})
 
Structure gemmi::read_pdb_string (const std::string &str, const std::string &name, PdbReadOptions options={})
 
template<typename T >
Structure gemmi::read_pdb (T &&input, PdbReadOptions options={})
 

Detailed Description

Read the PDB file format and store it in Structure.

Definition in file pdb.hpp.