The newptr gives the item's desired address in the memory map, and oldptr gives its previous address. The item's actual data resides at
the address in item. This callback is expected to walk through the fields of the record in item and modify any values based at the
oldptr address to be relative to the newptr address.
void (*invoke) (
MDB_val *item,
void *oldptr,
void *newptr,
void *relctx
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static MDBRelFunc | Returns: the newMDBRelFuncCreates a |
| public static MDBRelFunc | create(MDBRelFuncI instance)
Creates a |
| public static MDBRelFunc |
| MDBRelFunc | back to summary |
|---|---|
| protected MDBRelFunc() | |
| MDBRelFunc | back to summary |
|---|---|
| pack-priv MDBRelFunc(long functionPointer) | |
| create | back to summary |
|---|---|
| public static MDBRelFunc create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static MDBRelFunc create(MDBRelFuncI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static MDBRelFunc createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final MDBRelFuncI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the item that is to be relocated item, long the previous address oldptr, long the new address to relocate to newptr, long an application-provided context, set by relctx)set_relctxImplements org. |
| delegate | back to summary |
|---|---|
| private final MDBRelFuncI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, MDBRelFuncI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long item, long oldptr, long newptr, long relctx) Implements org. Doc from org. A callback function used to relocate a position-dependent data item in a fixed-address database.
| |