GetPropertyParentsByIterator

Returns the next parent of the property.
If input parent is zero, the handle will point to the first relevant parent.
If all parent are past (or no relevant parent are found), the function will return 0.

Syntax

//
//   Linux, MacOS and non-Visual Studio Windows solutions (pure C++11 / C++98)
//
int64_t     GetPropertyParentsByIterator(
                    int64_t             rdfProperty,
                    int64_t             parentRdfProperty
                );


//
//   Visual Studio for Windows
//
__int64 __declspec(dllexport) __stdcall GetPropertyParentsByIterator(
                                                __int64             rdfProperty,
                                                __int64             parentRdfProperty
                                            );
    

Property rdfProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the property, this can be either a datatype property (attribute), an object property (relation) or non-defined property. The handle will be static during the life-time of the model, when the model (or part of it) is saved and opened again, the handle will most probably be different.

Property parentRdfProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the parent property.