SEFunctionElectricPotentialVsTime.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 
8 {
9  friend class PBProperty;//friend the serialization class
10 public:
11 
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 GetElectricPotentialValue(size_t index, const ElectricPotentialUnit& unit);
25  virtual std::vector<double>& GetElectricPotential();
26  virtual const ElectricPotentialUnit* GetElectricPotentialUnit();
27  virtual void SetElectricPotentialUnit(const ElectricPotentialUnit& unit);
28 
29 protected:
30 
33 };
double GetDependentValue(size_t index)
Definition: SEFunction.cpp:47
Definition: SEFunctionElectricPotentialVsTime.h:7
Definition: SEScalarElectricPotential.h:7
Definition: SEScalarTime.h:7
double GetIndependentValue(size_t index)
Definition: SEFunction.cpp:59
const ElectricPotentialUnit * m_ElectricPotentialUnit
Definition: SEFunctionElectricPotentialVsTime.h:32
const TimeUnit * m_TimeUnit
Definition: SEFunctionElectricPotentialVsTime.h:31
Definition: SEFunction.h:8
virtual void Clear()
Definition: SEFunction.cpp:20
Definition: PBProperties.h:76