|
Gemmi C++ API
|
Represents DDL1 or DDL2 dictionary (ontology). More...
#include <ddl.hpp>
Public Member Functions | |
| Ddl ()=default | |
| Ddl (Ddl const &)=delete | |
| Ddl & | operator= (Ddl const &)=delete |
| void | read_ddl (cif::Document &&doc) |
| it moves doc to ddl_docs_ to control lifetime and prevent modifications | |
| bool | validate_cif (const cif::Document &doc) const |
| bool | validate_block (const cif::Block &b, const std::string &source) const |
| void | check_audit_conform (const cif::Document &doc) const |
| const std::map< std::string, std::regex > & | regexes () const |
Public Attributes | |
| Logger | logger |
| member functions use logger's callback and threshold for output | |
| bool | print_unknown_tags = true |
| bool | use_regex = true |
| bool | use_context = false |
| bool | use_parents = false |
| bool | use_mandatory = true |
| bool | use_unique_keys = true |
| bool | use_deposition_checks = false |
| int | major_version = 0 |
| std::string | dict_name |
| std::string | dict_version |
|
default |
| void gemmi::cif::Ddl::read_ddl | ( | cif::Document && | doc | ) |
it moves doc to ddl_docs_ to control lifetime and prevent modifications
| bool gemmi::cif::Ddl::validate_cif | ( | const cif::Document & | doc | ) | const |
| bool gemmi::cif::Ddl::validate_block | ( | const cif::Block & | b, |
| const std::string & | source | ||
| ) | const |
| void gemmi::cif::Ddl::check_audit_conform | ( | const cif::Document & | doc | ) | const |
|
inline |
| Logger gemmi::cif::Ddl::logger |