Interface for notifying observers when a DataBlock is modified.
More...
#include <ByteInterval.hpp>
Interface for notifying observers when a DataBlock is modified.
◆ ~DataBlockObserver()
virtual gtirb::DataBlockObserver::~DataBlockObserver |
( |
| ) |
|
|
virtualdefault |
◆ sizeChange()
virtual ChangeStatus gtirb::DataBlockObserver::sizeChange |
( |
DataBlock * |
B, |
|
|
uint64_t |
OldSize, |
|
|
uint64_t |
NewSize |
|
) |
| |
|
pure virtual |
Notify the parent when the DataBlock changes size.
Called after the DataBlock updates its internal state.
- Parameters
-
- Returns
- indication of whether the observer accepts the change.
The documentation for this class was generated from the following file: