| 86 | |
| 87 | |
| 88 | void FerryFilter::addDimensions(PointLayoutPtr layout) |
| 89 | { |
| 90 | for (auto& info : m_dims) |
| 91 | { |
| 92 | const Dimension::Id fromId = layout->findDim(info.m_fromName); |
| 93 | // Dimensions being created with the "=>Dim" syntax won't |
| 94 | // be in the layout, so we have to assign a default type. |
| 95 | Dimension::Type fromType = layout->dimType(fromId); |
| 96 | if (fromType == Dimension::Type::None) |
| 97 | fromType = Dimension::Type::Double; |
| 98 | |
| 99 | info.m_toId = layout->registerOrAssignDim(info.m_toName, fromType); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | |
| 104 | void FerryFilter::prepared(PointTableRef table) |
nothing calls this directly
no test coverage detected