GetPropertyByNameAndType

This call is deprecated and will be removed by end of 2022.
Please use the call GetPropertyByName(Ex) / GetPropertyByNameW(Ex) + GetPropertyType(Ex) instead, just rename the function name.

Syntax

//
//   Strong typing definition
//
int64_t         GetPropertyByNameAndType(
                        OwlModel                model,
                        const char              * name,
                        int64_t                 rdfPropertyType
                    );

static  inline  int64_t GetPropertyByNameAndType(
                                OwlModel                model,
                                char                    * name,
                                int64_t                 rdfPropertyType
                            )
{
    return  GetPropertyByNameAndType(
                    model,
                    (const char*) name,
                    rdfPropertyType
                );
}


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall GetPropertyByNameAndType(
                                                int64_t                 model,
                                                const char              * name,
                                                int64_t                 rdfPropertyType
                                            );

static  inline  int64_t GetPropertyByNameAndType(
                                int64_t                 model,
                                char                    * name,
                                int64_t                 rdfPropertyType
                            )
{
    return  GetPropertyByNameAndType(
                    model,
                    (const char*) name,
                    rdfPropertyType
                );
}
    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property name

Size: 64 bit / 8 byte (reference)
This attribute represents the name of the property; either a datatype property or a relation (given as char array / ASCII). The name is given by the host and the attribute is not changed.

Property rdfPropertyType

Size: 64 bit / 8 byte (value)
the type of the rdfProperty, i.e. is it an ObjectProperty (relation) or a DatatypeProperty, in the later case also subdivision towards Boolean, Double, Integer or String.