Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdRxRefersToAttribute::parseReference Method
Syntax
C++
static const OdRxPropertyBasePtr parseReference(const OdString& path, const OdRxObject* pObject, FindPropertyCallback find = NULL, ConvertValueCallback convert = NULL);

Parses the reference path returning the last property. E.g. for "/BlockTableId/Items" it would be "Items" property of the block table. 

 

Parameters
Description
path
[in] Path to the property. Intermediate names are separated by '/'. All the properties but the last should be dereferenceable (type().isReference() == true).
pObject
[in] The object to start with. Usually database, for paths starting with '/'.
find
[in] Optional callback to customize the property retrieval. OdRxMemberQueryEngine::find() is used by default.
convert
[in] Optional callback to convert the property value to another type.

The last property in the path.

Copyright © 2002-2022. Open Design Alliance All rights reserved.