32 #ifndef generalFieldMapper_H
33 #define generalFieldMapper_H
75 virtual bool direct()
const = 0;
Pre-declare SubField and related Field type.
Abstract base class for field mapping.
General field mapper supporting both direct and weighted mapping.
virtual const labelListList & addressing() const
virtual const scalarListList & weights() const
virtual bool direct() const =0
virtual const labelUList & directAddressing() const
FOR_ALL_FIELD_TYPES(DEFINE_FIELD_MAPPER_OPERATOR,)
Map a field.
generalFieldMapper()
Null constructor.
virtual bool hasUnmapped() const =0
Are there unmapped values? I.e. do all size() elements get.
virtual ~generalFieldMapper()
Destructor.
DEFINE_FIELD_MAPPER_OPERATOR(label,)
Map a label field.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.