Changes to Mofcomp flags and pragmas.

In order to support safe and forced updates, two new flags have been added to the mofcompiler parameters.

Class:safeupdate

Class:forceupdate

In addition, the existing pragma has been extended to take case-insensitive strings. These strings should be easy to remember since they match the values used after the ‘:’ in the command line class and instance options. For specifying instance or class flags, the strings "createonly" or "updateonly" may be used. For classes only, the strings "forceupdate" and "safeupdate" may also be used.

For example,

#pragma instanceflags("createonly")

#pragma classflags("safeupdate")

In the class case, the "updateonly" may be combined with either the "forceupdate" or "safeupdate" choice. For example;

#pragma classflags("updateonly", "forceupdate")

Should you need to reset the flags, just enter nothing. Example

#pragma classflags()

#pragma instanceflags()