LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
documentReaderResources.h
Go to the documentation of this file.
1// Copyright 2004-2021 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6#ifndef LIMA_LINGUISTICPROCESSING_XMLREADER_DOCUMENTSREADER_DOCUMENTSREADERRESOURCES_H
7#define LIMA_LINGUISTICPROCESSING_XMLREADER_DOCUMENTSREADER_DOCUMENTSREADERRESOURCES_H
8
14#include "documentProperty.h"
15
16namespace Lima
17{
18namespace DocumentsReader {
19
23class DOCUMENTSREADER_EXPORT DocumentsReaderResources : public Lima::Singleton<DocumentsReaderResources>
24{
25friend class Lima::Singleton<DocumentsReaderResources>;
26
27public:
28
29 virtual ~DocumentsReaderResources();
30
31 std::shared_ptr<StructuredDocumentXMLParser> getXmlParser( const std::string& id) const;
32 std::shared_ptr<DocumentPropertyType> getProperty( const std::string& id) const;
34private:
35
36 DocumentsReaderResources();
37
38 std::unique_ptr<AbstractReaderResource::Manager> m_objectManager;
39
40};
41
42
43} // DocumentsReader
44} // Lima
45
46#endif
47
48
std::shared_ptr< StructuredDocumentXMLParser > getXmlParser(const std::string &id) const
void init(Lima::Common::XMLConfigurationFiles::ModuleConfigurationStructure &confModule)
std::shared_ptr< DocumentPropertyType > getProperty(const std::string &id) const
Defines access method for the singleton pattern.
Definition Singleton.h:22
#define DOCUMENTSREADER_EXPORT
originally detectModuleConfigurationStructure.h in detectlibraries
NAUTITIA.