SEEnvironmentCondition.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 #pragma once
13 #include <biogears/cdm/scenario/SECondition.h>
14 #include <biogears/schema/cdm/EnvironmentConditions.hxx>
15 
16 namespace biogears {
17 class BIOGEARS_API SEEnvironmentCondition : public SECondition {
18 public:
20  virtual ~SEEnvironmentCondition();
21 
22  virtual void Clear();
23 
24  virtual bool IsValid() const;
25 
26  virtual bool Load(const CDM::EnvironmentConditionData& in);
27  virtual CDM::EnvironmentConditionData* Unload() const;
28 
29 protected:
30  virtual void Unload(CDM::EnvironmentConditionData& data) const;
31 
32 public:
33  virtual void ToString(std::ostream& str) const = 0;
34 };
35 }
Definition: SEEnvironmentCondition.h:17
Class corresponding to the EnvironmentConditionData schema type.
Definition: EnvironmentConditions.hxx:685
Definition: SEElectricalCircuit.h:18
Definition: SECondition.h:22