SESegmentConstant.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5
6#include "cdm/properties/SESegment.h"
7
8class CDM_DECL SESegmentConstant : public SESegment
9{
10protected:
11 friend class PBProperty;//friend the serialization class
12 friend class SECurve;
14public:
15 virtual ~SESegmentConstant();
16
17 virtual void Clear() override;
18 virtual bool IsValid() const override;
19
20 virtual bool HasCompliance() const;
21 virtual SEScalarVolumePerPressure& GetCompliance();
22 virtual double GetCompliance(const VolumePerPressureUnit& unit) const;
23
24 virtual std::string ToString() const override;
25 virtual void ToString(std::ostream& str) const override;
26
27protected:
28 virtual void Abstract() override { };
29
31};
Definition: PBProperties.h:87
Definition: SECurve.h:12
Definition: SEScalarVolumePerPressure.h:28
Definition: SESegmentConstant.h:9
virtual void Abstract() override
Definition: SESegmentConstant.h:28
SEScalarVolumePerPressure * m_Compliance
Definition: SESegmentConstant.h:30
Definition: SESegment.h:7
virtual bool IsValid() const
Definition: SESegment.cpp:27
virtual std::string ToString() const
Definition: SESegment.cpp:66
virtual void Clear()
Definition: SESegment.cpp:21
Definition: SEScalarVolumePerPressure.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.