File size: 599 Bytes
8efb4bd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #ifndef COMMON_H
#define COMMON_H
#include <Surface.h>
#include <Logger.h>
#include "ChemMolecule.h"
#include <fstream>
class Common {
public:
static void checkFile(const char* fileName, std::ifstream& file);
static void readChemMolecule(const std::string fileName, ChemMolecule& mol, const ChemLib& protLib);
static void readChemMolecule(const std::string fileName, ChemMolecule& mol);
static void readHydrogenMolecule(const std::string fileName, Molecule<Atom>& mol);
static void readSurface(const std::string fileName, Surface& surface);
};
#endif //COMMON_H
|