6#ifndef GEMMI_ENUMSTR_HPP_
7#define GEMMI_ENUMSTR_HPP_
15 switch (entity_type) {
34 switch (polymer_type) {
40 return "'polydeoxyribonucleotide/polyribonucleotide hybrid'";
54 if (
t ==
"polydeoxyribonucleotide/polyribonucleotide hybrid")
67 static constexpr const char*
type_ids[] = {
68 "covale",
"disulf",
"hydrog",
"metalc",
"."
Connection::Type connection_type_from_string(const std::string &t)
std::string software_classification_to_string(SoftwareItem::Classification c)
const char * polymer_type_to_string(PolymerType polymer_type)
const char * connection_type_to_string(Connection::Type t)
PolymerType polymer_type_from_string(const std::string &t)
EntityType entity_type_from_string(const std::string &t)
SoftwareItem::Classification software_classification_from_string(const std::string &str)
const char * entity_type_to_string(EntityType entity_type)
bool iequal(const std::string &str, const std::string &low)