10 #include <ldb/trset.h>
17 sUnknownOrUndefined = -1,
21 sMagnitogramInverseOrder,
27 sCableDepthAzDipOrder,
28 sCableDepthDipAzOrder,
55 #define SS_NUMLIST_LEN 1024
58 #define SS_NUMLIST_WIDTH 15
65 enum SelectorSortBy eSortBy;
70 char szNTRs[SS_NUMLIST_LEN+1];
73 char szNMGLs[SS_NUMLIST_LEN+1];
76 char szNRPs[SS_NUMLIST_LEN+1];
79 char szNSPs[SS_NUMLIST_LEN+1];
82 char szNDPs[SS_NUMLIST_LEN+1];
86 char szNSSs[SS_NUMLIST_LEN+1];
89 char szNSLs[SS_NUMLIST_LEN+1];
92 char szNRSs[SS_NUMLIST_LEN+1];
95 char szNRLs[SS_NUMLIST_LEN+1];
99 char szVERs[SS_NUMLIST_LEN+1];
114 char* ComposeTypeCompLabel (
char* szLabelBuf,
TypeCompPair* pair);
124 ErrCode SaveSelector ();
127 ErrCode LoadSelector ();
130 const char* SelectorSortByToString (
enum SelectorSortBy eSortBy);
134 enum SelectorSortBy SelectorSortByFromString (
const char* szSortBy);
148 class SelectorSetObject
160 selset->eSortBy = sRawOrder;
162 selset->pPairs = NULL;
164 selset->pNTRs = NULL;
166 selset->pNMGLs = NULL;
168 selset->pNSPs = NULL;
170 selset->pNRPs = NULL;
172 selset->pNDPs = NULL;
174 selset->pNSLs = NULL;
176 selset->pNSSs = NULL;
178 selset->pNRLs = NULL;
180 selset->pNRSs = NULL;
182 selset->pVERs = NULL;
183 selset->szNTRs[0] =
'\0';
184 selset->szNMGLs[0] =
'\0';
185 selset->szNSPs[0] =
'\0';
186 selset->szNDPs[0] =
'\0';
187 selset->szNRPs[0] =
'\0';
188 selset->szNSLs[0] =
'\0';
189 selset->szNSSs[0] =
'\0';
190 selset->szNRLs[0] =
'\0';
191 selset->szNRSs[0] =
'\0';
192 selset->szVERs[0] =
'\0';
193 selset->nLrange[0] = 0;
194 selset->nLrange[1] = 0;
195 selset->szExpr = NULL;
197 virtual ~SelectorSetObject ()
201 FreeSelector(selset);
204 ErrCode save (
const char* szFilePath);
205 ErrCode load (
const char* szFilePath);
210 #ifndef __SelectorVars
216 extern char *SelectorSet_szSortBy[];
217 extern int SelectorSet_nSortBy;
Definition: Selector.h:43
Definition: Selector.h:63