DBresetSysflags

Top  Previous  Next

Put back from Flags.

Every element owns Flags which provide information about the status of the element. E.G., whether elements changed or neuangelegt became etc. with this function these Flags let themselves now again anew placed. With the counter deep can be given whether the function should be applied to all elements which are in any (in the line train point elements are available or similar). It is given in deep FALSE, only the element any is treated itself.

Parametre

any (PANY) [IN]

Act on any element.

deep (int) [IN]

Possible values are TRUE and FALSE. TRUE brags which all unterelements are also changed in any. With FALSE only the element any is changed.

flag (int) [IN]

The constants defined below can be put back. Several values can become geodert.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBresetSysflags (

PANY any,

int deep,

int flag

);

Constants

SYSFLAG_NEW 1

SYSFLAG_MODIFIED 2

SYSFLAG_DELETED 4

SYSFLAG_VOLATIL 8

SYSFLAG_LOCKED 16

SYSFLAG_READONLY 32

SYSFLAG_SEPARATLIVING 64

SYSFLAG_PERSISTANT_ID 128

Related functions

DBsetSysflags