DecoratorChain

Treat component as a chain of decorated entities and express this as a range of decorators.

Constructors

this
this(ComponentType initial)

Constructor for decorator chain

Members

Functions

empty
bool empty()

Whether empty or not

front
QualifiedDecoratorType front()

The first decorator in chain of decorators.

popFront
void popFront()

Move to next decorator in chain

save
typeof(this) save()

Save decorator range.

Parameters

ComponentType

The original type of component attempted to interpret as a range of decorators.

DecoratorType

type each decorator in decorator chain.

Return Value

DecoratorChain!(ComponentType, DecoratorType) the range.

Meta