SEHistogramFractionVsLength.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEHistogram.h"
6 
7 class CDM_DECL SEHistogramFractionVsLength : public SEHistogram
8 {
9  friend class PBProperty;//friend the serialization class
10 public:
11 
13  virtual ~SEHistogramFractionVsLength();
14 
15  virtual void Clear();
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 
29 protected:
31 };
const LengthUnit * m_LengthUnit
Definition: SEHistogramFractionVsLength.h:30
virtual void Clear()
Definition: SEHistogram.cpp:19
Definition: SEHistogramFractionVsLength.h:7
Definition: SEScalarLength.h:7
Definition: SEHistogram.h:8
Definition: PBProperties.h:76