API Reference > OdRx Classes > OdRxObject Class > OdRxObject Methods > OdRxObject::numRefs Method
OdRxObject::numRefs Method
Syntax
C++
virtual long numRefs() const;

Returns the value of the reference counter, that is, the number of references to an instance of this class.

This method has the default implementation that returns 1. You shloud redefine it in the derived class.

Overview of Smart Pointer Classes

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