A TypeAdaptorFactory class for an adaptor converting an enum
to an int
.
#include <Workspace/DataExecution/DataObjects/enumtointadaptor.h>
◆ create()
- Returns
- A new TypeAdaptor. Ownership is given to the caller, but the caller must use the destroy function to delete the operation. A valid object must be returned.
Most subclasses will simply use the C++ new
operator to implement this function.
Implements TypeAdaptorFactory.
◆ destroy()
- Parameters
-
adaptor | The adaptor to destroy. It must have been created by a call to create(). |
Calling this function essentially gives back ownership of the adapter to the factory, but the expectation is that the adapter will be deleted. Most subclasses will simply use the C++ delete
operator to implement this function.
Implements TypeAdaptorFactory.
◆ getDestTypeFactory()
◆ getInstance()
◆ getPlugin()
◆ getSrcTypeFactory()