API Reference > OdRx Classes > OdRxRefersToAttribute Class > OdRxRefersToAttribute Methods > OdRxRefersToAttribute::parseReference Method
OdRxRefersToAttribute::parseReference Method
Syntax
C++
static const OdRxPropertyBasePtr parseReference(const OdString& path, const OdRxObject* pObject, FindPropertyCallback find = NULL, ConvertValueCallback convert = NULL);
Parameters 
Description 
const OdString& path 
[in] Path to the property. Intermediate names are separated by '/'. All the properties but the last should be dereferenceable (type().isReference() == true).  
const OdRxObject* pObject 
[in] The object to start with. Usually database, for paths starting with '/'.  
FindPropertyCallback find = NULL 
[in] Optional callback to customize the property retrieval. OdRxMemberQueryEngine::find() is used by default.  
ConvertValueCallback convert = NULL 
[in] Optional callback to convert the property value to another type. 

The last property in the path.

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

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.