![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <CPackagesLoaderExtComp.h>
Classes | |
struct | Entry |
Public Member Functions | |
int | GetIndexOperationFlags (int index=-1) const override |
Get operation control flags of some paramter set or whole manager. | |
bool | SetIndexOperationFlags (int index, int flags) override |
Set operation control flags of some parameter-set. | |
int | GetParamsSetsCount () const override |
Get number of managed set. | |
const IOptionsList * | GetParamsTypeConstraints () const override |
Get selection contraints describing each supported type. | |
int | InsertParamsSet (int typeIndex=-1, int index=-1) override |
Insert new parameters set at selected position. | |
bool | RemoveParamsSet (int index) override |
Remove parameters set at selected position. | |
bool | SwapParamsSet (int index1, int index2) override |
Swap two parameter sets. | |
iprm::IParamsSet * | GetParamsSet (int index) const override |
Get selected parameter set. | |
QString | GetParamsSetName (int index) const override |
Get name of specified parameter set. | |
bool | SetParamsSetName (int index, const QString &name) override |
Set name of specified parameter set. | |
QString | GetParamsSetDescription (int index) const override |
Get the description of the specified parameter set. | |
void | SetParamsSetDescription (int index, const QString &description) override |
Set the description of the specified parameter set. | |
int | GetOptionsFlags () const override |
Get constraints flags. | |
int | GetOptionsCount () const override |
Get number of managed options. | |
QString | GetOptionName (int index) const override |
Get name of specified option. | |
QString | GetOptionDescription (int index) const override |
Get human readable description for a option with the index index . | |
QByteArray | GetOptionId (int index) const override |
Get option ID. | |
bool | IsOptionEnabled (int index) const override |
Return true if the option is enabled and can be selected. | |
![]() | |
![]() | |
![]() | |
virtual int | GetSupportedOperations () const |
Get set of flags for supported operations. | |
virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
Copy this object from another one. | |
virtual bool | IsEqual (const IChangeable &object) const |
Compare this object with another object. | |
virtual std::unique_ptr< IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const |
Make a copy of this object. | |
virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
Reset data to its default state. | |
virtual QMutex * | GetChangesLock () const |
Get mutex beeing locked during changes, if available. | |
virtual void | BeginChanges (const ChangeSet &changeSet) |
Starts the change transaction. | |
virtual void | EndChanges (const ChangeSet &changeSet) |
Ends the change transaction. | |
virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
Starts group of changes. | |
virtual void | EndChangeGroup (const ChangeSet &changeSet) |
Ends group of changes. | |
Public Attributes | |
std::vector< Entry > | rootRegistries |
Additional Inherited Members | |
![]() | |
enum | ParamsOperationFlags { MF_COUNT_FIXED = 1 , MF_SUPPORT_RENAME = 2 , MF_SUPPORT_INSERT = 4 , MF_SUPPORT_DELETE = 8 , MF_SUPPORT_SWAP = 16 , MF_DISABLE_ALLOWED = 32 , MF_SUPPORT_EDIT = 64 , MF_INACTIVE = 128 } |
Bitwise coded flags used to find out supported features. More... | |
enum | ChangeFlags { CF_SET_INSERTED = 0x5af60 , CF_SET_REMOVED , CF_SET_NAME_CHANGED , CF_SET_ENABLE_CHANGED } |
Possible changes of the manager's data model. More... | |
typedef QSet< QByteArray > | TypeIds |
![]() | |
enum | ChangeFlags { CF_OPTIONS_CHANGED = 0x8263d86 , CF_OPTION_RENAMED } |
Flags for changes related to this interface. More... | |
enum | OptionsFlags { SCF_NONE = 0 , SCF_SUPPORT_UNIQUE_ID = 256 , SFC_DISABLE_ALLOWED = 32 } |
Flags for control constraints behavior. More... | |
![]() | |
enum | ChangeFlags { CF_ICF_INTERNAL = 0 , CF_ALL_DATA , CF_ANY , CF_DESTROYING , CF_DELEGATED , CF_NO_UNDO } |
Data model change notification flags. More... | |
enum | SupportedOperations { SO_NONE = 0 , SO_OBSERVE = 1 << 0 , SO_COPY = 1 << 1 , SO_CLONE = 1 << 2 , SO_COMPARE = 1 << 3 , SO_RESET = 1 << 4 , SO_CHANGE_LOCK = 1 << 5 } |
Flags for supported operations. More... | |
enum | CompatibilityMode { CM_STRICT , CM_WITHOUT_REFS , CM_WITH_REFS , CM_CONVERT } |
Control how relationship betweeen objects are interpreted. More... | |
![]() | |
static int | FindIndexById (const QByteArray &id, const iprm::IOptionsList &list) |
Helper function to find the option index by ID. | |
![]() | |
static const ChangeSet & | GetNoChanges () |
Get empty set of changes. | |
static const ChangeSet & | GetAnyChange () |
Get anonymous change set. | |
static const ChangeSet & | GetAllChanges () |
Get anonymous change set. | |
static const ChangeSet & | GetDelegatedChanges () |
Get delegated change set. | |
![]() | |
virtual void | OnBeginChanges () |
Callback function for begin change event. | |
virtual void | OnEndChanges (const ChangeSet &changeSet) |
Callback function for end change event. | |
Definition at line 50 of file CPackagesLoaderExtComp.h.
|
overridevirtual |
Get operation control flags of some paramter set or whole manager.
index | index addressing position in parameter set list. For negative value general flags are returned. For example if you want to check if there is any renameable element you should call it with negative index value. To check if first element can be renamed call it with index value 0. To check if you can insert at the last position please use index value equal to current number of parameter set. |
Implements iprm::IParamsManager.
|
overridevirtual |
Get human readable description for a option with the index index
.
Implements iprm::IOptionsList.
|
overridevirtual |
Get option ID.
The option ID must be unique, if flag SCF_SUPPORT_UNIQUE_ID is set.
Implements iprm::IOptionsList.
|
overridevirtual |
Get name of specified option.
Implements iprm::IOptionsList.
|
overridevirtual |
Get number of managed options.
Implements iprm::IOptionsList.
|
overridevirtual |
Get constraints flags.
The flags describes how the constraints object mantainance
Implements iprm::IOptionsList.
|
overridevirtual |
Get selected parameter set.
Implements iprm::IParamsManager.
|
overridevirtual |
Get the description of the specified parameter set.
Implements iprm::IParamsManager.
|
overridevirtual |
Get name of specified parameter set.
Implements iprm::IParamsManager.
|
overridevirtual |
Get number of managed set.
Implements iprm::IParamsManager.
|
overridevirtual |
Get selection contraints describing each supported type.
Implements iprm::IParamsManager.
|
overridevirtual |
Insert new parameters set at selected position.
typeIndex | Index of parameter type. This index is context specified and is used to indicate type of parameters should be added. If equals negative value the type will be automatically selected. |
index | Position in list of parameters or negative value to use default position. |
index
value) it will return the same index or negative value. Implements iprm::IParamsManager.
|
overridevirtual |
Return true
if the option is enabled and can be selected.
Implements iprm::IOptionsList.
|
overridevirtual |
Remove parameters set at selected position.
Implements iprm::IParamsManager.
|
overridevirtual |
Set operation control flags of some parameter-set.
Only single parameter-set related flags can be set.
flags | Operation flags to be used. |
index | Index addressing position in parameter set list. |
Implements iprm::IParamsManager.
|
overridevirtual |
Set the description of the specified parameter set.
Implements iprm::IParamsManager.
|
overridevirtual |
Set name of specified parameter set.
Implements iprm::IParamsManager.
|
overridevirtual |
Swap two parameter sets.
Implements iprm::IParamsManager.
|
mutable |
Definition at line 81 of file CPackagesLoaderExtComp.h.
© Witold Gantzke and Kirill Lepskiy