17class __declspec(dllexport) ResultCollectionMetadataAccess
21 ResultCollectionMetadataAccess(
const std::string& crossCollectionName,
ot::components::ModelComponent* modelComponent, ClassFactory* classFactory,
const std::string& sessionServiceURL);
22 ResultCollectionMetadataAccess(ResultCollectionMetadataAccess&& other)
noexcept;
23 ResultCollectionMetadataAccess& operator=(ResultCollectionMetadataAccess&& other)
noexcept;
25 virtual ~ResultCollectionMetadataAccess() {};
27 const std::list<std::string> listAllSeriesNames()
const;
28 const std::list<std::string> listAllParameterLabels()
const;
29 const std::list<std::string> listAllQuantityLabels()
const;
31 const std::list<std::string> listAllParameterLabelsFromSeries(
const std::string& _label)
const;
32 const std::list<std::string> listAllQuantityLabelsFromSeries(
const std::string& _label)
const;
35 const MetadataSeries* findMetadataSeries(
const std::string& _label)
const;
37 const MetadataSeries* findMetadataSeries(
ot::UID _index)
const ;
39 const MetadataParameter* findMetadataParameter(
const std::string& _label)
const;
41 const MetadataParameter* findMetadataParameter(
ot::UID _index)
const;
43 const MetadataQuantity* findMetadataQuantity(
const std::string& _label)
const;
45 const MetadataQuantity* findMetadataQuantity(
ot::UID _index)
const;
47 std::list< MetadataQuantity*>findQuantityWithSameName(
const std::string& _name);
48 std::list< MetadataParameter*>findParameterWithSameName(
const std::string& _name);
50 const MetadataCampaign& getMetadataCampaign()
const {
return m_metadataCampaign; }
52 const std::string& getCollectionName()
const {
return m_collectionName; }
54 bool collectionHasMetadata()
const {
return m_metadataExistInProject; }
57 ResultCollectionMetadataAccess() {};
58 bool m_metadataExistInProject =
false;
59 std::string m_collectionName;
61 MetadataCampaign m_metadataCampaign;
64 void loadExistingCampaignData(ClassFactory* classFactory);
65 std::vector<EntityBase*> findAllExistingMetadata(ClassFactory* classFactory);