-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: IDL
-
None
-
Fully Compatible
If I have an IDL type with many integer fields (perhaps that are counters, for example) it would be nice to be able to reset them without having to do the following:
IDLObject obj; obj.setFieldOne(0); obj.setFieldTwo(0); obj.setFieldThree(0); obj.setFieldFour(0); obj.setFieldFive(0); obj.setFieldSix(0);
Perhaps something like:
IDLObject obj; obj.setAllFieldsToDefaultValues();