company logo

TypeContext :: propertyContext - Get Property context

The function returns the property context for the property passed as property name or property path. The property is searched in the current type the context is associated with.

When passing an empty property name, the property context for the property owning the current instance (parent context) is returned.

Return value:  Property context ( odaba::PropertyContext & )

Property context usually refers to an instance of an application defined property context class for the current property of a selected instance. When no property context has been defined, the context refers to the default property context class.

Implementation overview

Implementation details

  1. - internal feature (not documented)
    odaba::PropertyContext & TypeContext  :: propertyContext (  )
  2. to list
  3. - internal feature (not documented)
    odaba::PropertyContext & TypeContext  :: propertyContext ( odaba::String &sPropertyName )
    • sPropertyName - Property name

      The property name may contain a property path that consists of a sequence of property names. Not allowed are operation paths or path properties, i.e. the property name must consist of identifiers separated by dots (.), only.

      In order to pass no property name, an empty string ( String() ) has to be passed.

  4. to list