Class ClassUnwrappingFactory
A factory that coerces an object from object factory to some T type.
class ClassUnwrappingFactory(T)
;
A factory that coerces an object from object factory to some T type. It will attempt as well to safely object to type T if it is possible to prove that created object is a derivation of type T. If T is not rooted in Object class it is assumed by convention that Wrapper!T object is returned by object factory.
Constructors
Name | Description |
---|---|
this | Constructor for ClassUnwrappingFactory |
Methods
Name | Description |
---|---|
decorated | Set the decorated object for decorator. |
decorated | Get the decorated object. |
factory | Instantiates something of type T. |
locator | Set a locator to object. |
type | Get the type info of T that is created. |