22#include <boost/lexical_cast.hpp>
40 throw std::ios_base::failure(
"Error on open topology file: " + file);
56 throw std::ios_base::failure(
"Error on open trajectory file: " + file);
topology of the whole system
Residue & CreateResidue(std::string name)
Create a new resiude.
void Cleanup()
Cleans up all the stored data.
bool Open(const std::string &file) override
open a trajectory file
bool FirstFrame(Topology &top) override
read in the first frame
bool ReadFrame(T &container)
bool NextFrame(Topology &top) override
read in the next frame
bool ReadTopology(std::string file, Topology &top) override
open a topology file
base class for all analysis tools