1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/**
*
* @file plugins/MatrixVisualizer/Parsers/ValuesParser.cpp
*
* @copyright 2008-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* Univ. Bordeaux. All rights reserved.
*
* @author Camille Ordronneau
* @author Johnny Jazeix
* @author Mathieu Faverge
*
* @date 2024-07-17
*/
#include "ValuesParser.hpp"
#include "Readers/Pastix.hpp"
ValuesParser::ValuesParser() {
m_percentage_loaded = 0;
}
symbol_matrix_t *ValuesParser::parse(const std::string &path, symbol_matrix_t *matrix) {
return matrix;
}
float ValuesParser::get_percent_loaded() const {
return m_percentage_loaded;
}
bool ValuesParser::is_finished() const {
return m_is_finished;
}
bool ValuesParser::is_cancelled() const {
return m_is_canceled;
}
void ValuesParser::set_canceled() {
m_is_canceled = true;
}
void ValuesParser::finish() {
m_is_finished = true;
}
|