コード例 #1
0
ファイル: ArxClassHelper.cpp プロジェクト: kanbang/TIDS
bool ArxClassHelper::GetTopParentClass( const CString& type, CString& parentType )
{
    AcStringArray types;
    GetClassHierarchy( type, types, false );
    if( types.isEmpty() ) return false;	   // type本身就是抽象类

    parentType = types.first().kACharPtr();
    return true;
}