IntHolder Class Reference
Public Member Functions
|IntHolder (int value)|
A Holder class for an
int that is used to store "out" and "inout" parameters in methods. If a method has an
int as an "out" or "inout" parameter, the programmer must pass an instance of
IntHolder as the corresponding parameter in the method invocation; for "inout" parameters, the programmer must also fill the "in" value.
- If myIntHolder is an instance of IntHolder,
- the value stored in its value field can be accessed with
Constructor & Destructor Documentation
This constructor will intialize IntHolder class with specified int value.
Member Data Documentation
This member variable is where the int value is stored.