InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDataBase::SaveRestoreModifiedState Class Reference

#include <IDataBase.h>

Public Member Functions

 SaveRestoreModifiedState (IDataBase *db)
 

Detailed Description

This stack-based class is to be used in a scope where you want to perform an operation which is "logically const" on the database (that is, you don't want operations during that scope to set the modified state of the database if it was not already set). Just put the following in the scope you need: IDataBase::SaveRestoreModifiedState saveRestore(db);