QSAS_2_4/QSAS_dist/src/Utilities/qcdf/cdfmisc1.c File Reference

#include "cdflib.h"
#include "cdflib64.h"
#include "cdfrev.h"

Functions

STATICforIDL CDFstatus CorrectV20eof (struct CDFstruct *CDF)
STATICforIDL CDFstatus CorrectV20offsets (struct CDFstruct *CDF)
STATICforIDL CDFstatus UpdateDotCDF (struct CDFstruct *CDF)
STATICforIDL CDFstatus CloseVarFiles (struct CDFstruct *CDF)
STATICforIDL Logical WriteAccess (struct CDFstruct *CDF, Logical forDelete, CDFstatus *pStatus)
STATICforIDL CDFstatus WriteBuffer (struct CDFstruct *CDF, vFILE *fp, Int32 dataType, Int32 numElems, void *buffer)
VISIBLE_PREFIX Logical NegativeZeroReal4 (float *value)
VISIBLE_PREFIX Logical NegativeZeroReal8 (double *value)
STATICforIDL void StripTrailingBlanks (char *string)
VISIBLE_PREFIX void MakeUpperString (char *string)
VISIBLE_PREFIX void MakeLowerString (char *string)
STATICforIDL void SetBit32 (Int32 *value, int bit)
STATICforIDL void ClearBit32 (Int32 *value, int bit)
STATICforIDL CDFstatus FindCDF (char *path, Logical *no_append, Logical *upper, Logical *version)
STATICforIDL void BuildFilePath (int fileType, char *pathBase, Logical noAppend, Logical upperCase, Logical versionNumber, Int32 varN, pathX)
STATICforIDL void NulPad (char *string, int length)
STATICforIDL CDFstatus UpdateMaxRec (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum)
STATICforIDL CDFstatus CalcDimParms (struct CDFstruct *CDF, Int32 offset, Logical zVar, Int32 *numDimsP, dimSizesP, dimVarysP)
STATICforIDL void NULterminateMAX (char *string, size_t maxLen)
VISIBLE_PREFIX void ClearBytes (void *buffer, int firstByte, int lastByte)
STATICforIDL CDFstatus WasteIR (struct CDFstruct *CDF, Int32 wasteOffset, Int32 size)
STATICforIDL CDFstatus AllocateIR (struct CDFstruct *CDF, Int32 size, Int32 *offset)
STATICforIDL CDFstatus ResizeIR (struct CDFstruct *CDF, Int32 curOffset, Int32 newSize, Int32 *newOffset, Logical move, Logical *success)
STATICforIDL CDFstatus RemoveUIRs (struct CDFstruct *CDF, Int32 sOffset, Int32 eOffset)
VISIBLE_PREFIX Logical PriorTo (char *spec, Int32 version, Int32 release, Int32 increment)
STATICforIDL CDFstatus ShortenCDR (struct CDFstruct *CDF)
STATICforIDL CDFstatus CorrectScopes (struct CDFstruct *CDF)
STATICforIDL CDFstatus ShortenVDRs (struct CDFstruct *CDF)
STATICforIDL CDFstatus CorrectBlockingFactors (struct CDFstruct *CDF)
STATICforIDL CDFstatus CorrectEPOCH (struct CDFstruct *CDF)
STATICforIDL Logical DeleteFile (char *path)
STATICforIDL void KillAbortedCDF (struct CDFstruct *CDF, struct CurStruct *Cur)
STATICforIDL void AbortAccess (struct CDFstruct *CDF, Logical updateCDF, Logical deleteCDF)
STATICforIDL CDFstatus DeleteCDFfiles (struct CDFstruct *CDF)
STATICforIDL CDFstatus DeleteEntry (struct CDFstruct *CDF, Int32 aOffset, Int32 eOffset)
STATICforIDL CDFstatus PadUnRecords (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec)
STATICforIDL CDFstatus WritePadValues (struct VarStruct *Var, vFILE *fp, Int32 offset, Int32 nRecords, int how, void *buffer)
VISIBLE_PREFIX int MinInt (int a, int b)
VISIBLE_PREFIX Int32 MinInt32 (Int32 a, Int32 b)
VISIBLE_PREFIX long MinLong (long a, long b)
VISIBLE_PREFIX int MaxInt (int a, int b)
VISIBLE_PREFIX Int32 MaxInt32 (Int32 a, Int32 b)
VISIBLE_PREFIX long MaxLong (long a, long b)
STATICforIDL void AddTOvStats (vSTATS *vStatsTO, vSTATS *vStats)

Function Documentation

