#include <SEFunction.h>

Inherits SEProperty.

Inherited by SEFunctionElectricPotentialVsTime, and SEFunctionVolumeVsTime.

Public Member Functions

 SEFunction ()
 
virtual ~SEFunction ()
 
virtual void Clear ()
 
void Copy (const SEFunction &src)
 
bool WriteCSVFile (const std::string &filename) const
 
bool IsValid () const override
 
void Invalidate () override
 
virtual size_t Length () const
 
double GetDependentValue (size_t index) const
 
std::vector< double > & GetDependent ()
 
virtual const CCompoundUnitGetDependentUnit () const
 
double GetIndependentValue (size_t index) const
 
std::vector< double > & GetIndependent ()
 
virtual const CCompoundUnitGetIndependentUnit () const
 
- Public Member Functions inherited from SEProperty
 SEProperty ()
 
virtual ~SEProperty ()
 
virtual void Invalidate ()=0
 
virtual bool IsValid () const =0
 

Protected Attributes

std::vector< double > m_Dependent
 
std::vector< double > m_Independent
 

Friends

class PBProperty
 

Constructor & Destructor Documentation

◆ SEFunction()

SEFunction::SEFunction ( )

◆ ~SEFunction()

SEFunction::~SEFunction ( )
virtual

Member Function Documentation

◆ Clear()

void SEFunction::Clear ( )
virtual

◆ Copy()

void SEFunction::Copy ( const SEFunction src)

◆ GetDependent()

std::vector< double > & SEFunction::GetDependent ( )

◆ GetDependentUnit()

virtual const CCompoundUnit * SEFunction::GetDependentUnit ( ) const
inlinevirtual

◆ GetDependentValue()

double SEFunction::GetDependentValue ( size_t  index) const

◆ GetIndependent()

std::vector< double > & SEFunction::GetIndependent ( )

◆ GetIndependentUnit()

virtual const CCompoundUnit * SEFunction::GetIndependentUnit ( ) const
inlinevirtual

◆ GetIndependentValue()

double SEFunction::GetIndependentValue ( size_t  index) const

◆ Invalidate()

void SEFunction::Invalidate ( )
overridevirtual

Implements SEProperty.

◆ IsValid()

bool SEFunction::IsValid ( ) const
overridevirtual

Implements SEProperty.

◆ Length()

size_t SEFunction::Length ( ) const
virtual

◆ WriteCSVFile()

bool SEFunction::WriteCSVFile ( const std::string &  filename) const

Friends And Related Function Documentation

◆ PBProperty

friend class PBProperty
friend

Member Data Documentation

◆ m_Dependent

std::vector<double> SEFunction::m_Dependent
protected

◆ m_Independent

std::vector<double> SEFunction::m_Independent
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.