|
Wildmeshing Toolkit
|
The registered operations by rank. edit_operation_maps is a std::map, so iterating it yields the names in lexicographic order and an operation's index is its name's rank: comparing ranks is comparing names, which is what keeps the queue order unchanged. More...
Public Member Functions | |
| OpTable (std::map< Op, OpFn > &ops) | |
| uint32_t | rank (const Op &op) const |
Public Attributes | |
| std::vector< const Op * > | name |
| std::vector< OpFn * > | fn |
The registered operations by rank. edit_operation_maps is a std::map, so iterating it yields the names in lexicographic order and an operation's index is its name's rank: comparing ranks is comparing names, which is what keeps the queue order unchanged.