![]() |
NDEVR
API Documentation
|
Records changes to a table or column noting the bounds of the data adjusted. More...
Public Types | |
| enum | TableChangeType { e_update , e_insertion , e_deletion , e_full_update } |
| Enumerates the types of changes that can be recorded for a table or column. More... | |
Public Member Functions | |
| TableChange (TableChangeType type, uint04 start, uint04 size, Time time=Time::SystemTime()) | |
| Constructs a TableChange recording a specific modification. | |
Public Attributes | |
| uint04 | size |
| The number of rows affected by the change. | |
| uint04 | start |
| The starting row index of the affected range. | |
| Time | time |
| The timestamp when the change occurred. | |
| TableChangeType | type |
| The kind of change that was recorded. | |
Records changes to a table or column noting the bounds of the data adjusted.
Useful for optimized saving or mirroring of data.
Definition at line 53 of file TableColumn.h.
Enumerates the types of changes that can be recorded for a table or column.
| Enumerator | |
|---|---|
| e_update | An existing row range was modified in place. |
| e_insertion | New rows were inserted. |
| e_deletion | Rows were deleted. |
| e_full_update | The entire column or table was replaced or rebuilt. |
Definition at line 56 of file TableColumn.h.
|
inline |
Constructs a TableChange recording a specific modification.
| [in] | type | The kind of change that occurred. |
| [in] | start | The starting row index of the affected range. |
| [in] | size | The number of rows affected by the change. |
| [in] | time | The timestamp of the change. Defaults to the current system time. |
Definition at line 68 of file TableColumn.h.
References size, start, Time::SystemTime(), time, and type.