#include "widgets.h"Classes | |
| struct | RecordStruct |
| struct | IndicesStruct |
| struct | VarStruct |
| struct | ItemStruct |
| struct | OptionStruct |
Defines | |
| #define | ___cdfxport_h___ |
| #define | CDFparm 0 |
| #define | INITIALqual 0 |
| #define | PROMPTqual 1 |
| #define | NOPROMPTqual 2 |
| #define | CACHEqual 3 |
| #define | ZMODEqual 4 |
| #define | NEG2POSFP0qual 5 |
| #define | NONEG2POSFP0qual 6 |
| #define | REPORTqual 7 |
| #define | STATSqual 8 |
| #define | NOSTATSqual 9 |
| #define | ABOUTqual 10 |
| #define | SIMPLEqual 11 |
| #define | NOSIMPLEqual 12 |
| #define | CDFqual 13 |
| #define | TEXTqual 14 |
| #define | SETTINGSqual 15 |
| #define | BATCHqual 16 |
| #define | HELPqual 17 |
| #define | FORMATopt 0 |
| #define | NOFORMATopt 1 |
| #define | FILTERopt 2 |
| #define | NOFILTERopt 3 |
| #define | FILLVALopt 4 |
| #define | NOFILLVALopt 5 |
| #define | SINGLEopt 6 |
| #define | MULTIopt 7 |
| #define | HOSTopt 8 |
| #define | NETWORKopt 9 |
| #define | EPOCHopt 10 |
| #define | EPOCH1opt 11 |
| #define | EPOCH2opt 12 |
| #define | EPOCH3opt 13 |
| #define | EPOCHFopt 14 |
| #define | EPOCHXopt 15 |
| #define | HORIZONTALopt 16 |
| #define | VERTICALopt 17 |
| #define | RECORDopt 18 |
| #define | NORECORDopt 19 |
| #define | INDICESopt 20 |
| #define | NOINDICESopt 21 |
| #define | ROWopt 22 |
| #define | COLUMNopt 23 |
| #define | VALIDMINopt 24 |
| #define | NOVALIDMINopt 25 |
| #define | MONOTONopt 26 |
| #define | NOMONOTONopt 27 |
| #define | VALIDMAXopt 28 |
| #define | NOVALIDMAXopt 29 |
| #define | FILLSopt 30 |
| #define | NOFILLSopt 31 |
| #define | EXCLUSIVEopt 32 |
| #define | NOEXCLUSIVEopt 33 |
| #define | OUTPUTopt 34 |
| #define | NOOUTPUTopt 35 |
| #define | DELETEopt 36 |
| #define | NODELETEopt 37 |
| #define | PREALLOCATEopt 38 |
| #define | NOPREALLOCATEopt 39 |
| #define | HEADINGopt 40 |
| #define | NOHEADINGopt 41 |
| #define | CDFnameLEN 31 |
| #define | NUMscreenLINES 18 |
| #define | SCREENtextMAX (NUMscreenLINES*(SCREEN_WIDTH-2+1)) |
| #define | MAXvalueLEN 150 |
| #define | MAXminMaxLEN 150 |
| #define | MAXfillLEN 150 |
| #define | MAXitemFieldLEN 150 |
| #define | MAXwidthLEN 5 |
| #define | MAXreserveLEN 7 |
| #define | MAXblockingLEN 8 |
| #define | MAXrecordNumberLEN 11 |
| #define | MAXdimensionIndexLEN 11 |
| #define | MAXgENTRYencodedLEN 150 |
| #define | MAXwalkingVARs 13 |
| #define | NOWAIT 0 |
| #define | NOBEEPWAIT -10 |
| #define | NOBEEPWAIT1 -1 |
| #define | NOBEEPWAIT2 -2 |
| #define | BEEPWAIT 10 |
| #define | BEEPWAIT1 1 |
| #define | BEEPWAIT2 2 |
| #define | AMBIGUOUSopt -1 |
| #define | UNKNOWNopt -2 |
| #define | RECORDt 0 |
| #define | INDICESt 1 |
| #define | VARIABLEt 2 |
| #define | MIN_RECORD_WIDTH 6 |
| #define | MIN_INDICES_WIDTH 11 |
| #define | MIN_VARIABLE_WIDTH 8 |
| #define | NOminMax (-1) |
| #define | NA_RESERVE (-1) |
| #define | PART_ 0 |
| #define | PART1 1 |
| #define | PART2 2 |
| #define | PART3 3 |
| #define | PART4 4 |
| #define | MAX_ENCODING ALPHAVMSi_ENCODING |
| #define | MAX_SETTINGS_LEN 200 |
| #define | PASSED 1 |
| #define | FAILED 2 |
| #define | FATAL 3 |
| #define | SUCCESS 1 |
| #define | FATALin 2 |
| #define | FATALout 3 |
| #define | EQsearch 0 |
| #define | LTsearch 1 |
| #define | LEsearch 2 |
| #define | GTsearch 3 |
| #define | GEsearch 4 |
| #define | BLANKs255 "\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ " |
| #define | noBATCH 0 |
| #define | BATCHcdf 1 |
| #define | BATCHtext 2 |
| #define | BATCH(mode) (mode != noBATCH) |
| #define | FORCEeachFilterSIMPLE FALSE |
| #define | FORCEoverallFilterSIMPLE FALSE |
| #define | FORCEfillsSIMPLE FALSE |
| #define | FORCEfillvalSIMPLE FALSE |
| #define | FORCEvalidminSIMPLE FALSE |
| #define | FORCEvalidmaxSIMPLE FALSE |
| #define | FORCEmonotonSIMPLE FALSE |
| #define | NAsingleSIMPLE FALSE |
| #define | NAnetworkSIMPLE FALSE |
| #define | NAshowSIMPLE FALSE |
| #define | NAexclusiveSIMPLE FALSE |
| #define | NAdeleteSIMPLE FALSE |
| #define | NApreAllocateSIMPLE FALSE |
| #define | SCREENkey_SIMPLE KB_CTRL_A |
| #define | FILEkey_SIMPLE KB_CTRL_B |
| #define | SAVEkey_SIMPLE KB_CTRL_J |
| #define | RESTOREkey_SIMPLE KB_CTRL_L |
| #define | Int32FORMATstandard "%11ld" |
| #define | Int32uFORMATstandard "%10ld" |
| #define | EPOCHx_FORMAT_STANDARD "*Unsupported*" |
| #define | CDFfn 0 |
| #define | CDFfieldLINEn 0 |
| #define | CDFfieldCOLn 8 |
| #define | CDFfieldLEN 70 |
| #define | CDFfieldMAX CDF_PATHNAME_LEN |
| #define | CDFvarsRecsLINEn 1 |
| #define | NAMEitemCOLnSIMPLE 0 |
| #define | NAMEitemLENsimple 71 |
| #define | OUTPUTitemCOLnSIMPLE 72 |
| #define | OUTPUTitemLENsimple 6 |
| #define | NAMEitemCOLn 0 |
| #define | NAMEitemLEN 21 |
| #define | SPECitemCOLn 22 |
| #define | SPECitemLEN 9 |
| #define | DIMENitemCOLn 32 |
| #define | DIMENitemLEN 27 |
| #define | VARYSitemCOLn 60 |
| #define | VARYSitemLEN 11 |
| #define | OUTPUTitemCOLn 72 |
| #define | OUTPUTitemLEN 6 |
| #define | MINitemCOLn 22 |
| #define | MINitemLEN 24 |
| #define | MAXitemCOLn 47 |
| #define | MAXitemLEN 24 |
| #define | FILTERitemCOLn 72 |
| #define | FILTERitemLEN 6 |
| #define | FILLitemCOLn 22 |
| #define | FILLitemLEN 26 |
| #define | MONOitemCOLn 49 |
| #define | MONOitemLEN 13 |
| #define | FORMATitemCOLn 63 |
| #define | FORMATitemLEN 9 |
| #define | WIDTHitemCOLn 73 |
| #define | WIDTHitemLEN 5 |
| #define | SPARSEitemCOLn 22 |
| #define | SPARSEitemLEN 19 |
| #define | COMPRESSitemCOLn 42 |
| #define | COMPRESSitemLEN 19 |
| #define | RESERVEitemCOLn 62 |
| #define | RESERVEitemLEN 7 |
| #define | BLOCKINGitemCOLn 70 |
| #define | BLOCKINGitemLEN 8 |
| #define | nSELWINDOWcolsMAX 5 |
| #define | nSELWINDOWcols1 5 |
| #define | nSELWINDOWcols2 4 |
| #define | nSELWINDOWcols3 5 |
| #define | nSELWINDOWcols4 5 |
| #define | nSELWINDOWcols_ 2 |
| #define | WALKleftLEN 21 |
| #define | WALKrightLEN 56 |
| #define | NAMEcxSIMPLE 0 |
| #define | OUTPUTcxSIMPLE 1 |
| #define | NAMEcx 0 |
| #define | SPECcx 1 |
| #define | DIMENcx 2 |
| #define | VARYScx 3 |
| #define | OUTPUTcx 4 |
| #define | MINcx 1 |
| #define | MAXcx 2 |
| #define | FILTERcx 3 |
| #define | FILLcx 1 |
| #define | MONOcx 2 |
| #define | FORMATcx 3 |
| #define | WIDTHcx 4 |
| #define | SPARSEcx 1 |
| #define | COMPRESScx 2 |
| #define | RESERVEcx 3 |
| #define | BLOCKINGcx 4 |
| #define | FILTERrx 0 |
| #define | FILLSrx 1 |
| #define | CDFFORMATrx 2 |
| #define | ENCODINGrx 3 |
| #define | EPOCHrx 4 |
| #define | hvMODErx 5 |
| #define | MAJORrx 6 |
| #define | SHOWrx 7 |
| #define | SPACINGrx 8 |
| #define | DELETErx 9 |
| #define | PREALLOCrx 10 |
| #define | HEADINGrx 11 |
| #define | NONEin 0 |
| #define | RLE0in 1 |
| #define | HUFF0in 2 |
| #define | AHUFF0in 3 |
| #define | GZIPin 4 |
| #define | NOsRECORDSin 0 |
| #define | PADsRECORDSin 1 |
| #define | PREVsRECORDSin 2 |
| #define | TOSCREENact 0 |
| #define | TOFILEact 1 |
| #define | TOCDFact 2 |
| #define | WALKact 3 |
| #define | OUTPUTallITEMSact 4 |
| #define | OUTPUTnoITEMSact 5 |
| #define | FILTERallITEMSact 6 |
| #define | FILTERnoITEMSact 7 |
| #define | SETcdfCOMPRESSact 8 |
| #define | SETvarCOMPRESSact 9 |
| #define | SAVEact 10 |
| #define | RESTOREact 11 |
| #define | SETMONOact 12 |
| #define | TOCDFv2act 13 |
| #define | CDFhelpID 1 |
| #define | CDFShelpID 2 |
| #define | VAR1helpID 3 |
| #define | VAR2helpID 4 |
| #define | VAR3helpID 5 |
| #define | ACTIONhelpID 6 |
| #define | OPTIONhelpID 7 |
| #define | MINmaxRECORDhelpID 8 |
| #define | MINmaxINDICEShelpID 9 |
| #define | MINmaxVALUEhelpID 10 |
| #define | FILLhelpID 11 |
| #define | FORMAThelpID 12 |
| #define | WIDTHhelpID 13 |
| #define | SCREENhelpID 14 |
| #define | oFILEhelpID 15 |
| #define | oCDFhelpID 16 |
| #define | VAR4helpID 17 |
| #define | BLOCKINGhelpID 18 |
| #define | COMPRESShelpID 19 |
| #define | SPARSEhelpID 20 |
| #define | RESERVEhelpID 21 |
| #define | GZIPhelpID 23 |
| #define | WALKriHelpID 24 |
| #define | WALKvarHelpID 25 |
| #define | RECORDhelpID 26 |
| #define | INDEXhelpID 27 |
| #define | VALUEhelpID 28 |
| #define | SEARCHTYPEhelpID 29 |
| #define | VARhelpID 30 |
| #define | SETFILEhelpID 31 |
| #define | ACTIONv32helpID 32 |
| #define | OLHhelpID 99 |
| #define | OUTPUTtoSCREENh 1 |
| #define | OUTPUTtoSCREENv 2 |
| #define | OUTPUTtoFILEh 3 |
| #define | OUTPUTtoFILEv 4 |
| #define | OUTPUTtoCDF 5 |
| #define | NAmono (-1) |
| #define | UNKNOWNmono 0 |
| #define | INCREASEmono 1 |
| #define | DECREASEmono 2 |
| #define | FALSEmono 3 |
| #define | PASSes 1 |
| #define | SHOWit 2 |
| #define | FAILline 3 |
| #define | FAILrecord 4 |
| #define | SHOWline(status) (status == PASSes || status == SHOWit) |
| #define | NEWkeyDEFS(EWkey, keyDefs, batchMode) |
| #define | VALUEinBUFFER(Var, valueN) (Var->buffer + (size_t) (valueN * Var->nValueBytes)) |
| #define | MAJORITYtoOUT(outMajority, inMajority) BOO(outMajority == INPUT_MAJOR,inMajority,outMajority) |
| #define | RECORDfailedFILTER(Item, recN) |
| #define | INDICESfailedFILTER(Item, indices) |
| #define | VARfailedFILTER(Item, value) |
| #define | SELECTcdf(id) CDFlib(SELECT_,CDF_,id,NULL_); |
| #define | MINorMAXexists(Item) |
| #define | FILTER(Item, opt) (opt.overallFilter && Item->filter) |
| #define | USEFILL(Var, opt) (opt.useFills && Var->fill != NULL) |
| #define | WRITEFILL(Var, opt) (USEFILL(Var,opt) && NEx(Var->fill,Var->pad,Var->dataType,Var->numElems)) |
| #define | NRVtoOUTPUT(Item) (Item->output && !Item->Var->recVary) |
| #define | SINGLEget(id, varN, zVar, recNumber, dimIndices, buffer) |
| #define | SINGLEput(id, varN, zVar, recNumber, dimIndices, buffer) |
| #define | HYPERget(id, varN, zVar, recNumber, recCount, dimIndices, dimCounts, buffer) |
| #define | HYPERput(id, varN, zVar, recNumber, recCount, dimIndices, dimCounts, buffer) |
Functions | |
| Logical ExportCDFs | PROTOARGs ((int argC, char *argV[])) |
| void CDFexportMenu | PROTOARGs ((char *iniSpec, Logical prompt, long zMode, Logical negToPosFp0)) |
| void ExportCDFsSpec | PROTOARGs ((char *path, long zMode, Logical negToPosFp0, char *varLabel0, char *varHeader0[])) |
| void ExportCDF | PROTOARGs ((char *path, long zMode, Logical negToPosFp0)) |
| Logical LoadCDF | PROTOARGs ((void)) |
| Logical LoadSelectionWindow | PROTOARGs ((int part)) |
| void LoadCDFwindow | PROTOARGs ((char *path)) |
| void SelectionWindow | PROTOARGs ((Logical *noMoreAccess)) |
| void DisplayStatus | PROTOARGs ((CDFstatus status, char *text)) |
| int DisplayMessage | PROTOARGs ((char *message, int wait)) |
| int MatchOption | PROTOARGs ((char *option, char *validOptions[])) |
| int LongValueWidth | PROTOARGs ((long value)) |
| int RecordIndicesWidth | PROTOARGs ((long lastRec, long numDims, long dimSizes[], int type)) |
| void FreeToScreen | PROTOARGs ((char *header[], char *scrLines[], char *trailer[])) |
| Logical PromptFor | PROTOARGs ((char *value, int valueL, int cursorAt, char *label, int helpID)) |
| Logical PromptForMinMax | PROTOARGs ((struct ItemStruct *Item, Logical min)) |
| Logical PromptForFill | PROTOARGs ((struct VarStruct *Var)) |
| Logical PromptForWidth | PROTOARGs ((struct ItemStruct *Item)) |
| Logical PromptForCompression | PROTOARGs ((long *cType, long cParms[CDF_MAX_PARMS])) |
| Logical FlipItems | PROTOARGs ((int itemX)) |
| CDFstatus EncodeLineHori | PROTOARGs ((char *line, long recN, int *filterStatus, struct ItemStruct *exportHead, Logical standard)) |
| CDFstatus EncodeLineVert | PROTOARGs ((char *line, long recN, long valueN, long numDims, long indices[CDF_MAX_DIMS], Logical same, int *filterStatus, struct ItemStruct *exportHead, Logical outRowMajor, Logical standard)) |
| Logical ListAttributes | PROTOARGs ((FILE *oFp, Logical *cdfFatal)) |
| Logical ToCDF | PROTOARGs ((CDFid inID)) |
| int ToCDFsameGt0 | PROTOARGs ((CDFid inID, CDFid outID, long firstRec, long lastRec, long numDims, long dimSizes[], long firstIndices[], long outMajority, struct ItemStruct *exportHead)) |
| int ToCDFdiffOrZero | PROTOARGs ((CDFid inID, CDFid outID, long firstRec, long lastRec, long outMajority, struct ItemStruct *exportHead)) |
| int OutputNRVvalues | PROTOARGs ((CDFid inID, CDFid outID, struct ItemStruct *exportHead, Logical same, long dimSizes[], long firstIndices[], long outMajority)) |
| Logical OutputHyperBuffer | PROTOARGs ((CDFid outID, long varNo, Logical zVar, long outMajority, long recNumber, long recCount, long dimIndices[], long dimCounts[], long numDims, long dimSizes[], Byte *buffer, long nValues, Logical fullRecord, size_t nValueBytes, long nRecordValues)) |
| int CopyAttributesANDgEntries | PROTOARGs ((CDFid inID, CDFid outID, long *nAttrs)) |
| int CopyVariablesANDrzEntries | PROTOARGs ((CDFid inID, CDFid outID, long nAttrs, Logical same, long numDims, long dimSizes[], struct ItemStruct *exportHead)) |
| Logical FirstLastRecord | PROTOARGs ((long *firstRec, long *lastRec, Logical toCDF, struct ItemStruct *exportHead)) |
| Logical FirstLastIndices | PROTOARGs ((long numDims, long dimSizes[], long firstIndices[], long lastIndices[], long *nValues, Logical toCDF, struct ItemStruct *exportHead)) |
| Logical DimensionalVariable | PROTOARGs ((struct VarStruct *Var, int *dimN)) |
| Logical ReadScalarValue | PROTOARGs ((struct VarStruct *Var, long recN)) |
| Logical ReadDimensionalValue | PROTOARGs ((struct VarStruct *Var, long indices[])) |
| Logical ValidFormat | PROTOARGs ((char *format)) |
| Logical SameDimensionalities | PROTOARGs ((long *numDims, long dimSizes[], struct ItemStruct *exportHead)) |
| void ValidateRecordIndices | PROTOARGs ((int type, Logical same, long numDims, struct ItemStruct *exportHead)) |
| Logical VarPassesMin | PROTOARGs ((struct ItemStruct *Item, void *value)) |
| Logical RecordPassesMin | PROTOARGs ((struct ItemStruct *Item, long recN)) |
| Logical IndicesPassMin | PROTOARGs ((struct ItemStruct *Item, long indices[])) |
| void DisplayPctComplete | PROTOARGs ((int pct, char *msg)) |
| void UpdateToScreen | PROTOARGs ((struct EditWindowStruct *EWscr, char *trailerMsg, long at, long total)) |
| void BuildExportList | PROTOARGs ((struct ItemStruct **exportHead, Logical walking)) |
| void RemoveExportItems | PROTOARGs ((struct ItemStruct **exportHead)) |
| void FreeExportBuffers | PROTOARGs ((struct ItemStruct *exportHead)) |
| void FilterHypers | PROTOARGs ((struct ItemStruct *hyperHead, long nValues)) |
| long FindFirstRecord | PROTOARGs ((long recX, struct ItemStruct *scalarHead, Logical filteringScalars, long recCount)) |
| long FindLastRecord | PROTOARGs ((long recF, struct ItemStruct *scalarHead, Logical filteringScalars, long recCount)) |
| void FilterBuffer | PROTOARGs ((struct ItemStruct *Item, Byte *buffer, long nValues)) |
| Logical AbortListing | PROTOARGs ((FILE *oFp, char *line)) |
| int PreAllocateRecords | PROTOARGs ((CDFid inID, CDFid outID, struct ItemStruct *scalarHead, struct ItemStruct *hyperHead, long *firstRec, long *lastRec)) |
Variables | |
| int | batchMode |
| Logical | simpleMode |
| Logical | dumpStats |
| Logical | report [3] |
| long | inMajority |
| struct OptionStruct | opt |
| int | nItems |
| struct ItemStruct * | itemHead |
| struct FieldWindowStruct * | FWcdf |
| struct ItemWindowStruct * | IWsel |
| struct EditWindowStruct * | EWkey |
| struct EditWindowStruct * | EWmsg |
| long | workingCache |
| long | stageCache |
| long | compressCache |
| char | na [] |
| char | dots [] |
| char * | monos [] |
| char * | epochStyles [] |
| char * | encodings [] |
| char * | majorities [] |
| char | readingCDF [] |
| char | writingCDF [] |
| long | dimIndices_0 [CDF_MAX_DIMS] |
| long | dimCounts_1 [CDF_MAX_DIMS] |
| long | CDFcType |
| long | CDFcParms [CDF_MAX_PARMS] |
| long | NrVars |
| long | NzVars |
| long | rMaxRec |
| long | zMaxRec |
| char | settingsFile [DU_MAX_PATH_LEN+1] |
| char | outputText [DU_MAX_PATH_LEN+1] |
| char | outputCDF [CDF_PATHNAME_LEN+1] |
| #define ___cdfxport_h___ |
| #define ABOUTqual 10 |
| #define ACTIONhelpID 6 |
| #define ACTIONv32helpID 32 |
| #define AHUFF0in 3 |
| #define AMBIGUOUSopt -1 |
| #define BATCH | ( | mode | ) | (mode != noBATCH) |
| #define BATCHcdf 1 |
| #define BATCHqual 16 |
| #define BATCHtext 2 |
| #define BEEPWAIT 10 |
| #define BEEPWAIT1 1 |
| #define BEEPWAIT2 2 |
| #define BLANKs255 "\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ " |
| #define BLOCKINGcx 4 |
| #define BLOCKINGhelpID 18 |
| #define BLOCKINGitemCOLn 70 |
| #define BLOCKINGitemLEN 8 |
| #define CACHEqual 3 |
| #define CDFfieldCOLn 8 |
| #define CDFfieldLEN 70 |
| #define CDFfieldLINEn 0 |
| #define CDFfieldMAX CDF_PATHNAME_LEN |
| #define CDFfn 0 |
| #define CDFFORMATrx 2 |
| #define CDFhelpID 1 |
| #define CDFnameLEN 31 |
| #define CDFparm 0 |
| #define CDFqual 13 |
| #define CDFShelpID 2 |
| #define CDFvarsRecsLINEn 1 |
| #define COLUMNopt 23 |
| #define COMPRESScx 2 |
| #define COMPRESShelpID 19 |
| #define COMPRESSitemCOLn 42 |
| #define COMPRESSitemLEN 19 |
| #define DECREASEmono 2 |
| #define DELETEopt 36 |
| #define DELETErx 9 |
| #define DIMENcx 2 |
| #define DIMENitemCOLn 32 |
| #define DIMENitemLEN 27 |
| #define ENCODINGrx 3 |
| #define EPOCH1opt 11 |
| #define EPOCH2opt 12 |
| #define EPOCH3opt 13 |
| #define EPOCHFopt 14 |
| #define EPOCHopt 10 |
| #define EPOCHrx 4 |
| #define EPOCHx_FORMAT_STANDARD "*Unsupported*" |
| #define EPOCHXopt 15 |
| #define EQsearch 0 |
| #define EXCLUSIVEopt 32 |
| #define FAILED 2 |
| #define FAILline 3 |
| #define FAILrecord 4 |
| #define FALSEmono 3 |
| #define FATAL 3 |
| #define FATALin 2 |
| #define FATALout 3 |
| #define FILEkey_SIMPLE KB_CTRL_B |
| #define FILLcx 1 |
| #define FILLhelpID 11 |
| #define FILLitemCOLn 22 |
| #define FILLitemLEN 26 |
| #define FILLSopt 30 |
| #define FILLSrx 1 |
| #define FILLVALopt 4 |
| #define FILTER | ( | Item, | |||
| opt | ) | (opt.overallFilter && Item->filter) |
| #define FILTERallITEMSact 6 |
| #define FILTERcx 3 |
| #define FILTERitemCOLn 72 |
| #define FILTERitemLEN 6 |
| #define FILTERnoITEMSact 7 |
| #define FILTERopt 2 |
| #define FILTERrx 0 |
| #define FORCEeachFilterSIMPLE FALSE |
| #define FORCEfillsSIMPLE FALSE |
| #define FORCEfillvalSIMPLE FALSE |
| #define FORCEmonotonSIMPLE FALSE |
| #define FORCEoverallFilterSIMPLE FALSE |
| #define FORCEvalidmaxSIMPLE FALSE |
| #define FORCEvalidminSIMPLE FALSE |
| #define FORMATcx 3 |
| #define FORMAThelpID 12 |
| #define FORMATitemCOLn 63 |
| #define FORMATitemLEN 9 |
| #define FORMATopt 0 |
| #define GEsearch 4 |
| #define GTsearch 3 |
| #define GZIPhelpID 23 |
| #define GZIPin 4 |
| #define HEADINGopt 40 |
| #define HEADINGrx 11 |
| #define HELPqual 17 |
| #define HORIZONTALopt 16 |
| #define HOSTopt 8 |
| #define HUFF0in 2 |
| #define hvMODErx 5 |
| #define HYPERget | ( | id, | |||
| varN, | |||||
| zVar, | |||||
| recNumber, | |||||
| recCount, | |||||
| dimIndices, | |||||
| dimCounts, | |||||
| buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_,rVAR_), varN, \ BOO(zVar,zVAR_RECNUMBER_,rVARs_RECNUMBER_), recNumber, \ BOO(zVar,zVAR_RECCOUNT_,rVARs_RECCOUNT_), recCount, \ BOO(zVar,zVAR_DIMINDICES_,rVARs_DIMINDICES_), dimIndices, \ BOO(zVar,zVAR_DIMCOUNTS_,rVARs_DIMCOUNTS_), dimCounts, \ GET_, BOO(zVar,zVAR_HYPERDATA_,rVAR_HYPERDATA_), buffer, \ NULL_)
| #define HYPERput | ( | id, | |||
| varN, | |||||
| zVar, | |||||
| recNumber, | |||||
| recCount, | |||||
| dimIndices, | |||||
| dimCounts, | |||||
| buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_,rVAR_), varN, \ BOO(zVar,zVAR_RECNUMBER_,rVARs_RECNUMBER_), recNumber, \ BOO(zVar,zVAR_RECCOUNT_,rVARs_RECCOUNT_), recCount, \ BOO(zVar,zVAR_DIMINDICES_,rVARs_DIMINDICES_), dimIndices, \ BOO(zVar,zVAR_DIMCOUNTS_,rVARs_DIMCOUNTS_), dimCounts, \ PUT_, BOO(zVar,zVAR_HYPERDATA_,rVAR_HYPERDATA_), buffer, \ NULL_)
| #define INCREASEmono 1 |
| #define INDEXhelpID 27 |
| #define INDICESfailedFILTER | ( | Item, | |||
| indices | ) |
Value:
(Item->filter && \ (!IndicesPassMin(Item,indices) || !IndicesPassMax(Item,indices)))
| #define INDICESopt 20 |
| #define INDICESt 1 |
| #define INITIALqual 0 |
| #define Int32FORMATstandard "%11ld" |
| #define Int32uFORMATstandard "%10ld" |
| #define LEsearch 2 |
| #define LTsearch 1 |
| #define MAJORITYtoOUT | ( | outMajority, | |||
| inMajority | ) | BOO(outMajority == INPUT_MAJOR,inMajority,outMajority) |
| #define MAJORrx 6 |
| #define MAX_ENCODING ALPHAVMSi_ENCODING |
| #define MAX_SETTINGS_LEN 200 |
| #define MAXblockingLEN 8 |
| #define MAXcx 2 |
| #define MAXdimensionIndexLEN 11 |
| #define MAXfillLEN 150 |
| #define MAXgENTRYencodedLEN 150 |
| #define MAXitemCOLn 47 |
| #define MAXitemFieldLEN 150 |
| #define MAXitemLEN 24 |
| #define MAXminMaxLEN 150 |
| #define MAXrecordNumberLEN 11 |
| #define MAXreserveLEN 7 |
| #define MAXvalueLEN 150 |
| #define MAXwalkingVARs 13 |
| #define MAXwidthLEN 5 |
| #define MIN_INDICES_WIDTH 11 |
| #define MIN_RECORD_WIDTH 6 |
| #define MIN_VARIABLE_WIDTH 8 |
| #define MINcx 1 |
| #define MINitemCOLn 22 |
| #define MINitemLEN 24 |
| #define MINmaxINDICEShelpID 9 |
| #define MINmaxRECORDhelpID 8 |
| #define MINmaxVALUEhelpID 10 |
| #define MINorMAXexists | ( | Item | ) |
Value:
(Item->type == RECORDt && \ (Item->Record->min != NOminMax || \ Item->Record->max != NOminMax)) || \ (Item->type == INDICESt && \ (Item->Indices->minNumDims != NOminMax || \ Item->Indices->maxNumDims != NOminMax)) || \ (Item->type == VARIABLEt && \ (Item->Var->min != NULL || \ Item->Var->max != NULL))
| #define MONOcx 2 |
| #define MONOitemCOLn 49 |
| #define MONOitemLEN 13 |
| #define MONOTONopt 26 |
| #define MULTIopt 7 |
| #define NA_RESERVE (-1) |
| #define NAdeleteSIMPLE FALSE |
| #define NAexclusiveSIMPLE FALSE |
| #define NAMEcx 0 |
| #define NAMEcxSIMPLE 0 |
| #define NAMEitemCOLn 0 |
| #define NAMEitemCOLnSIMPLE 0 |
| #define NAMEitemLEN 21 |
| #define NAMEitemLENsimple 71 |
| #define NAmono (-1) |
| #define NAnetworkSIMPLE FALSE |
| #define NApreAllocateSIMPLE FALSE |
| #define NAshowSIMPLE FALSE |
| #define NAsingleSIMPLE FALSE |
| #define NEG2POSFP0qual 5 |
| #define NETWORKopt 9 |
Value:
if (!BATCH(batchMode)) { \ EWkey->eText = keyDefs; \ EditWindow (UPDATEew, EWkey, LogicalTRUE); \ }
| #define noBATCH 0 |
| #define NOBEEPWAIT -10 |
| #define NOBEEPWAIT1 -1 |
| #define NOBEEPWAIT2 -2 |
| #define NODELETEopt 37 |
| #define NOEXCLUSIVEopt 33 |
| #define NOFILLSopt 31 |
| #define NOFILLVALopt 5 |
| #define NOFILTERopt 3 |
| #define NOFORMATopt 1 |
| #define NOHEADINGopt 41 |
| #define NOINDICESopt 21 |
| #define NOminMax (-1) |
| #define NOMONOTONopt 27 |
| #define NONEG2POSFP0qual 6 |
| #define NONEin 0 |
| #define NOOUTPUTopt 35 |
| #define NOPREALLOCATEopt 39 |
| #define NOPROMPTqual 2 |
| #define NORECORDopt 19 |
| #define NOSIMPLEqual 12 |
| #define NOsRECORDSin 0 |
| #define NOSTATSqual 9 |
| #define NOVALIDMAXopt 29 |
| #define NOVALIDMINopt 25 |
| #define NOWAIT 0 |
| #define NRVtoOUTPUT | ( | Item | ) | (Item->output && !Item->Var->recVary) |
| #define nSELWINDOWcols1 5 |
| #define nSELWINDOWcols2 4 |
| #define nSELWINDOWcols3 5 |
| #define nSELWINDOWcols4 5 |
| #define nSELWINDOWcols_ 2 |
| #define nSELWINDOWcolsMAX 5 |
| #define NUMscreenLINES 18 |
| #define oCDFhelpID 16 |
| #define oFILEhelpID 15 |
| #define OLHhelpID 99 |
| #define OPTIONhelpID 7 |
| #define OUTPUTallITEMSact 4 |
| #define OUTPUTcx 4 |
| #define OUTPUTcxSIMPLE 1 |
| #define OUTPUTitemCOLn 72 |
| #define OUTPUTitemCOLnSIMPLE 72 |
| #define OUTPUTitemLEN 6 |
| #define OUTPUTitemLENsimple 6 |
| #define OUTPUTnoITEMSact 5 |
| #define OUTPUTopt 34 |
| #define OUTPUTtoCDF 5 |
| #define OUTPUTtoFILEh 3 |
| #define OUTPUTtoFILEv 4 |
| #define OUTPUTtoSCREENh 1 |
| #define OUTPUTtoSCREENv 2 |
| #define PADsRECORDSin 1 |
| #define PART1 1 |
| #define PART2 2 |
| #define PART3 3 |
| #define PART4 4 |
| #define PART_ 0 |
| #define PASSED 1 |
| #define PASSes 1 |
| #define PREALLOCATEopt 38 |
| #define PREALLOCrx 10 |
| #define PREVsRECORDSin 2 |
| #define PROMPTqual 1 |
| #define RECORDfailedFILTER | ( | Item, | |||
| recN | ) |
Value:
(Item->filter && \ (!RecordPassesMin(Item,recN) || !RecordPassesMax(Item,recN)))
| #define RECORDhelpID 26 |
| #define RECORDopt 18 |
| #define RECORDt 0 |
| #define REPORTqual 7 |
| #define RESERVEcx 3 |
| #define RESERVEhelpID 21 |
| #define RESERVEitemCOLn 62 |
| #define RESERVEitemLEN 7 |
| #define RESTOREact 11 |
| #define RESTOREkey_SIMPLE KB_CTRL_L |
| #define RLE0in 1 |
| #define ROWopt 22 |
| #define SAVEact 10 |
| #define SAVEkey_SIMPLE KB_CTRL_J |
| #define SCREENhelpID 14 |
| #define SCREENkey_SIMPLE KB_CTRL_A |
| #define SCREENtextMAX (NUMscreenLINES*(SCREEN_WIDTH-2+1)) |
| #define SEARCHTYPEhelpID 29 |
| #define SELECTcdf | ( | id | ) | CDFlib(SELECT_,CDF_,id,NULL_); |
| #define SETcdfCOMPRESSact 8 |
| #define SETFILEhelpID 31 |
| #define SETMONOact 12 |
| #define SETTINGSqual 15 |
| #define SETvarCOMPRESSact 9 |
| #define SHOWit 2 |
| #define SHOWline | ( | status | ) | (status == PASSes || status == SHOWit) |
| #define SHOWrx 7 |
| #define SIMPLEqual 11 |
| #define SINGLEget | ( | id, | |||
| varN, | |||||
| zVar, | |||||
| recNumber, | |||||
| dimIndices, | |||||
| buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_,rVAR_), varN, \ BOO(zVar,zVAR_RECNUMBER_,rVARs_RECNUMBER_), recNumber, \ BOO(zVar,zVAR_DIMINDICES_,rVARs_DIMINDICES_), dimIndices, \ GET_, BOO(zVar,zVAR_DATA_,rVAR_DATA_), buffer, \ NULL_)
| #define SINGLEopt 6 |
| #define SINGLEput | ( | id, | |||
| varN, | |||||
| zVar, | |||||
| recNumber, | |||||
| dimIndices, | |||||
| buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_,rVAR_), varN, \ BOO(zVar,zVAR_RECNUMBER_,rVARs_RECNUMBER_), recNumber, \ BOO(zVar,zVAR_DIMINDICES_,rVARs_DIMINDICES_), dimIndices, \ PUT_, BOO(zVar,zVAR_DATA_,rVAR_DATA_), buffer, \ NULL_)
| #define SPACINGrx 8 |
| #define SPARSEcx 1 |
| #define SPARSEhelpID 20 |
| #define SPARSEitemCOLn 22 |
| #define SPARSEitemLEN 19 |
| #define SPECcx 1 |
| #define SPECitemCOLn 22 |
| #define SPECitemLEN 9 |
| #define STATSqual 8 |
| #define SUCCESS 1 |
| #define TEXTqual 14 |
| #define TOCDFact 2 |
| #define TOCDFv2act 13 |
| #define TOFILEact 1 |
| #define TOSCREENact 0 |
| #define UNKNOWNmono 0 |
| #define UNKNOWNopt -2 |
| #define USEFILL | ( | Var, | |||
| opt | ) | (opt.useFills && Var->fill != NULL) |
| #define VALIDMAXopt 28 |
| #define VALIDMINopt 24 |
| #define VALUEhelpID 28 |
| #define VALUEinBUFFER | ( | Var, | |||
| valueN | ) | (Var->buffer + (size_t) (valueN * Var->nValueBytes)) |
| #define VAR1helpID 3 |
| #define VAR2helpID 4 |
| #define VAR3helpID 5 |
| #define VAR4helpID 17 |
| #define VARfailedFILTER | ( | Item, | |||
| value | ) |
| #define VARhelpID 30 |
| #define VARIABLEt 2 |
| #define VARYScx 3 |
| #define VARYSitemCOLn 60 |
| #define VARYSitemLEN 11 |
| #define VERTICALopt 17 |
| #define WALKact 3 |
| #define WALKleftLEN 21 |
| #define WALKrightLEN 56 |
| #define WALKriHelpID 24 |
| #define WALKvarHelpID 25 |
| #define WIDTHcx 4 |
| #define WIDTHhelpID 13 |
| #define WIDTHitemCOLn 73 |
| #define WIDTHitemLEN 5 |
| #define WRITEFILL | ( | Var, | |||
| opt | ) | (USEFILL(Var,opt) && NEx(Var->fill,Var->pad,Var->dataType,Var->numElems)) |
| #define ZMODEqual 4 |
| int PreAllocateRecords PROTOARGs | ( | (CDFid inID, CDFid outID, struct ItemStruct *scalarHead, struct ItemStruct *hyperHead, long *firstRec, long *lastRec) | ) |
| void FilterBuffer PROTOARGs | ( | (struct ItemStruct *Item, Byte *buffer, long nValues) | ) |
| long FindLastRecord PROTOARGs | ( | (long recF, struct ItemStruct *scalarHead, Logical filteringScalars, long recCount) | ) |
| long FindFirstRecord PROTOARGs | ( | (long recX, struct ItemStruct *scalarHead, Logical filteringScalars, long recCount) | ) |
| void FilterHypers PROTOARGs | ( | (struct ItemStruct *hyperHead, long nValues) | ) |
| Logical AbortCDF PROTOARGs | ( | (struct ItemStruct *exportHead) | ) |
| void RemoveExportItems PROTOARGs | ( | (struct ItemStruct **exportHead) | ) |
| void BuildExportList PROTOARGs | ( | (struct ItemStruct **exportHead, Logical walking) | ) |
| void UpdateToScreen PROTOARGs | ( | (struct EditWindowStruct *EWscr, char *trailerMsg, long at, long total) | ) |
| void DisplayPctComplete PROTOARGs | ( | (int pct, char *msg) | ) |
| Logical IndicesPassMax PROTOARGs | ( | (struct ItemStruct *Item, long indices[]) | ) |
| Logical RecordPassesMax PROTOARGs | ( | (struct ItemStruct *Item, long recN) | ) |
| Logical VarPassesMax PROTOARGs | ( | (struct ItemStruct *Item, void *value) | ) |
| void ValidateRecordIndices PROTOARGs | ( | (int type, Logical same, long numDims, struct ItemStruct *exportHead) | ) |
| Logical SameDimensionalities PROTOARGs | ( | (long *numDims, long dimSizes[], struct ItemStruct *exportHead) | ) |
| Logical ValidFormat PROTOARGs | ( | (char *format) | ) |
| Logical FirstLastIndices PROTOARGs | ( | (long numDims, long dimSizes[], long firstIndices[], long lastIndices[], long *nValues, Logical toCDF, struct ItemStruct *exportHead) | ) |
| Logical FirstLastRecord PROTOARGs | ( | (long *firstRec, long *lastRec, Logical toCDF, struct ItemStruct *exportHead) | ) |
| int CopyVariablesANDrzEntries PROTOARGs | ( | (CDFid inID, CDFid outID, long nAttrs, Logical same, long numDims, long dimSizes[], struct ItemStruct *exportHead) | ) |
| Logical OutputHyperBuffer PROTOARGs | ( | (CDFid outID, long varNo, Logical zVar, long outMajority, long recNumber, long recCount, long dimIndices[], long dimCounts[], long numDims, long dimSizes[], Byte *buffer, long nValues, Logical fullRecord, size_t nValueBytes, long nRecordValues) | ) |
| int OutputNRVvalues PROTOARGs | ( | (CDFid inID, CDFid outID, struct ItemStruct *exportHead, Logical same, long dimSizes[], long firstIndices[], long outMajority) | ) |
| int ToCDFdiffOrZero PROTOARGs | ( | (CDFid inID, CDFid outID, long firstRec, long lastRec, long outMajority, struct ItemStruct *exportHead) | ) |
| int ToCDFsameGt0 PROTOARGs | ( | (CDFid inID, CDFid outID, long firstRec, long lastRec, long numDims, long dimSizes[], long firstIndices[], long outMajority, struct ItemStruct *exportHead) | ) |
| CDFstatus EncodeLineVert PROTOARGs | ( | (char *line, long recN, long valueN, long numDims, long indices[CDF_MAX_DIMS], Logical same, int *filterStatus, struct ItemStruct *exportHead, Logical outRowMajor, Logical standard) | ) |
| CDFstatus EncodeLineHori PROTOARGs | ( | (char *line, long recN, int *filterStatus, struct ItemStruct *exportHead, Logical standard) | ) |
| Logical FlipItems PROTOARGs | ( | (int itemX) | ) |
| Logical PromptForCompression PROTOARGs | ( | (long *cType, long cParms[CDF_MAX_PARMS]) | ) |
| Logical PromptForFormat PROTOARGs | ( | (struct ItemStruct *Item) | ) |
| Logical PromptForMinMax PROTOARGs | ( | (struct ItemStruct *Item, Logical min) | ) |
| Logical PromptFor PROTOARGs | ( | (char *value, int valueL, int cursorAt, char *label, int helpID) | ) |
| void FreeToScreen PROTOARGs | ( | (char *header[], char *scrLines[], char *trailer[]) | ) |
| int RecordIndicesWidth PROTOARGs | ( | (long lastRec, long numDims, long dimSizes[], int type) | ) |
| int LongValueWidth PROTOARGs | ( | (long value) | ) |
| int MatchOption PROTOARGs | ( | (char *option, char *validOptions[]) | ) |
| int DisplayMessage PROTOARGs | ( | (char *message, int wait) | ) |
| void DisplayStatus PROTOARGs | ( | (CDFstatus status, char *text) | ) |
| void LoadCDFwindow PROTOARGs | ( | (char *path) | ) |
| Logical ActionMenu PROTOARGs | ( | (int part) | ) |
| Logical LoadCDF PROTOARGs | ( | (void) | ) |
| void ExportCDF PROTOARGs | ( | (char *path, long zMode, Logical negToPosFp0) | ) |
| void ExportCDFsSpec PROTOARGs | ( | (char *path, long zMode, Logical negToPosFp0, char *varLabel0, char *varHeader0[]) | ) |
| Logical ExportCDFs PROTOARGs | ( | (int argC, char *argV[]) | ) |
| int batchMode |
| long CDFcParms[CDF_MAX_PARMS] |
| long CDFcType |
| long compressCache |
| long dimCounts_1[CDF_MAX_DIMS] |
| long dimIndices_0[CDF_MAX_DIMS] |
| char dots[] |
| char* encodings[] |
| char* epochStyles[] |
| struct EditWindowStruct* EWkey |
| struct EditWindowStruct* EWmsg |
| struct FieldWindowStruct* FWcdf |
| long inMajority |
| struct ItemStruct* itemHead |
| struct ItemWindowStruct* IWsel |
| char* majorities[] |
| char* monos[] |
| char na[] |
| int nItems |
| long NrVars |
| long NzVars |
| struct OptionStruct opt |
| char outputCDF[CDF_PATHNAME_LEN+1] |
| char outputText[DU_MAX_PATH_LEN+1] |
| char readingCDF[] |
| long rMaxRec |
| char settingsFile[DU_MAX_PATH_LEN+1] |
| long stageCache |
| long workingCache |
| char writingCDF[] |
| long zMaxRec |
1.5.7