company logo

Application :: ignoreWriteProtection - Ignore permanent write protection

The property indicates, whether persistent write protection will be ignored or not (default). When the option is true, persistent write protection will not be checked when accessing data, i.e. instances that have been marked as permanent write protected by calling (Property::writeProtected(true)) can be updated anyhow.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation overview

Implementation details

  1. Get write protection state
    bool Application  :: ignoreWriteProtection (  )

    The function returns true, when persistent write protection will be ignored and false otherwise.

  2. to list
  3. Set write protection handling
    bool Application  :: ignoreWriteProtection ( bool bWriteProtected )

    The function allows disabling the permanent write protection by passing true in bWriteProtected. Passing false, will enable write protection check.

    The function should be called for maintenance purposes, e.g. in order to maintain redundancy).

    • bWriteProtected - Write protection required

      In order to activate write protection, the value has to be set to true. Passing false will disable write protection.

  4. to list