API Reference > Classes > PRC Base Classes > OdPrcReferencedBase Class > OdPrcReferencedBase Methods > OdPrcReferencedBase::calculateUniqueName Method
OdPrcReferencedBase::calculateUniqueName Method
Syntax
C++
OdString calculateUniqueName(const OdPrcProductOccurrence * pPrcPO) const;
Parameters 
Description 
const OdPrcProductOccurrence * pPrcPO 
[in] Represents product occurrence assembling the entity. It must be NULL if "this" entity is product occurrence (PRC_TYPE_ASM_ProductOccurence type). It should not be NULL if "this" entity is not a product occurrence. 

Returns an explicit unique name for "this" entity that can be referenced through PDF or JavaScript. In the case of error, it returns an empty string. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.