|
| void | move (size_t from, size_t to) override |
| |
| void | resize (size_t s) override |
| |
| void | reset_from (size_t first) override |
| |
| void | clear () override |
| |
| void | rollback () override |
| | retrieve the protected attribute data on operation-fail
|
| |
| void | begin_protect () override |
| | clean local buffers for attribute, and start recording
|
| |
| void | end_protect () override |
| | clear local buffers and finish recording
|
| |
| void | append_recorded (std::vector< size_t > &out) override |
| |
|
const T & | at (size_t i) const |
| |
|
const T & | operator[] (size_t i) const |
| |
|
T & | operator[] (size_t i) |
| |
|
size_t | size () const |
| |
◆ append_recorded()
Appends to out the index of every entry this thread has recorded since begin_protect(): every entry the operation reached through non-const access, which rollback() would write back. Lets a caller check that an operation stayed within the simplices it owns.
Reimplemented from wmtk::AbstractAttributeContainer.
◆ begin_protect()
◆ clear()
◆ end_protect()
◆ move()
◆ reset_from()
Resets every entry from first to the end of the storage to a default-constructed value. consolidate_mesh() calls it on the spare region past the compacted live range: move() leaves its source intact, so without this those slots would still hold the records compacted out of them, and the next operation handed one would inherit a dead simplex's attributes.
Implements wmtk::AbstractAttributeContainer.
◆ resize()
◆ rollback()
The documentation for this struct was generated from the following file: