Its own specialized (non-OdRxObject) base functionality:
virtual void dump( OdRxObjectPtr object ) = 0; //each object class has to describe itself via that method
virtual OdString getClassName() = 0; //each object class has to define its own name
…
The macro is provided as an implementation helper, which is critical
in this process, since this macro contains the registration methods for this
extension:
Then, the protocol extension is created for the OdRxClass during base class
construction. The object’s OdRxClass is retrieved using the ::desc() method,
as follows:
The macro ODRX_NO_CONS_DEFINE_MEMBERS gives the method for registration of
this protocol extension object. After loading a database, call the following
to initialize the dumper protocol extension into the database: