#include <SESegmentLinear.h>

Inherits SESegment.

Public Member Functions

virtual ~SESegmentLinear ()
 
virtual void Clear () override
 
virtual bool IsValid () const override
 
virtual bool HasSlope () const
 
virtual SEScalarPressurePerVolumeGetSlope ()
 
virtual double GetSlope (const PressurePerVolumeUnit &unit) const
 
virtual bool HasYIntercept () const
 
virtual SEScalarPressureGetYIntercept ()
 
virtual double GetYIntercept (const PressureUnit &unit) const
 
virtual std::string ToString () const override
 
virtual void ToString (std::ostream &str) const override
 
- Public Member Functions inherited from SESegment
virtual ~SESegment ()
 
virtual void Clear ()
 
virtual bool IsValid () const
 
virtual bool HasBeginVolume () const
 
virtual SEScalarVolumeGetBeginVolume ()
 
virtual double GetBeginVolume (const VolumeUnit &unit) const
 
virtual bool HasEndVolume () const
 
virtual SEScalarVolumeGetEndVolume ()
 
virtual double GetEndVolume (const VolumeUnit &unit) const
 
virtual std::string ToString () const
 
virtual void ToString (std::ostream &str) const
 

Protected Member Functions

 SESegmentLinear ()
 
virtual void Abstract () override
 
- Protected Member Functions inherited from SESegment
 SESegment ()
 
virtual void Abstract ()=0
 

Protected Attributes

SEScalarPressurePerVolumem_Slope
 
SEScalarPressurem_YIntercept
 
- Protected Attributes inherited from SESegment
SEScalarVolumem_BeginVolume
 
SEScalarVolumem_EndVolume
 

Friends

class PBProperty
 
class SECurve
 

Constructor & Destructor Documentation

◆ SESegmentLinear()

SESegmentLinear::SESegmentLinear ( )
protected

◆ ~SESegmentLinear()

SESegmentLinear::~SESegmentLinear ( )
virtual

Member Function Documentation

◆ Abstract()

virtual void SESegmentLinear::Abstract ( )
inlineoverrideprotectedvirtual

Implements SESegment.

◆ Clear()

void SESegmentLinear::Clear ( )
overridevirtual

Reimplemented from SESegment.

◆ GetSlope() [1/2]

SEScalarPressurePerVolume & SESegmentLinear::GetSlope ( )
virtual

◆ GetSlope() [2/2]

double SESegmentLinear::GetSlope ( const PressurePerVolumeUnit unit) const
virtual

◆ GetYIntercept() [1/2]

SEScalarPressure & SESegmentLinear::GetYIntercept ( )
virtual

◆ GetYIntercept() [2/2]

double SESegmentLinear::GetYIntercept ( const PressureUnit unit) const
virtual

◆ HasSlope()

bool SESegmentLinear::HasSlope ( ) const
virtual

◆ HasYIntercept()

bool SESegmentLinear::HasYIntercept ( ) const
virtual

◆ IsValid()

bool SESegmentLinear::IsValid ( ) const
overridevirtual

Reimplemented from SESegment.

◆ ToString() [1/2]

std::string SESegmentLinear::ToString ( ) const
overridevirtual

Reimplemented from SESegment.

◆ ToString() [2/2]

void SESegmentLinear::ToString ( std::ostream &  str) const
overridevirtual

Reimplemented from SESegment.

Friends And Related Function Documentation

◆ PBProperty

friend class PBProperty
friend

◆ SECurve

friend class SECurve
friend

Member Data Documentation

◆ m_Slope

SEScalarPressurePerVolume* SESegmentLinear::m_Slope
protected

◆ m_YIntercept

SEScalarPressure* SESegmentLinear::m_YIntercept
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.