Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
HdfProxyROS3Factory.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "HdfProxyFactory.h"
22
23#include "../eml2_0/HdfProxyROS3.h"
24
25namespace COMMON_NS
26{
32 {
33 public:
34
36 std::string secret_id;
38 std::string secret_key;
39
42
45
54 virtual EML2_NS::AbstractHdfProxy* make(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) {
55 return new EML2_0_NS::HdfProxyROS3(partialObject, secret_id, secret_key);
56 }
57
66 virtual EML2_NS::AbstractHdfProxy* make(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference* fromGsoap) {
67 return new EML2_0_NS::HdfProxyROS3(fromGsoap, secret_id, secret_key);
68 }
69 };
70}
An HDF5 file proxy factory.
Definition HdfProxyFactory.h:27
A proxy factory for an HDF5 file located on an Amazon S3 cloud. Here, HDF5 file access is read only.
Definition HdfProxyROS3Factory.h:32
std::string secret_key
Definition HdfProxyROS3Factory.h:38
virtual eml2::AbstractHdfProxy * make(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition HdfProxyROS3Factory.h:54
virtual eml2::AbstractHdfProxy * make(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference *fromGsoap)
Definition HdfProxyROS3Factory.h:66
HdfProxyROS3Factory()
Definition HdfProxyROS3Factory.h:41
std::string secret_id
Definition HdfProxyROS3Factory.h:36