Exemple #1
0
    void ObjectBlueprint::set( void* ptr, PropList& props ){
        PropList::iterator pIT;
        Blueprint::iterator bIT;

        for( pIT = props.begin(); pIT != props.end(); pIT++ ){
            bIT = mBlueprint.find(pIT->first);

            if( (bIT != mBlueprint.end()) && bIT->second.second ){
                bIT->second.second(ptr, pIT->second);
            }
        }
    }