コード例 #1
0
ファイル: GwsFlatGwsIterator.cpp プロジェクト: kanbang/Colt
void CGwsFlatGwsIterator::DescribeFeature(IGWSExtendedFeatureDescription ** ppResDesc)
{
    if (ppResDesc == NULL)
        GWS_THROW (eGwsNullPointer);
    if (m_fdsc == NULL) {

        FdoPtr<FdoClassDefinition> classDef = GetClassDefinition ();

        CGwsQueryResultDescriptors * resdsc =
                new CGwsQueryResultDescriptors (classDef, classDef->GetName (), NULL, NULL, true, NULL);
        resdsc->AddRef ();
        m_fdsc = resdsc;
    }
    * ppResDesc = m_fdsc;
    if (* ppResDesc)
        (* ppResDesc)->AddRef ();
}
コード例 #2
0
void cDexDecompiler::DecompileClass(
    DEX_DECOMPILED_CLASS* Class 
    )
{
    GetClassDefinition(Class);

    for (UINT i=0; i<(Class->Ref->ClassData?Class->Ref->ClassData->InstanceFieldsSize:0); i++)
        GetClassField(Class,  Class->Ref->ClassData->InstanceFields[i]);

    for (UINT i=0; i<(Class->Ref->ClassData?Class->Ref->ClassData->StaticFieldsSize:0); i++)
        GetClassField(Class,  Class->Ref->ClassData->StaticFields[i], TRUE);

    for (UINT i=0; i<(Class->Ref->ClassData?Class->Ref->ClassData->DirectMethodsSize:0); i++)
        GetClassMethod(Class, Class->Ref->ClassData->DirectMethods[i]);

    for (UINT i=0; i<(Class->Ref->ClassData?Class->Ref->ClassData->VirtualMethodsSize:0); i++)
        GetClassMethod(Class, Class->Ref->ClassData->VirtualMethods[i], TRUE);
}
コード例 #3
0
ファイル: ProxyFeatureReader.cpp プロジェクト: asir6/Colt
MgClassDefinition* MgProxyFeatureReader::GetClassDefinitionNoXml()
{
    //fall back to regular public call in this case
    return GetClassDefinition();
}