LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
AbstractAccessResource.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 * Copyright (C) 2004-2012 by CEA LIST *
8 * *
9 ***************************************************************************/
10#ifndef LIMA_LINGUISTICPROCESSING_ANALYSISDICTABSTRACTACCESSRESOURCE_H
11#define LIMA_LINGUISTICPROCESSING_ANALYSISDICTABSTRACTACCESSRESOURCE_H
12
14
15namespace Lima
16{
17namespace Common
18{
19 class AbstractAccessByString;
20}
21namespace LinguisticProcessing
22{
23namespace AnalysisDict
24{
25
30{
31 Q_OBJECT
32public:
33
34 explicit AbstractAccessResource(QObject* parent = 0);
35
37
38 virtual void init(
40 Manager* manager) override = 0;
41
42 virtual std::shared_ptr<Common::AbstractAccessByString> getAccessByString() const = 0;
43
44 inline bool isMainKeys() const;
45 inline void setMainKeys(bool flag);
46
47Q_SIGNALS:
48 void accessFileReloaded ( std::shared_ptr<Common::AbstractAccessByString> fsaAccess );
49
50protected:
52
53};
54
58
62
63
64}
65
66}
67
68}
69
70#endif
#define LIMA_LINGUISTICRESOURCES_EXPORT
Manage initialization of InitializableObjects using configuration module and parameters.
virtual std::shared_ptr< Common::AbstractAccessByString > getAccessByString() const =0
void accessFileReloaded(std::shared_ptr< Common::AbstractAccessByString > fsaAccess)
virtual void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override=0
initialize with parameters from configuration file.
NAUTITIA.