SEHistogramFractionVsLength.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/properties/SEHistogram.h"
6
8{
9 friend class PBProperty;//friend the serialization class
10public:
11
14
15 void Clear() override;
16
17 virtual bool IsVaild() const;
18
19 virtual double GetFractionValue(size_t index) const;
20 virtual std::vector<double>& GetFraction();
21 virtual const std::vector<double>& GetFraction() const;
22
23 virtual double GetLengthValue(size_t index, const LengthUnit& unit) const;
24 virtual std::vector<double>& GetLength();
25 virtual const std::vector<double>& GetLength() const;
26 virtual const LengthUnit* GetLengthUnit() const;
27 virtual void SetLengthUnit(const LengthUnit& unit);
28
29protected:
31};
Definition: SEScalarLength.h:8
Definition: PBProperties.h:87
Definition: SEHistogramFractionVsLength.h:8
const LengthUnit * m_LengthUnit
Definition: SEHistogramFractionVsLength.h:30
Definition: SEHistogram.h:8
virtual void Clear()
Definition: SEHistogram.cpp:17

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.