SEAppliedTemperature.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 
5 class CDM_DECL SEAppliedTemperature : public Loggable
6 {
7  friend class PBEnvironment;//friend the serialization class
8 public:
9 
11  virtual ~SEAppliedTemperature();
12 
13  virtual void Clear();
14 
15  virtual const SEScalar* GetScalar(const std::string& name);
16 
17  virtual bool HasTemperature() const;
18  virtual SEScalarTemperature& GetTemperature();
19  virtual double GetTemperature(const TemperatureUnit& unit) const;
20 
21  virtual bool HasSurfaceArea() const;
22  virtual SEScalarArea& GetSurfaceArea();
23  virtual double GetSurfaceArea(const AreaUnit& unit) const;
24 
25  virtual bool HasSurfaceAreaFraction() const;
26  virtual SEScalar0To1& GetSurfaceAreaFraction();
27  virtual double GetSurfaceAreaFraction() const;
28 
29  virtual eSwitch GetState() const;
30  virtual void SetState(eSwitch onOff);
31 
32  virtual void ToString(std::ostream &str) const;
33 
34 protected:
35 
39  eSwitch m_State;
40 };
Definition: SEScalarArea.h:20
SEScalar0To1 * m_SurfaceAreaFraction
Definition: SEAppliedTemperature.h:38
Definition: SEScalar.h:19
Definition: Logger.h:61
Definition: Logger.h:11
SEScalarArea * m_SurfaceArea
Definition: SEAppliedTemperature.h:37
Definition: SEScalarTemperature.h:22
Definition: SEAppliedTemperature.h:5
Definition: SEScalarArea.h:7
Definition: SEScalarTemperature.h:7
Definition: PBEnvironment.h:10
eSwitch m_State
Definition: SEAppliedTemperature.h:39
SEScalarTemperature * m_Temperature
Definition: SEAppliedTemperature.h:36
Definition: SEScalar0To1.h:7