几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odrx-cons-define-members (http://www.dimcax.com/hust/showthread.php?t=17758)

yang686526 2009-05-06 09:07 PM

【转帖】odrx-cons-define-members
 
odrx_cons_define_members
odrx_cons_define_members
i'm just getting started from scratch with dwgdirect. what is the macro odrx_cons_define_members for?

these macros must be applied when you inherit a class from odrxobject - they will add additional information to the objects of your class and you will be able to do run-time creation and checks on this class. you will have associated odrxclass to it and methods like desc(), iskindof(), cast(), etc will work.
regards
chudomir
best regards
chudomir

thanks a lot.


所有的时间均为北京时间。 现在的时间是 11:15 AM.