gemmi/cifdoc.hpp file

Namespaces

namespace gemmi
namespace gemmi::cif

Classes

struct gemmi::cif::LoopArg
struct gemmi::cif::FrameArg
struct gemmi::cif::CommentArg
struct gemmi::cif::Loop
class gemmi::cif::Column
struct gemmi::cif::Table
struct gemmi::cif::Table::Row
struct gemmi::cif::Table::iterator
struct gemmi::cif::Block
struct gemmi::cif::Item
struct gemmi::cif::Document

Enums

enum class ItemType: unsigned char { Pair, Loop, Frame, Comment, Erased }

Typedefs

using Pair = std::array<std::string, 2>

Functions

auto char_table(char c) -> uint8_t
void assert_tag(const std::string& tag)
void ensure_mmcif_category(std::string& cat)
auto is_null(const std::string& value) -> bool
auto as_string(const std::string& value) -> std::string
auto as_string(const std::string* value) -> std::string
auto as_char(const std::string& value, char null) -> char
auto as_int(const std::string& str) -> int
auto as_int(const std::string& str, int null) -> int
auto as_any(const std::string& s, int null) -> int
auto as_any(const std::string& s, char null) -> char
void cif_fail(const std::string& source, const Block& b, const Item& item, const std::string& s)
void check_for_missing_values_in_block(const Block& block, const std::string& source)
void check_for_missing_values(const Document& d)
void check_for_duplicates(const Document& d)
auto is_text_field(const std::string& val) -> bool
auto quote(std::string v) -> std::string