SEGasCompartmentDataRequest.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <biogears/cdm/scenario/requests/SECompartmentSubstanceDataRequest.h>
15 #include <biogears/schema/cdm/Compartment.hxx>
16 
17 namespace biogears {
18 class SESubstance;
19 class SESubstanceManager;
20 class SEDataRequestManager;
21 
23  friend class SEDataRequestManager;
24 
25 protected:
26  SEGasCompartmentDataRequest(const SEDecimalFormat* dfault = nullptr);
27 
28 public:
29  virtual ~SEGasCompartmentDataRequest();
30 
31  virtual bool Load(const CDM::GasCompartmentDataRequestData& in, const SESubstanceManager& substances);
32  virtual CDM::GasCompartmentDataRequestData* Unload() const;
33 
34 protected:
35  virtual void Unload(CDM::GasCompartmentDataRequestData& data) const;
36 };
37 }
Definition: SEDataRequestManager.h:30
Definition: SEGasCompartmentDataRequest.h:22
Definition: SECompartmentSubstanceDataRequest.h:21
Definition: SEDecimalFormat.h:25
Definition: SESubstanceManager.h:23
Definition: SEElectricalCircuit.h:18
Class corresponding to the GasCompartmentDataRequestData schema type.
Definition: Scenario.hxx:2460