SEFunctionVolumeVsTime.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEFunction.h"
6 
7 class CDM_DECL SEFunctionVolumeVsTime : public SEFunction
8 {
9  friend class PBProperty;//friend the serialization class
10 public:
11 
13  virtual ~SEFunctionVolumeVsTime();
14 
15  virtual void Clear();
16 
17  double GetIndependentValue(size_t index) = delete;
18  virtual double GetTimeValue(size_t index, const TimeUnit& unit);
19  virtual std::vector<double>& GetTime();
20  virtual const TimeUnit* GetTimeUnit();
21  virtual void SetTimeUnit(const TimeUnit& unit);
22 
23  double GetDependentValue(size_t index) = delete;
24  virtual double GetVolumeValue(size_t index, const VolumeUnit& unit);
25  virtual std::vector<double>& GetVolume();
26  virtual const VolumeUnit* GetVolumeUnit();
27  virtual void SetVolumeUnit(const VolumeUnit& unit);
28 
29 protected:
30 
33 };
Definition: SEScalarVolume.h:7
double GetDependentValue(size_t index)
Definition: SEFunction.cpp:47
Definition: SEFunctionVolumeVsTime.h:7
const VolumeUnit * m_VolumeUnit
Definition: SEFunctionVolumeVsTime.h:32
Definition: SEScalarTime.h:7
double GetIndependentValue(size_t index)
Definition: SEFunction.cpp:59
Definition: SEFunction.h:8
virtual void Clear()
Definition: SEFunction.cpp:20
Definition: PBProperties.h:76
const TimeUnit * m_TimeUnit
Definition: SEFunctionVolumeVsTime.h:31