company logo

PropertyHandle :: GetIntValue - Get property instance as integer value

The function returns the integer value for the current property handle or for the attribute passed in prop_path. When the field definition refers to the value with decimal precisions the value returned contains only the part before the decimal point. To get the exact value use GetNormalized().

In contrast to GetInt(), no instance must be selected in the property handle.

Return value:  Integer value ( int32  )

Implementation overview

Implementation details

  1. - internal feature (not documented)
    int32 PropertyHandle  :: GetIntValue (  )
  2. to list
  3. - internal feature (not documented)
    int32 PropertyHandle  :: GetIntValue ( NString &prop_path )
    • prop_path - Property path

      A property path is passed as 0-terminated string. It may contain an extent or property name but also a sequence of property names separated by dot.

      Property path may start with a dot (.), which indicates, that the path starts in an upper property handle. One dot indicates, that the path starts in the current property handle. This distinction becomes necessary, when a property has the same name as an extent. To access the property in this case, one dot must precede the property name. The first dot can be omitted, when the property name is not an extent name.

      Referring to a path starting in a parent property handle requires two dots (..), the parents parent three and so on.

      address.street

      .address.street

  4. to list