company logo

PropertyHandle :: GetLOID - Get instance identity (LOID)

The function returns the local object identity for the instance selected in the property handle. When no instance is selected the function returns 0. When calling the function for a share

base property handle, the function returns the identity for the shared base instance, but not the identity for the derived class.

When passing a key or a position, the instance according to the passed key or position greater or equal to 0 is selected before retrieving the LOID.

Return value:   - internal feature (not documented) ( int64  )

Implementation overview

Implementation details

  1. - internal feature (not documented)
    int64 PropertyHandle  :: GetLOID ( ::Key sort_key )
    • sort_key - - internal feature (not documented)
  2. to list
  3. - internal feature (not documented)
    int64 PropertyHandle  :: GetLOID ( NString &cnstring )
    • cnstring - String containing the text
  4. to list
  5. - internal feature (not documented)
    int64 PropertyHandle  :: GetLOID ( int32 set_pos0_w=AUTO )
    • set_pos0_w - Position in collection

      The position of an instance in a collection depends on the selected index. if the collection is unsorted the position is the only way for accessing the instance.

      For sorted collections the position is determined according to the instance key. If is a contradiction between position and key value the position will be ignored.

      Special positions are

      CUR_INSTANCE (-1) refers to the currently selected instance. If no instance is selected it refers to the first instance.

      FIRST_INSTANCE (0) refers to the first instance in a collection according to the selected index (sort order).

      FIRST_INSTANCE (0x7fffffff) refers to the last instance in a collection according to the selected index (sort order).

      Default: AUTO
  6. to list