This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters.
avt_converter #(IN,OUT) | |||||||||||||
This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters. | |||||||||||||
Class Declaration | |||||||||||||
| |||||||||||||
Parameters | |||||||||||||
IN | The input type to convert from. | ||||||||||||
OUT | The output type to convert to. | ||||||||||||
Methods | |||||||||||||
convert | Normally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing. |
The input type to convert from.
The output type to convert to.
static function OUT convert( IN in, OUT to = null )
Normally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing. Thus, this class is a dummy-converter used in adapter’s default type parameter assignments.
The to argument allows the conversion to copy into an existing object and avoid the expense of allocation. If to is null (default), the convert method should create a new instance of OUT, copy the fields of in to it, and return it. If the to argument is non-null, the convert method should copy the fields of in to the corresponding fields of to, then return to.
This converter is a non-functional placeholder used as a default parameter value for any adapters’ unused converters.
class avt_converter #( type IN = int, OUT = int )
Normally implemented to convert IN transactions to OUT transactions, the convert function in this class does nothing.
static function OUT convert( IN in, OUT to = null )