'const VecFloatMetadata& vecFloatMetadata()' should be const.
RTTI replacement calls are missing const, 'const FieldMapping::Ptr
mapping()' should be pointer-to-const, not const pointer.
'bool isInBounds(int i, int j, int k)' should be const. The list goes on.
At the same time, add a 'CPtr' typedef for pointer to const field to all classes that have Ptr.
'const VecFloatMetadata& vecFloatMetadata()' should be const. RTTI replacement calls are missing const, 'const FieldMapping::Ptr mapping()' should be pointer-to-const, not const pointer. 'bool isInBounds(int i, int j, int k)' should be const. The list goes on.
At the same time, add a 'CPtr' typedef for pointer to const field to all classes that have Ptr.