/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * FragmentJob.cpp * * Created on: Oct 19, 2011 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/MemDebug.hpp" #include "FragmentJob.hpp" /** Constructor for class FragmentJob. * */ FragmentJob::FragmentJob() : JobId(-1), outputfile("") {} /** Constructor for class FragmentJob. * * \param _outputfile configuration file for solver * \param _JobId unique id of this job */ FragmentJob::FragmentJob(const std::string &_outputfile, const JobId_t _JobId) : JobId(_JobId), outputfile(_outputfile) {} /** Destructor for class FragmentJob. * */ FragmentJob::~FragmentJob() {} /** Comparator for class FragmentJob. * \param other instance to compare to * \return every member variable is the same, else - is not */ bool FragmentJob::operator==(const FragmentJob &other) const { return (outputfile == other.outputfile) && (getId() == other.getId()); }