SELiquidCompartmentDataRequest.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 
16 namespace biogears {
17 class SESubstance;
18 class SESubstanceManager;
19 class SEDataRequestManager;
20 
22  friend class SEDataRequestManager;
23 
24 protected:
25  SELiquidCompartmentDataRequest(const SEDecimalFormat* dfault = nullptr);
26 
27 public:
29 
30  virtual bool Load(const CDM::LiquidCompartmentDataRequestData& in, const SESubstanceManager& substances);
31  virtual CDM::LiquidCompartmentDataRequestData* Unload() const;
32 
33 protected:
34  virtual void Unload(CDM::LiquidCompartmentDataRequestData& data) const;
35 };
36 }
Definition: SELiquidCompartmentDataRequest.h:21
Class corresponding to the LiquidCompartmentDataRequestData schema type.
Definition: Scenario.hxx:2537
Definition: SEDataRequestManager.h:30
Definition: SECompartmentSubstanceDataRequest.h:21
Definition: SEDecimalFormat.h:25
Definition: SESubstanceManager.h:23
Definition: SEElectricalCircuit.h:18