LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
AnalysisLoader.h
Go to the documentation of this file.
1// Copyright 2002-2013 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6/************************************************************************
7 * @author besancon (besanconr@zoe.cea.fr)
8 * @date Mon Jan 17 2011
9 * @brief abstract class for analysis loaders
10 ***********************************************************************/
11#ifndef LIMA_LINGUISTICPROCESSING_ANALYSISLOADER_H
12#define LIMA_LINGUISTICPROCESSING_ANALYSISLOADER_H
13
16#include <QSharedPointer>
17#include <iostream>
18#include <fstream>
19
20namespace Lima {
21namespace LinguisticProcessing {
22
23#define ANALYSISLOADER_CLASSID "AnalysisLoader"
24
25class AnalysisLoaderPrivate;
26/*
27 * @brief this is the abstract class for analysis loaders, that read
28 * informations from external files to insert them in the analysis
29 * data
30 */
32{
34public:
36
37 virtual ~AnalysisLoader();
38
40 Manager* manager) override;
41
42 LimaStatusCode process(AnalysisContent& /*analysis*/) const override { return SUCCESS_ID; }
43
44 QString getInputFile(AnalysisContent& analysis) const;
45
46protected:
47 QSharedPointer<AnalysisLoaderPrivate> m_d;
48};
49
50} // end namespace
51} // end namespace
52
53#endif
#define LIMA_LINGUISTICPROCESSORS_EXPORT
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Manage initialization of InitializableObjects using configuration module and parameters.
QSharedPointer< AnalysisLoaderPrivate > m_d
LimaStatusCode process(AnalysisContent &) const override
Process on data in analysisContent.
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236
@ SUCCESS_ID
Definition LimaCommon.h:237