Gemmi C++ API
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
gemmi::cif::Ddl Struct Reference

Represents DDL1 or DDL2 dictionary (ontology). More...

#include <ddl.hpp>

Public Member Functions

 Ddl ()=default
 
 Ddl (Ddl const &)=delete
 
Ddloperator= (Ddl const &)=delete
 
void read_ddl (cif::Document &&doc, std::ostream &out)
 
bool validate_cif (const cif::Document &doc, std::ostream &out) const
 
void check_audit_conform (const cif::Document &doc, std::ostream &out) const
 

Public Attributes

bool print_unknown_tags = true
 
bool print_extra_diagnostics = false
 
bool use_regex = true
 
bool use_context = false
 
bool use_parents = false
 
bool use_mandatory = true
 
bool use_unique_keys = true
 
int major_version = 0
 
std::string dict_name
 
std::string dict_version
 

Detailed Description

Represents DDL1 or DDL2 dictionary (ontology).

Definition at line 17 of file ddl.hpp.

Constructor & Destructor Documentation

◆ Ddl() [1/2]

gemmi::cif::Ddl::Ddl ( )
default

◆ Ddl() [2/2]

gemmi::cif::Ddl::Ddl ( Ddl const )
delete

Member Function Documentation

◆ operator=()

Ddl & gemmi::cif::Ddl::operator= ( Ddl const )
delete

◆ read_ddl()

void gemmi::cif::Ddl::read_ddl ( cif::Document &&  doc,
std::ostream &  out 
)

◆ validate_cif()

bool gemmi::cif::Ddl::validate_cif ( const cif::Document doc,
std::ostream &  out 
) const

◆ check_audit_conform()

void gemmi::cif::Ddl::check_audit_conform ( const cif::Document doc,
std::ostream &  out 
) const

Member Data Documentation

◆ print_unknown_tags

bool gemmi::cif::Ddl::print_unknown_tags = true

Definition at line 19 of file ddl.hpp.

◆ print_extra_diagnostics

bool gemmi::cif::Ddl::print_extra_diagnostics = false

Definition at line 20 of file ddl.hpp.

◆ use_regex

bool gemmi::cif::Ddl::use_regex = true

Definition at line 22 of file ddl.hpp.

◆ use_context

bool gemmi::cif::Ddl::use_context = false

Definition at line 23 of file ddl.hpp.

◆ use_parents

bool gemmi::cif::Ddl::use_parents = false

Definition at line 24 of file ddl.hpp.

◆ use_mandatory

bool gemmi::cif::Ddl::use_mandatory = true

Definition at line 25 of file ddl.hpp.

◆ use_unique_keys

bool gemmi::cif::Ddl::use_unique_keys = true

Definition at line 26 of file ddl.hpp.

◆ major_version

int gemmi::cif::Ddl::major_version = 0

Definition at line 29 of file ddl.hpp.

◆ dict_name

std::string gemmi::cif::Ddl::dict_name

Definition at line 30 of file ddl.hpp.

◆ dict_version

std::string gemmi::cif::Ddl::dict_version

Definition at line 31 of file ddl.hpp.


The documentation for this struct was generated from the following file: