company logo

PropertyContext :: propertyContext - Get Property context

The function returns the subordinated property context for the property passed as property name in sPropertyName. The property is searched in the structure that owns the current property, i.e. on the same level as the current property.

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 details

odaba::PropertyContext & PropertyContext  :: 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.