6#include <QtCore/QVector>
32 I_ASSIGN(m_paramSetsFactPtr,
"ParamsSetFactory",
"Factory of variable parameter set",
false,
"ParamsSet");
45 const QString& optionName,
46 const QByteArray& optionId,
47 const QString& optionDescription = QString(),
50 virtual bool SetOptionName(
int optionIndex,
const QString& optionName)
override;
59 virtual bool IsEqual(
const IChangeable&
object)
const override;
Implementation of parameter manager.
Implementation of parameter manager.
virtual bool IsParameterCreationSupported() const override
Return true if creation of parameter sets is supported by the implementation.
virtual IParamsSetUniquePtr CreateParamsSetInstance(int typeIndex=-1) const override
Create a new instance of the parameter set.
virtual int GetOptionOperationFlags(int index=-1) const override
Get operation control flags of some option or whole manager.
virtual bool SwapOptions(int index1, int index2) override
Swap two options.
virtual bool RemoveOption(int index) override
Remove an option at the given index.
virtual bool IsEqual(const IChangeable &object) const override
virtual bool InsertOption(const QString &optionName, const QByteArray &optionId, const QString &optionDescription=QString(), int index=-1)
Insert an option at some position.
virtual bool SetOptionName(int optionIndex, const QString &optionName) override
Set a new name for the option at the given index.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
virtual int GetCreatedParamsSetsCount() const override
Get the number of parameter sets created at the run time.
virtual void OnComponentCreated() override
virtual bool SetOptionDescription(int optionIndex, const QString &optionDescription) override
Set a new description for the option at the given index.
virtual bool CopyFrom(const istd::IChangeable &object, istd::IChangeable::CompatibilityMode mode=CM_WITHOUT_REFS) override
Copy this object from another one.
virtual const IOptionsList * GetParamsTypeConstraints() const override
Get selection constraints describing each supported type.
bool SetSetsCount(int count)
virtual void OnComponentDestroyed() override
virtual bool SetOptionEnabled(int index, bool isEnabled=true) override
Enables or disables a given option.
CParamsManagerCompBase BaseClass
Constraints of selection from set of possibilities.
Common interface for the management of dynamic selection constraints.
Manager of parameter sets.
Set of general parameters.
Interface allowing to select single option from list of options.
Represents an input/output persistence archive for object serialization.
Common class for all classes which objects can be archived or restored from archive.
Common interface for data model objects, which can be changed.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Unique ownership smart pointer for interface types.
Contains interfaces and implementations of flexible parameter concept.