ACF $AcfVersion:0$
CSpectralColorSpecificationBase.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
8
9
10namespace icmm
11{
12
13
15{
16public:
18
19 // reimplemented (ISpectrumInfoProvider)
20 virtual const ISpectrumInfo* GetSpectrumInfo() const override;
21 virtual SpectrumType GetSpectrumType() const override;
22
23 // reimplemented (iser::ISerializable)
24 virtual bool Serialize(iser::IArchive& archive) override;
25
26 // reimplemented (istd::IChangeable)
27 virtual int GetSupportedOperations() const override;
28 virtual bool CopyFrom(const istd::IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS) override;
29 virtual bool IsEqual(const istd::IChangeable& other) const override;
30
31protected:
34
35protected:
38};
39
40
41} // namespace icmm
42
43
CSpectralColorSpecificationBase(const ISpectrumInfo &spectrumInfo)
virtual bool CopyFrom(const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
Copy this object from another one.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
CSpectralColorSpecificationBase(const CSpectralColorSpecificationBase &spec)
virtual const ISpectrumInfo * GetSpectrumInfo() const override
virtual SpectrumType GetSpectrumType() const override
virtual bool IsEqual(const istd::IChangeable &other) const override
Compare this object with another object.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
CSpectralColorSpecificationBase(istd::CIntRange range, int step)
Data model implementation of ISpectrumInfo interface.
Common interface for describing the properties or meta-informations of a measured/sampled spectrum.
Represents an input/output persistence archive for object serialization.
Definition IArchive.h:164
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains color management classes.