API Reference > OdRx Classes > OdRxDescriptionAttribute Class > OdRxDescriptionAttribute Methods > OdRxDescriptionAttribute::getDescription Method
OdRxDescriptionAttribute::getDescription Method
Syntax
C++
static OdString getDescription(const OdRxObject* pO);
Parameters 
Description 
const OdRxObject* pO 
[in] Object to be queried for a description. 

A description string if found; empty string otherwise.

Looks up OdRxDescriptionAttribute on the object if it is a member, (and in the object class attribute list if it is not), and uses OdRxResourceLoader to get the string from resources identified by ID and hint. 

 

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