Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
CachedProvider.h
Go to the documentation of this file.
1
23
24#ifndef _XYDATASET_CACHEDPROVIDER_H
25#define _XYDATASET_CACHEDPROVIDER_H
26
27#include <map>
28#include <string>
29
30#include "ElementsKernel/Export.h"
31#include "QualifiedName.h"
32#include "XYDatasetProvider.h"
33
34namespace Euclid {
35namespace XYDataset {
36
96
97} // namespace XYDataset
98} // namespace Euclid
99
100#endif
std::string getParameter(const QualifiedName &qualified_name, const std::string &key_word) override
virtual ~CachedProvider()=default
Destructor.
std::shared_ptr< XYDatasetProvider > m_provider
CachedProvider(std::shared_ptr< XYDatasetProvider > provider)
std::map< QualifiedName, std::unique_ptr< XYDataset > > m_dataset
std::vector< QualifiedName > listContents(const std::string &group) override
Virtual function to list all files contents in the "group" path.
std::unique_ptr< XYDataset > getDataset(const QualifiedName &qualified_name) override
Virtual function for getting from a qualified name the dataset of XYDataset type.
std::map< std::string, std::vector< QualifiedName > > m_list_cache
Represents a name qualified with a set of groups.
This interface class provides the dataset following a qualified name object.
#define ELEMENTS_API