1#include <cx/ssdtree/node/ssdhashnode.cxh>
3typedef struct SettingsBind {
4 stype type; // type of bound variable
5 stgeneric *var; // pointer to bound variable
6 stgeneric cache; // cached copy for change detection
7 stgeneric def; // default value
9 bool userset; // explicitly overridden, even if it's the default value
12class SettingsHashNode extends SSDHashNode
21 bool bind(strref name, stype btyp, void *bvar, stgeneric bdef, SSDLockState *_ssdCurrentLockState);
22 void checkBound(strref name, SSDLockState *_ssdCurrentLockState); // check a single bound variable for changes
23 void checkAll(SSDLockState *_ssdCurrentLockState); // check for bound variables that have changed
24 void unbindAll(SSDLockState *_ssdCurrentLockState);
26 factory _create(SSDTree *tree);