Important: The information in this document is obsolete and should not be used for new development.
MyParamDestructor
Destroys a parameter.
void MyParamDestructor (Environment* ev, void* param);
ev
- A pointer to the SOM environment parameter used to pass exceptions.
param
- A pointer to the parameter to be destroyed.
DISCUSSION
Your parameter destructor function should destroy a parameter when it is removed from a parameter set. You add a parameter and an associated destructor function to a parameter set by calling theParameterSet::PutParameter
method. Your destructor function is called either when you call theParameterSet::RemoveParameter
method to remove the parameter from the parameter set or when the parameter set is destroyed.SEE ALSO
TheParameterSet::PutParameter
method (page 397).
TheParameterSet::RemoveParameter
method (page 398).