|
FreePOOMA
2.4.1
|
DomainTraitsDomain<DomT, T, Dim> can act as a base class for the partially- specialized versions of DomainTraits for domain-like classes, that is, classes which are derived from Domain. More...
#include <DomainTraits.h>

Public Types | |
| enum | { domain = true } |
| enum | { dimensions = Dim } |
| typedef SizeTypePromotion< T > ::Type_t | Size_t |
| typedef T | Element_t |
| typedef DomT | Domain_t |
| typedef DomT | NewDomain1_t |
Static Public Member Functions | |
| static bool | getIgnorable (const Domain_t &, int) |
DomainTraitsDomain<DomT, T, Dim> can act as a base class for the partially- specialized versions of DomainTraits for domain-like classes, that is, classes which are derived from Domain.
It it templated on the types to use for Domain_t and Element_t, respectively, and the dimension of the domain. The N-D version just defines Domain_t, Element_t, and static data domain and dimensions, while the 1-D version also provided implementations of the static get* methods (such as getFirst, getMin, etc). Just inherit from DomainTraitsDomain if you're defining traits for a new Domain subclass.
N-dimensional version of DomainTraitsDomain
| typedef SizeTypePromotion<T>::Type_t DomainTraitsDomain< DomT, T, Dim >::Size_t |
| typedef T DomainTraitsDomain< DomT, T, Dim >::Element_t |
| typedef DomT DomainTraitsDomain< DomT, T, Dim >::Domain_t |
| typedef DomT DomainTraitsDomain< DomT, T, Dim >::NewDomain1_t |
| static bool DomainTraitsDomain< DomT, T, Dim >::getIgnorable | ( | const Domain_t & | , |
| int | |||
| ) | [inline, static] |
1.7.6.1