8 #ifndef STRUCTUREPREPARATION_PROTONATIONHELPER_H
9 #define STRUCTUREPREPARATION_PROTONATIONHELPER_H
11 #include "../ProteinStructures.h"
12 #include "../StructurePreparationData.h"
25 namespace StructurePreparation {
26 struct ProtonationTypes;
27 namespace ProtonationHelper {
32 bool openBabelSuccess(std::istream& in);
36 void removeProtonsFromStructure(Utils::AtomCollection& structure, std::vector<int> superfluousHydrogens);
38 bool isAtomOf(
const std::list<int>& group,
int index);
40 template<std::
size_t s>
41 bool isType(
const std::array<const char*, s>& group,
const std::string& atomType) {
42 return (std::find(group.begin(), group.end(), atomType) != group.end());
49 #endif // STRUCTUREPREPARATION_PROTONATIONHELPER_H