Hello,
It seems that Dictionaries are not well generated with ice 3.3.0.
See what I got :
"v__" is not declared and I have the same behaviour with all my dictionaries. I thik "k__" should replace it.Code:public static _System.Collections.Generic.Dictionary<castor.UnderlyingCrossCorrelationKey, castor.CorrelationStress> read(IceInternal.BasicStream is__) { int sz__ = is__.readSize(); _System.Collections.Generic.Dictionary<castor.UnderlyingCrossCorrelationKey, castor.CorrelationStress> r__ = new _System.Collections.Generic.Dictionary<castor.UnderlyingCrossCorrelationKey, castor.CorrelationStress>(); for(int i__ = 0; i__ < sz__; ++i__) { castor.UnderlyingCrossCorrelationKey k__; v__ = new castor.UnderlyingCrossCorrelationKey(); k__.read__(is__); is__.readObject(new Patcher__("::castor::CorrelationStress", r__, k__)); } return r__; }
See another example :
This time, another variable "v__" is declared and used after...Code:public static _System.Collections.Generic.Dictionary<castor.CrossKey, double> read(IceInternal.BasicStream is__) { int sz__ = is__.readSize(); _System.Collections.Generic.Dictionary<castor.CrossKey, double> r__ = new _System.Collections.Generic.Dictionary<castor.CrossKey, double>(); for(int i__ = 0; i__ < sz__; ++i__) { castor.CrossKey k__; v__ = new castor.CrossKey(); k__.read__(is__); double v__; v__ = is__.readDouble(); r__[k__] = v__; } return r__; }

Reply With Quote