Parameter Adaption Spec

Top  Previous  Next

A parameter adaption spec defines the adaption of a parameter of a specific type and passing direction (in, out, by reference) to an adapted function or method. Parameter adaption specs bear a name (usually resembling the parameter's data type and direction) and accept further qualifications like buffer sizes or structure classes when actually used in parameter adaptions. A parameter adaption spec creates a code template which is refined in a parameter adaption and finally added to the source code of an adapter function, fake object adapter method or COM interface adapter method.