SEArrayElectricPotential.h
1/* Distributed under the Apache License, Version 2.0.
2See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "SEArray.h"
6
7class CDM_DECL SEArrayElectricPotential : public SEArray
8{
9 friend class PBProperty;//friend the serialization class
10public:
13
14 void Copy(const SEArray& src) = delete;
15 void Copy(const SEArrayElectricPotential& src);
16
17 const ElectricPotentialUnit* GetUnit() const { return m_ElectricPotentialUnit; }
18
19protected:
20 const ElectricPotentialUnit* m_ElectricPotentialUnit = nullptr;
21};
Definition: SEScalarElectricPotential.h:8
Definition: PBProperties.h:87
Definition: SEArrayElectricPotential.h:8
const ElectricPotentialUnit * GetUnit() const
Definition: SEArrayElectricPotential.h:17
void Copy(const SEArray &src)=delete
~SEArrayElectricPotential()=default
SEArrayElectricPotential()=default
Definition: SEArray.h:8
void Copy(const SEArray &src)
Definition: SEArray.cpp:21

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.