##// END OF EJS Templates
Some refactoring on PB11 wrappers...
Some refactoring on PB11 wrappers Most sciqlop core wrappers are moved into a dedicated python module. We needs to get rid off sqpapp! All current sciqlop modules should either be stateless or act as real singletons they must not need any app to be used. This will ease testing, wrapping and usage. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r354:b3b541ccaa5a
r1341:f18e017310bc
Show More
AmdaParser.h
23 lines | 581 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDAPARSER_H
#define SCIQLOP_AMDAPARSER_H
#include "AmdaGlobal.h"
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaParser)
class DataSourceItem;
struct SCIQLOP_AMDA_EXPORT AmdaParser {
/**
* Creates a data source tree from a JSON file
* @param filePath the path of the JSON file to read
* @return the root of the created data source tree, nullptr if the file couldn't be parsed
*/
static std::unique_ptr<DataSourceItem> readJson(const QString &filePath) noexcept;
};
#endif // SCIQLOP_AMDAPARSER_H