Go to the documentation of this file.
6#ifndef iprm_CEnableableParam_included
7#define iprm_CEnableableParam_included
Basic implementation of IEnableableParam interface.
bool IsEnablingAllowed() const override
Return a true, if something can be enabled.
std::unique_ptr< istd::IChangeable > CloneMe(istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS) const override
Make a copy of this object.
bool SetEnabled(bool isEnabled=true) override
Set something to isEnabled state.
CEnableableParam(bool isEnabled=true)
bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
bool IsEnabled() const override
Return a true, if something is enabled.
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
Interface for objects which can be enabled/disabled.
Represent input/output persistence archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains interfaces and implementations of flexible parameter concept.
© Witold Gantzke and Kirill Lepskiy