how to generate a valid CCDictionary directly from a CCMutableArray<CCObject*>

to generate a CCDictionary with plist,the only way i could found in 2dx(0.10.0) is using
CCFileUtils::dictionaryWithContentsOfFileThreadSafe(pFile).
what i want is genrating a CCDictionary from CCMutableArray<CCObject*>
like in Objc

        NSArray *pList = [data objectForKey:@"aaa"];
        for(NSDictionary *dicData in pList )
        {

        }

i have no idea about how to implement this in c++.
can anybody help me?

I suggest you using stl, CCMutableArray and CCDictionary is designed for engine only.
They are simple, just to satisfy engine codes.