company logo

ObjectSpace :: updateTimestamp - Enable/Disable time stamp updating

When objects are derived from __OBJECT , the time stamp in the __OBJECT base structure is updated automatically, whenever an object is modified. In order to suppress automatic timestamp update, this object space property can be set to false . When being set to true , timestamp updating is enabled.

Return value:  Timestamp option ( bool  )

In order to enable automatic timestamps, this option is be passed as true . Passing false indicated disabled timestamps.

Implementation overview

Implementation details

  1. Get timestamp update option
    bool ObjectSpace  :: updateTimestamp (  )

    The function returns true , when timestamp update is enabled and false otherwise.

  2. to list
  3. Set timestamp update option
    bool ObjectSpace  :: updateTimestamp ( bool bTimestamp )

    In order to suppress time stamp updating, false has to be passed in bTimeStamp . After disabling automatic time stamping, the application must enable this feature explicitly, when time stamping is requested again.

    • bTimestamp - Timestamp option

      In order to enable automatic timestamps, this option is be passed as true . Passing false indicated disabled timestamps.

  4. to list