JobState(const boost::optional<DateTime> &t_lastRun, const JobErrors &t_errors, const Files &t_outputFiles, const AdvancedStatus &t_status, const openstudio::path &t_outdir) : lastRun(t_lastRun ? toQDateTime(*t_lastRun) : boost::optional<QDateTime>()), errors(t_errors), outputFiles(t_outputFiles), status(t_status), outdir(t_outdir) { }
InstrumentData::InstrumentData(const QString& dataIn) { rawInput = dataIn; qDebug()<< dataIn; QTextStream textin(&rawInput); QString word; while( textin.status() == QTextStream::Ok) { textin >> word; word = cleanWord(word); if(word != "" && word != "Stone") Words.push_back(word); //special case stuff } TestDate = toQDate(); TestTime = toQTime(); TestDateTime = toQDateTime(); TestMaterial = toMaterial(); TestReading = readingToDouble(); TestPercentage = percentageToDouble(); }