/*************************************************************************************
* *
* ***** OpenThermo ***** *
* Calculation of thermodynamic functions from molecular data *
* Copyright 2008 Konstantin Tokarev <annulen@users.sourceforge.net> *
* and others *
* *
*************************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License. See COPYING for *
* more details *
* *
*************************************************************************************
* Module name : input.hpp *
* Author : Tokarev. K *
* Last modification : 2008/08/02 *
* Description : Header for input.cpp *
* *
*************************************************************************************/
#ifndef INPUT_HPP
#define INPUT_HPP
#include "thermo.h" // Build options
#include <cstring> // for strcmp(char*, char*), strlen(char*), strncpy(char*, char*, int)
#include <cstdio> // for sprintf
#include <fstream>
#include <iostream>
#include "molecule.hpp"
#include <string>
#ifndef STRSTREAM
#include <sstream>
#else
#include <strstrea.h>
#endif
#include "pes.hpp"
#include "xml.hpp"
using namespace std;
#ifndef SILENT
bool GetFileName (string & FileName);
#endif
bool ReadMolData(Molecule * Mol, XMLInputFile & Input);
//bool ReadRot(Molecule * Mol, XMLNode & Rotors, char * LogName);
//bool ReadFreq(Molecule * Mol, int & Range, XMLNode & Freq, ofstream & fout);
bool ReadP(XMLInputFile & i, double & p);
bool ReadT(XMLInputFile & i, double & TStart, double & dT, double & TStop);
#endif /* INPUT_HPP */