40 virtual bool IsEqual(
const IChangeable&
object)
const override;
Data model implementation of ISpectrumInfo interface.
virtual int GetSamplesCount() const override
Return number of samples.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual istd::CIntRange GetSpectralRange() const override
Get the spectral range of the measured values given in nm.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
virtual bool IsEqual(const IChangeable &object) const override
virtual bool ResetData(CompatibilityMode mode=CM_WITHOUT_REFS) override
Reset data to its default state.
bool operator==(const CSpectrumInfo &other) const
CSpectrumInfo(const istd::CIntRange &range, int step)
CSpectrumInfo(const ISpectrumInfo &other)
virtual int GetStep() const override
Get distance/step between the samples in the spectrum definition (in nm).
bool SetRange(const istd::CIntRange &range)
Common interface for describing the properties or meta-informations of a measured/sampled spectrum.
Represents an input/output persistence archive for object serialization.
Common class for all classes which objects can be archived or restored from archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains color management classes.