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

NameDescription
thisConstructor for ClassUnwrappingFactory

Methods

NameDescription
decoratedSet the decorated object for decorator.
decoratedGet the decorated object.
factoryInstantiates something of type T.
locatorSet a locator to object.
typeGet the type info of T that is created.