|
struct | Action |
|
struct | Action< rules::datablockname > |
|
struct | Action< rules::endframe > |
|
struct | Action< rules::framename > |
|
struct | Action< rules::item_tag > |
|
struct | Action< rules::item_value > |
|
struct | Action< rules::loop > |
|
struct | Action< rules::loop_tag > |
|
struct | Action< rules::loop_value > |
|
struct | Action< rules::str_global > |
|
struct | Action< rules::str_loop > |
|
struct | Block |
|
class | BufOstream |
| std::ostream with buffering. More...
|
|
struct | CheckAction |
|
struct | CheckAction< rules::missing_value > |
|
class | Column |
|
struct | CommentArg |
|
struct | Ddl |
| Represents DDL1 or DDL2 dictionary (ontology). More...
|
|
struct | Document |
|
struct | FrameArg |
|
struct | Item |
|
struct | ItemSpan |
|
class | JsonWriter |
|
struct | Loop |
|
struct | LoopArg |
|
struct | Table |
|
struct | WriteOptions |
|
|
template<typename Rule > |
const std::string & | error_message () |
|
template<typename Input > |
void | parse_input (Document &d, Input &&in) |
|
template<typename Input > |
Document | read_input (Input &&in) |
|
template<typename Input > |
size_t | parse_one_block (Document &d, Input &&in) |
|
Document | read_file (const std::string &filename) |
|
Document | read_string (const std::string &data) |
|
Document | read_memory (const char *data, size_t size, const char *name) |
|
Document | read_cstream (std::FILE *f, size_t bufsize, const char *name) |
|
Document | read_istream (std::istream &is, size_t bufsize, const char *name) |
|
template<typename Input > |
bool | check_syntax (Input &&in, std::string *msg) |
|
template<typename T > |
Document | read (T &&input) |
|
template<typename T > |
bool | check_syntax_any (T &&input, std::string *msg) |
|
template<typename T > |
size_t | read_one_block (Document &d, T &&input, size_t limit) |
|
uint8_t | char_table (char c) |
|
void | assert_tag (const std::string &tag) |
|
void | ensure_mmcif_category (std::string &cat) |
|
bool | is_null (const std::string &value) |
|
std::string | as_string (const std::string &value) |
|
std::string | as_string (const std::string *value) |
|
char | as_char (const std::string &value, char null) |
|
int | as_int (const std::string &str) |
|
int | as_int (const std::string &str, int null) |
|
int | as_any (const std::string &s, int null) |
|
char | as_any (const std::string &s, char null) |
|
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) |
|
bool | is_text_field (const std::string &val) |
|
std::string | quote (std::string v) |
|
std::string | json_type_as_string (sajson::type t) |
|
std::string | as_cif_value (const sajson::value &val) |
|
void | fill_document_from_sajson (Document &d, const sajson::document &s) |
|
Document | read_mmjson_insitu (char *buffer, size_t size, const std::string &name="mmJSON") |
|
Document | read_mmjson_file (const std::string &path) |
|
template<typename T > |
Document | read_mmjson (T &&input) |
|
double | as_number (const std::string &s, double nan=NAN) |
|
bool | is_numb (const std::string &s) |
|
float | as_any (const std::string &s, float null) |
|
double | as_any (const std::string &s, double null) |
|
void | write_text_field (BufOstream &os, const std::string &value) |
|
void | write_out_pair (BufOstream &os, const std::string &name, const std::string &value, WriteOptions options) |
|
void | write_out_loop (BufOstream &os, const Loop &loop, WriteOptions options) |
|
void | write_out_item (BufOstream &os, const Item &item, WriteOptions options) |
|
void | write_cif_block_to_stream (std::ostream &os_, const Block &block, WriteOptions options=WriteOptions()) |
|
void | write_cif_to_stream (std::ostream &os, const Document &doc, WriteOptions options=WriteOptions()) |
|