1bda3889beb9b9247998d9153dee94ca7d13810c braney Sun Nov 10 16:16:48 2019 -0800 allow yet another way to specify bigBed filters. This allows specifications of the form "filter*.fieldName" diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index 0cdaabf..8bb95d6 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -73,30 +73,31 @@ // of same (may be parent & child) struct trackDb *parent; // parent of composite or superTracks struct trackDb *subtracks; // children of composite not supers. NOTE: only in one sl at a time! struct slRef *children; // children of folders (superTracks) only. // Needed as slRef since these children are on the main trackList // and can't be in 2 sl's at once char *parentName; // set if this is a supertrack member boolean isShow; // for supertracks: true if supertrack with pseudo-vis 'show' struct hash *overrides; /* If not NULL, this is an override * entry. It contains the names, but not the * values of the fields and settings that were * specified in the entry. */ struct tdbExtras *tdbExtras;// This struct allows storing extra values which may be used // multiple times within a single cgi. An example is the metadata // looked up once in the metaDb and used again and again. + boolean isNewFilterType; // are we using the new filter variables on this track }; #define FOLDER_MASK 0x10 #define COMPOSITE_MASK 0x20 #define MULTI_TRACK_MASK 0x80 #define FOLDER_CHILD_MASK 0x01 #define COMPOSITE_CHILD_MASK 0x02 #define COMPOSITE_VIEW_MASK 0x04 #define MULTI_TRACK_CHILD_MASK 0x08 #define PARENT_MASK 0xF0 #define CHILD_MASK 0x0F #define TREETYPE_MASK 0xFF #define PARENT_NODE(nodeType) ((nodeType) & PARENT_MASK) #define CHILD_NODE(nodeType) ((nodeType) & CHILD_MASK) #define FOLDER_NODE(nodeType) ((nodeType) & FOLDER_MASK)