Static Public Member Functions | |
_.Library.Status | Activate () |
Read and activate the current CPF file. More... | |
_.Library.Boolean | CPFFileNeedsActivation (_.Library.String Msg) |
Returns 0/1 if the CPF file has been modified but not activated. More... | |
_.Library.Status | Convert (_.Library.String CPFFile, _.Library.Integer Flags) |
Convert a CPF file to the current version. More... | |
_.Library.Boolean | PendingRestart (_.Library.String Reasons) |
Determines if a restart of the system is required in order to. More... | |
_.Library.Status | Validate (_.Library.String CPFFile, _.Library.Integer Flags, _.Library.String ErrorText) |
Validate a CPFFile. More... | |
Write (_.Library.String CPFFile) | |
Write to the CPF file from the config object. More... | |
|
static |
|
static |
|
static |
|
static |
Determines if a restart of the system is required in order to.
activate modified CPF parameters.
Return Values:
0 - Restart is not required
1 - Restart is required
Reasons - If a restart is required, an array of reasons why in the following format.
Reasons=1
Reasons(1,"New")=New value
Reasons(1,"Old")=Old Value
Reasons(1,"Property")=Property name
Reasons(1,"Section")=Section name
Reasons(1)="Restart required because section [xxx], property yyy modified, new value:zzz, old value:zzz"
Note that if the CPF file has been modified, but not yet activated, this method will return 1, and the following array:
Reasons=1
Reasons(1)="Restart or reactivation required because the CPF file xxxx has been modified, but not activated"
Reasons(1,"New")=""
Reasons(1,"Old")=""
Reasons(1,"Property")=""
Reasons(1,"Section")=""
|
static |
Validate a CPFFile.
CPFFile - CPF file to validate.
Flags - Options for error text. Macros defined in syConfig.inc.
Bit $$$ErrorTextToScreen - Write error text to terminal
Bit $$$ErrorTextToConsole - Write error text to messages.log
Bit $$$ErrorTextToArray - Return error text in ErrorText array
|
static |