STATICforIDL void AbortAccess ( struct CDFstruct CDF,
Logical  updateCDF,
Logical  deleteCDF 
)

STATICforIDL void AddTOvStats ( vSTATS vStatsTO,
vSTATS vStats 
)

STATICforIDL CDFstatus AllocateIR ( struct CDFstruct CDF,
Int32  size,
Int32 offset 
)

STATICforIDL void BuildFilePath ( int  fileType,
char *  pathBase,
Logical  noAppend,
Logical  upperCase,
Logical  versionNumber,
Int32  varN,
pathX   
)

STATICforIDL CDFstatus CalcDimParms ( struct CDFstruct CDF,
Int32  offset,
Logical  zVar,
Int32 numDimsP,
dimSizesP  ,
dimVarysP   
)

STATICforIDL void ClearBit32 ( Int32 value,
int  bit 
)

VISIBLE_PREFIX void ClearBytes ( void *  buffer,
int  firstByte,
int  lastByte 
)

STATICforIDL CDFstatus CloseVarFiles ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus CorrectBlockingFactors ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus CorrectEPOCH ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus CorrectScopes ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus CorrectV20eof ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus CorrectV20offsets ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus DeleteCDFfiles ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus DeleteEntry ( struct CDFstruct CDF,
Int32  aOffset,
Int32  eOffset 
)

STATICforIDL Logical DeleteFile ( char *  path  ) 

STATICforIDL CDFstatus FindCDF ( char *  path,
Logical no_append,
Logical upper,
Logical version 
)

STATICforIDL void KillAbortedCDF ( struct CDFstruct CDF,
struct CurStruct Cur 
)

VISIBLE_PREFIX void MakeLowerString ( char *  string  ) 

VISIBLE_PREFIX void MakeUpperString ( char *  string  ) 

VISIBLE_PREFIX int MaxInt ( int  a,
int  b 
)

VISIBLE_PREFIX Int32 MaxInt32 ( Int32  a,
Int32  b 
)

VISIBLE_PREFIX long MaxLong ( long  a,
long  b 
)

VISIBLE_PREFIX int MinInt ( int  a,
int  b 
)

VISIBLE_PREFIX Int32 MinInt32 ( Int32  a,
Int32  b 
)

VISIBLE_PREFIX long MinLong ( long  a,
long  b 
)

VISIBLE_PREFIX Logical NegativeZeroReal4 ( float *  value  ) 

VISIBLE_PREFIX Logical NegativeZeroReal8 ( double *  value  ) 

STATICforIDL void NulPad ( char *  string,
int  length 
)

STATICforIDL void NULterminateMAX ( char *  string,
size_t  maxLen 
)

STATICforIDL CDFstatus PadUnRecords ( struct CDFstruct CDF,
struct VarStruct Var,
Int32  firstRec,
Int32  lastRec 
)

VISIBLE_PREFIX Logical PriorTo ( char *  spec,
Int32  version,
Int32  release,
Int32  increment 
)

STATICforIDL CDFstatus RemoveUIRs ( struct CDFstruct CDF,
Int32  sOffset,
Int32  eOffset 
)

STATICforIDL CDFstatus ResizeIR ( struct CDFstruct CDF,
Int32  curOffset,
Int32  newSize,
Int32 newOffset,
Logical  move,
Logical success 
)

STATICforIDL void SetBit32 ( Int32 value,
int  bit 
)

STATICforIDL CDFstatus ShortenCDR ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus ShortenVDRs ( struct CDFstruct CDF  ) 

STATICforIDL void StripTrailingBlanks ( char *  string  ) 

STATICforIDL CDFstatus UpdateDotCDF ( struct CDFstruct CDF  ) 

STATICforIDL CDFstatus UpdateMaxRec ( struct CDFstruct CDF,
struct VarStruct Var,
Int32  recNum 
)

STATICforIDL CDFstatus WasteIR ( struct CDFstruct CDF,
Int32  wasteOffset,
Int32  size 
)

STATICforIDL Logical WriteAccess ( struct CDFstruct CDF,
Logical  forDelete,
CDFstatus pStatus 
)

STATICforIDL CDFstatus WriteBuffer ( struct CDFstruct CDF,
vFILE fp,
Int32  dataType,
Int32  numElems,
void *  buffer 
)

STATICforIDL CDFstatus WritePadValues ( struct VarStruct Var,
vFILE fp,
Int32  offset,
Int32  nRecords,
int  how,
void *  buffer 
)


Generated on Fri Jan 8 12:51:24 2010 for QSAS by  doxygen 1.5.7