All Frameworks Class Hierarchy This Framework Indexes
Usage: you can reimplement this interface by deriving the supplied CATSysSettingController adapter class.
interface CATISysSettingController
Interface to handle the setting controller.
Role: This interface must be implemented by a component which
represents the controller of the setting repository and file.
Use the CATSysSettingController class to implement CATISysSettingController.
In most cases, you should not re-implement these methods, except if you create
a bufferized setting controller. Refer to the CAA Encyclopedia to know
about such controllers.
| public virtual Commit( | iNoEvent | =0) |
Commit saves the current values of the setting
attributes managed by the setting controller in a specific memory area.
Successive calls to Commit overwrite the memory area.
The values saved by the last call to Commit can be restored from
that memory area using the
Rollback method.
| public virtual ResetToAdminValues( | iAttList | =NULL, | |
| iNbAtt | =0) |
ResetToAdminValues restores all
the values of the setting attributes managed by the setting controller
to either the values set by the setting administrator, or to their default
values if the setting administrator did not change them.
| public virtual Rollback( | ) |
Rollback restores the values of the
setting attributes managed by the setting controller from the memory area.
All values of the setting attributes managed by the setting controller
modified since the last call to
Commit are restored to the values they had when this last
Commit was called.
| public virtual SaveRepository( | const | itmp | =NULL) |
SaveRepository saves the current values of the
setting attributes managed by the setting controller in a setting repository
file. To avoid inconsistencies, SaveRepository first saves the
values in the memory area used by the
Commit method by calling
Commit before writing the values in the setting repository file.
Copyright © 2003, Dassault Systèmes. All rights reserved.