Details
-
Improvement
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
Description
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();
|