19 #ifndef OST_IO_IO_PROFILE_HH
20 #define OST_IO_IO_PROFILE_HH
26 namespace ost {
namespace io {
30 IOProfile(
String d,
bool sh,
bool qm,
bool ft,
bool js,
bool nh,
bool co,
bool bf):
32 join_spread_atom_records(js), no_hetatms(nh), calpha_only(co), bond_feasibility_check(bf)
35 fault_tolerant(false), join_spread_atom_records(false), no_hetatms(false),
36 calpha_only(false), bond_feasibility_check(true)
52 join_spread_atom_records, no_hetatms, calpha_only, bond_feasibility_check);
59 stream <<
"IOProfile(dialect='" << p.
dialect <<
"', strict_hydrogens="
61 << (p.
quack_mode ?
"True" :
"False") <<
", join_spread_atom_records="
63 << (p.
no_hetatms ?
"True" :
"False") <<
", calpha_only="
64 << (p.
calpha_only ?
"True" :
"False") <<
", fault_tolerant="
65 << (p.
fault_tolerant ?
"True" :
"False") <<
", bond_feasibility_check="
76 return profiles_[key];
81 profiles_[key]=profile;
87 std::map<String, IOProfile> profiles_;