高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】oddbentity derived class name
oddbentity derived class name
oddbentity derived class name
this might be a stupid question, but how do i find the name of the derived class name of an oddbentity? i tried odrxobject::desc(), and then odrxclass::name(), but that seems to always return "acdbentity".
i am using protocol extension and have handler classes for some (but not all) oddbentity-derived classes. am improving support for entity types as i encounter data that has them, but need an easy way to tell what type each entity is.
desc() is static function.
isa() - is virtual function which returns class of derived object.
sergey slezkin
|