SEInitialEnvironmentalConditions.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4#include "cdm/system/environment/conditions/SEEnvironmentCondition.h"
6
8{
9 friend class PBEnvironmentCondition;//friend the serialization class
10public:
11
14
15 static constexpr char const* Name = "Initial Environmental Conditions";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override;
19 virtual void Copy(const SEInitialEnvironmentalConditions& src, const SESubstanceManager& subMgr);
20
21 bool IsValid() const override;
22 bool IsActive() const override;
23
24 virtual bool HasEnvironmentalConditions() const;
25 virtual SEEnvironmentalConditions& GetEnvironmentalConditions();
26 virtual const SEEnvironmentalConditions* GetEnvironmentalConditions() const;
27
28 virtual std::string GetEnvironmentalConditionsFile() const;
29 virtual void SetEnvironmentalConditionsFile(const std::string& fileName);
30 virtual bool HasEnvironmentalConditionsFile() const;
31
32protected:
35};
Definition: Logger.h:71
Definition: PBEnvironmentConditions.h:11
static void Copy(const SEInitialEnvironmentalConditions &src, SEInitialEnvironmentalConditions &dst, const SESubstanceManager &subMgr)
Definition: PBEnvironmentConditions.cpp:82
Definition: SEEnvironmentCondition.h:7
bool IsActive() const override=0
bool IsValid() const override=0
void Clear() override
Definition: SEEnvironmentCondition.cpp:17
Definition: SEEnvironmentalConditions.h:16
Definition: SEInitialEnvironmentalConditions.h:8
SEEnvironmentalConditions * m_EnvironmentalConditions
Definition: SEInitialEnvironmentalConditions.h:34
std::string GetName() const override
Definition: SEInitialEnvironmentalConditions.h:16
std::string m_EnvironmentalConditionsFile
Definition: SEInitialEnvironmentalConditions.h:33
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.