API Reference > OdRx Classes > OdRxClass Class > OdRxClass Methods > OdRxClass::getClassVersion Method
OdRxClass::getClassVersion Method
Syntax
C++
OdDb::DwgVersion getClassVersion(OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
Parameters 
Description 
OdDb::MaintReleaseVer* pMaintReleaseVer = 0 
[in] Raw pointer to the variable in which the maintenance version number must be saved. This variable must have the OdDb::MaintReleaseVer type. 

Returns the .dwg file version and maintenance version for the class describing instance represented by this OdRxClass object. 

 

The .dwg file version number is returned value of the method that must have the OdDb::DwgVersion type. This method returns the maintenance release version if and only if its argument is not Null.

Functionality of RTTI 

Implementing the Class Describing Structure

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