#include <Domain.h>
Static Public Member Functions | |
| static void | setDomain (ST &domain, const T &newdom) |
| static void | setWildcardDomain (ST &domain, const UT &, const T &newdom) |
It is templated on the DomainTraits type, the domain storage type, the type of domain being copied into the domain, and a boolean indicating if the domain is a wildcard type or not. If it is a wildcard, the set operation is skipped, which can be used to save time. A specialization for wildcard == true is provided which just does nothing, instead of calling DT::setDomain.
When a wildcard is to be used to determine the final domain, a separate setWildcardDomain method is available which takes an extra user-supplied reference domain. This reference domain is used by the wildcard to calculate what the true domain should be.
| static void SetDomainFunctor< DT, ST, T, UT, wildcard >::setDomain | ( | ST & | domain, | |
| const T & | newdom | |||
| ) | [inline, static] |
| static void SetDomainFunctor< DT, ST, T, UT, wildcard >::setWildcardDomain | ( | ST & | domain, | |
| const UT & | , | |||
| const T & | newdom | |||
| ) | [inline, static] |
1.5.9