/****************************************************************************** This source file is part of the Avogadro project. This source code is released under the 3-Clause BSD License, (see "LICENSE"). ******************************************************************************/ #ifndef AVOGADRO_QUANTUMIO_GAUSSIANCUBE_H #define AVOGADRO_QUANTUMIO_GAUSSIANCUBE_H #include "avogadroquantumioexport.h" #include #include namespace Avogadro { namespace QuantumIO { class AVOGADROQUANTUMIO_EXPORT GaussianCube : public Io::FileFormat { public: GaussianCube(); ~GaussianCube() override; Operations supportedOperations() const override { return ReadWrite | File | Stream | String; } FileFormat* newInstance() const override { return new GaussianCube; } std::string identifier() const override { return "Avogadro: Gaussian Cube"; } std::string name() const override { return "Gaussian"; } std::string description() const override { return "Gaussian cube file format."; } std::string specificationUrl() const override { return "https://gaussian.com/cubegen/"; } std::vector fileExtensions() const override; std::vector mimeTypes() const override; [[nodiscard]] bool read(std::istream& in, Core::Molecule& molecule) override; [[nodiscard]] bool write(std::ostream& out, const Core::Molecule& molecule) override; private: void outputAll(); }; // End GaussianCube } // namespace QuantumIO } // namespace Avogadro #endif