file
pdb.hpp
Contents
- Reference
Namespaces
- namespace gemmi
- namespace gemmi::pdb_impl
Functions
- auto read_int(const char* p, int field_length) -> int
-
template<int N>auto read_base36(const char* p) -> int
- auto read_double(const char* p, int field_length) -> double
-
auto read_string(const char* p,
int field_length) -> std::
string - auto is_record_type(const char* s, const char* record) -> bool
- auto read_charge(char digit, char sign) -> signed char
- auto read_matrix(Transform& t, char* line, size_t len) -> int
- auto read_seq_id(const char* str) -> SeqId
- auto read_res_id(const char* seq_id, const char* name) -> ResidueId
- auto read_altloc(char c) -> char
- auto read_serial(const char* ptr) -> int
-
auto pdb_date_format_to_iso(const std::
string& date) -> std:: string -
template<typename Input>auto copy_line_from_stream(char* line, int size, Input&& in) -> size_t
-
auto compare_link_symops(const std::
string& record) -> Asu - void complete_ssbond_atom(AtomAddress& ad, const Model& mdl)
-
void process_conn(Structure& st,
const std::
vector<std:: string>& conn_records) -
template<size_t N>auto same_str(const std::
string& s, const char(&literal)[N]) -> bool -
template<typename Input>auto read_pdb_from_line_input(Input&& infile, const std::
string& source, int max_line_length) -> Structure -
auto read_pdb_file(const std::
string& path, int linelen = 0) -> Structure -
auto read_pdb_from_memory(const char* data,
size_t size,
const std::
string& name, int linelen = 0) -> Structure -
auto read_pdb_string(const std::
string& str, const std:: string& name) -> Structure -
template<typename T>auto read_pdb(T&& input, int linelen = 0) -> Structure
Defines
- #define CHECK(cpos, text)