18#ifndef VOTCA_CSG_XMLTOPOLOGYREADER_PRIVATE_H
19#define VOTCA_CSG_XMLTOPOLOGYREADER_PRIVATE_H
26#include <boost/unordered_map.hpp>
40 std::vector<std::string> tmp_vec = tok.
ToVector();
41 if (tmp_vec.size() != 2) {
42 throw std::runtime_error(
"Wrong number of elements in bead: " + line);
56 XMLBead(std::string name_, std::string type_,
double mass_ = 1.0,
93 typedef boost::unordered_multimap<std::string, XMLMolecule *>
MoleculesMap;
BondBead(std::string &line)
information about molecules
topology of the whole system
XMLBead(std::string name_, std::string type_, double mass_=1.0, double q_=0.0)
std::vector< XMLBead * > beads
std::map< std::string, XMLBead * > name2beads
XMLMolecule(std::string name_, Index nmols_)
void ParseBonded(tools::Property &el)
void ParseBeadTypes(tools::Property &el)
void ParseMolecule(tools::Property &p, std::string molname, Index nmols)
void ParseBond(tools::Property &p)
void ParseMolecules(tools::Property &p)
bool ReadTopology(std::string filename, Topology &top) override
read a topology file
void ParseAngle(tools::Property &p)
void ReadTopolFile(std::string file)
~XMLTopologyReader() override
void ParseDihedral(tools::Property &p)
boost::unordered_multimap< std::string, XMLMolecule * > MoleculesMap
void ParseBox(tools::Property &p)
void ParseRoot(tools::Property &property)
base class for all analysis tools