Class Proxy
Emulates object of another class.

All Subcl's IteratorProxy
Defined in <seqan/basic.h>
Signature template <typename TSpec> class Proxy;

Template Parameters

TSpec The specializing types.

Interface Metafunction Overview

Detailed Description

Use Value to get the emulated type. An instance of Proxy behaves like an object of its value type. Proxy can be used as reference type (see Reference).

Note that functions that are both general and specialized for the value type should be specialized for Proxy<TSpec> too, since otherwise the general version will be called.

Interface Metafunctions Detail

Spec<TProxy>::Type;

Return specialization tag of Proxy.

Template Parameters

TProxy The proxy type to query.

Returns

Type The specializing tag.

Value<TProxy>::Type;

Return emulated type.

Template Parameters

TProxy The proxy type to query.

Returns

Type The emulated type.