Library SDIF


[ Keywords | Classes | Data | Functions ]

Quick Index



Classes

Back to the top of SDIF


Data

typedef struct SdifFileS SdifFileT;
// Error Handling
typedef enum SdifErrorTagE SdifErrorTagET;
typedef enum SdifErrorLevelE SdifErrorLevelET;
typedef struct SdifErrorS SdifErrorT;
struct SdifErrorS ;
typedef struct SdifErrorLS SdifErrorLT;
struct SdifErrorLS ;
typedef enum SdifErrorE SdifErrorEnum;
typedef void (*SdifExitFuncT) (void);
// SDIF File Structure
typedef enum SdifFileModeE SdifFileModeET ;
enum SdifPassE ;
typedef struct SdifFileS SdifFileT;
struct SdifFileS ;
typedef struct SdifFrameHeaderS SdifFrameHeaderT;
struct SdifFrameHeaderS ;
typedef struct SdifFrameDataS SdifFrameDataT;
struct SdifFrameDataS ;
typedef struct SdifComponentS SdifComponentT;
struct SdifComponentS ;
typedef struct SdifFrameTypeS SdifFrameTypeT;
struct SdifFrameTypeS ;
typedef enum SdifSignatureE SdifSignatureET;
typedef enum SdifModifModeE SdifModifModeET;
typedef enum SdifDataTypeE SdifDataTypeET;
typedef enum SdifDataTypeE SdifDataTypeET;
typedef char SdifChar;
typedef short SdifInt2;
typedef unsigned short SdifUInt2;
typedef int SdifInt4;
typedef unsigned int SdifUInt4;
typedef float SdifFloat4;
typedef double SdifFloat8;
typedef unsigned int SdifSignature;
typedef enum SdifMachineE SdifMachineET;
typedef enum SdifBinaryMode SdifBinaryModeET ;
typedef enum SdifHashIndexTypeE SdifHashIndexTypeET;
typedef union SdifHashIndexU SdifHashIndexUT;
char* Char[1];
unsigned int Int4;
typedef struct SdifHashNS SdifHashNT;
struct SdifHashNS ;
typedef struct SdifHashTableS SdifHashTableT;
struct SdifHashTableS ;
typedef int (*SdifMatrixCallbackT) (SdifFileT *file, int nummatrix, void *userdata);
typedef void (*KillerFT) (void *);
typedef struct SdifListNS SdifListNT;
struct SdifListNS ;
typedef struct SdifListNStockS SdifListNStockT;
struct SdifListNStockS ;
// lists management
typedef struct SdifListS SdifListT;
typedef SdifListT *SdifListP;
struct SdifListS ;
typedef struct SdifMatrixHeaderS SdifMatrixHeaderT;
struct SdifMatrixHeaderS ;
typedef union DataTypeU DataTypeUT;
SdifFloat4 *Float4;
SdifFloat8 *Float8;
SdifInt2 *Int2 ;
SdifInt4 *Int4 ;
// SdifInt8 *Int8 ;
SdifUInt2 *UInt2 ;
SdifUInt4 *UInt4 ;
// SdifUInt8 *UInt8 ;
SdifChar *Char ;
void *Void ;
typedef struct SdifOneRowS SdifOneRowT;
struct SdifOneRowS ;
typedef struct SdifMatrixDataS SdifMatrixDataT;
struct SdifMatrixDataS ;
typedef struct SdifColumnDefS SdifColumnDefT;
struct SdifColumnDefS ;
typedef struct SdifMatrixTypeS SdifMatrixTypeT;
struct SdifMatrixTypeS ;
typedef struct SdifBlockNodeS SdifBlockNodeT;
struct SdifBlockNodeS ;
typedef struct SdifBlockListS SdifBlockListT;
struct SdifBlockListS ;
char *SdifMrType;
//

* NameValue

typedef struct SdifNameValueS SdifNameValueT;
struct SdifNameValueS ;
//

* NameValueTable

typedef struct SdifNameValueTableS SdifNameValueTableT;
struct SdifNameValueTableS ;
//

* NameValueTableList

typedef struct SdifNameValuesLS SdifNameValuesLT;
struct SdifNameValuesLS ;
typedef enum SdifSelectTokens;
typedef struct SdifSelectElementIntT;
typedef struct SdifSelectElementRealT;
typedef union SdifSelectValueS SdifSelectValueT;
typedef struct SdifSelectElementS SdifSelectElementT, *SdifSelectElementP;
typedef struct SdifSelectionT;
typedef struct SdifFileS SdifFileT;
typedef struct SdifSignatureTabS SdifSignatureTabT;
struct SdifSignatureTabS ;
// Stream ID Table and Entries for 1IDS ASCII chunk
typedef struct SdifStreamIDS SdifStreamIDT;
struct SdifStreamIDS ;
typedef struct SdifStreamIDTableS SdifStreamIDTableT;
struct SdifStreamIDTableS ;
// Structure declaration
typedef struct SdifStringS SdifStringT;
struct SdifStringS ;
typedef struct SdifTimePositionS SdifTimePositionT;
struct SdifTimePositionS ;
typedef struct SdifTimePositionLS SdifTimePositionLT;
struct SdifTimePositionLS ;

Back to the top of SDIF


Global Functions

int SdifCheckFileFormat (const char *name);
SdifSignature SdifCheckFileFramesTab (const char *name, const SdifSignatureTabT *frames);
int SdifCheckFileFramesIndex (const char *name, const SdifSignature *frames);
SdifSignature SdifCheckNextFrame (SdifFileT *in, const SdifSignatureTabT *frames, int *index);
SdifFileT* SdifFTryOpen (const char *Name, SdifFileModeET Mode);
size_t SdifFConvToTextMatrixData (SdifFileT *SdifF);
size_t SdifFConvToTextMatrixHeader (SdifFileT *SdifF);
size_t SdifFConvToTextMatrix (SdifFileT *SdifF);
size_t SdifFConvToTextFrameData (SdifFileT *SdifF);
size_t SdifFConvToTextFrameHeader (SdifFileT *SdifF);
size_t SdifFConvToTextFrame (SdifFileT *SdifF);
size_t SdifFConvToTextAllFrame (SdifFileT *SdifF);
size_t SdifFConvToText (SdifFileT *SdifF);
size_t SdifToText (SdifFileT *SdifF, char *TextStreamName);
// Error Handling
SdifErrorT* SdifCreateError (SdifErrorTagET Tag, SdifErrorLevelET Level, const char* UserMess);
void SdifKillError (void *Error);
SdifErrorLT* SdifCreateErrorL (SdifFileT* SdifF);
void SdifKillErrorL (SdifErrorLT *ErrorL);
SdifUInt4 SdifInsertTailError (SdifErrorLT* ErrorL, int ErrorCount [], SdifErrorTagET Tag, const char* UserMess);
SdifErrorT* SdifLastError (SdifErrorLT *ErrorL);
SdifErrorTagET SdifLastErrorTag (SdifErrorLT *ErrorL);
SdifUInt4 SdifFError (SdifFileT* SdifF, SdifErrorTagET ErrorTag, const char *UserMess, const char *file, const int line);
SdifInt4 SdifFsPrintError (char* oErrMess, SdifFileT* SdifF, SdifErrorT* Error, const char *LibFile, int LibLine);
void SdifEnableErrorOutput (void);
void SdifDisableErrorOutput (void);
void SdifSetExitFunc (SdifExitFuncT func);
void SdifErrorWarning(SdifErrorEnum Error, const void *ErrorMess);
int SdifFGetSignature (SdifFileT *SdifF, size_t *NbCharRead);
int SdifFGetOneNameValue (SdifFileT *SdifF, int Verbose, size_t *NbCharRead);
size_t SdifFGetNameValueLCurrNVT(SdifFileT *SdifF, int Verbose);
int SdifFNameValueLCurrNVTfromString (SdifFileT *SdifF, char *str);
size_t SdifFGetOneMatrixType (SdifFileT *SdifF, int Verbose);
size_t SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);
int SdifFGetOneComponent (SdifFileT *SdifF, int Verbose, SdifSignature *MatrixSignature, char *ComponentName, size_t *NbCharRead);
int SdifFGetOneComponentfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString, SdifSignature *MatrixSignature, char *ComponentName);
size_t SdifFGetOneFrameType (SdifFileT *SdifF, int Verbose);
size_t SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);
size_t SdifFGetAllType (SdifFileT *SdifF, int Verbose);
size_t SdifFGetAllTypefromSdifString (SdifFileT *SdifF, SdifStringT *SdifString);
int SdifFGetOneStreamID (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead);
int SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);
size_t SdifFGetAllStreamID (SdifFileT *SdifF, int Verbose);
size_t SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);
//

* obsolete

size_t SdifFGetNameValueCurrHT (SdifFileT *SdifF, int Verbose);
size_t SdifFPrintGeneralHeader (SdifFileT *SdifF);
size_t SdifFPrintNameValueLCurrNVT (SdifFileT *SdifF);
size_t SdifFPrintAllNameValueNVT (SdifFileT *SdifF);
size_t SdifFPrintAllType (SdifFileT *SdifF);
size_t SdifFPrintAllStreamID (SdifFileT *SdifF);
size_t SdifFPrintAllASCIIChunks (SdifFileT *SdifF);
size_t SdifFPrintMatrixHeader (SdifFileT *SdifF);
size_t SdifFPrintFrameHeader (SdifFileT *SdifF);
size_t SdifFPrintOneRow (SdifFileT *SdifF);
size_t SdifFPrintMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);
size_t SdifFPrintFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType);
//

* obsolete

size_t SdifFPrintNameValueCurrHT (SdifFileT *SdifF);
size_t SdifFPrintAllNameValueHT (SdifFileT *SdifF);
size_t SdifFPutOneNameValue (SdifFileT *SdifF, int Verbose, SdifNameValueT *NameValue);
size_t SdifFPutNameValueLCurrNVT (SdifFileT *SdifF, int Verbose);
int SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString);
size_t SdifFPutOneMatrixType (SdifFileT *SdifF, int Verbose, SdifMatrixTypeT *MatrixType);
int SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString);
size_t SdifFPutAllMatrixType (SdifFileT *SdifF, int Verbose);
int SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring);
size_t SdifFPutOneComponent(SdifFileT *SdifF, int Verbose, SdifComponentT *Component);
int SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString);
size_t SdifFPutOneFrameType(SdifFileT *SdifF, int Verbose, SdifFrameTypeT *FrameType);
int SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString);
size_t SdifFPutAllFrameType (SdifFileT *SdifF, int Verbose);
int SdifFAllFrameTypeToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);
size_t SdifFPutAllType (SdifFileT *SdifF, int Verbose);
size_t SdifFPutOneStreamID (SdifFileT *SdifF, int Verbose, SdifStreamIDT *StreamID);
int SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID);
size_t SdifFPutAllStreamID (SdifFileT *SdifF, int Verbose);
int SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);
//

* obsolete

size_t SdifFPutNameValueCurrHT (SdifFileT *SdifF, int Verbose);
size_t SdifFReadGeneralHeader (SdifFileT *SdifF);
size_t SdifFReadChunkSize (SdifFileT *SdifF);
size_t SdifFReadNameValueLCurrNVT(SdifFileT *SdifF);
size_t SdifFReadAllType (SdifFileT *SdifF);
size_t SdifFReadAllStreamID (SdifFileT *SdifF);
size_t SdifFReadAllASCIIChunks (SdifFileT *SdifF);
size_t SdifFReadMatrixHeader (SdifFileT *SdifF);
size_t SdifFReadOneRow (SdifFileT *SdifF);
size_t SdifFReadFrameHeader (SdifFileT *SdifF);
size_t SdifFSkipMatrix (SdifFileT *SdifF);
// obsolete
size_t SdifSkipMatrix (SdifFileT *SdifF);
size_t SdifFSkipMatrixData (SdifFileT *SdifF);
// obsolete
size_t SdifSkipMatrixData (SdifFileT *SdifF);
size_t SdifFSkipFrameData (SdifFileT *SdifF);
// obsolete
size_t SdifSkipFrameData (SdifFileT *SdifF);
size_t SdifFReadPadding (SdifFileT *SdifF, size_t Padding);
size_t SdifFReadUndeterminatedPadding (SdifFileT *SdifF);
size_t SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes);
size_t SdifFReadOneMatrixType (SdifFileT *SdifF);
size_t SdifFReadOneFrameType (SdifFileT *SdifF);
size_t SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString);
size_t SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString);
//

* obsolete

size_t SdifFReadNameValueCurrHT (SdifFileT *SdifF);
size_t SdifFScanGeneralHeader (SdifFileT *SdifF);
size_t SdifFScanNameValueLCurrNVT (SdifFileT *SdifF);
size_t SdifFScanAllType (SdifFileT *SdifF);
size_t SdifFScanAllStreamID (SdifFileT *SdifF);
size_t SdifFScanAllASCIIChunks (SdifFileT *SdifF);
void SdifFScanMatrixHeader (SdifFileT *SdifF);
void SdifFScanFrameHeader (SdifFileT *SdifF);
void SdifFScanOneRow (SdifFileT *SdifF);
size_t SdifFScanMatrixType (SdifFileT *SdifF);
size_t SdifFScanFrameType (SdifFileT *SdifF);
//

* obsolete

size_t SdifFScanNameValueCurrHT (SdifFileT *SdifF);
size_t SdifFWriteGeneralHeader (SdifFileT *SdifF);
size_t SdifFWriteChunkHeader (SdifFileT *SdifF, SdifSignature ChunkSignature, size_t ChunkSize);
size_t SdifFWriteNameValueLCurrNVT (SdifFileT *SdifF);
size_t SdifFWriteAllNameValueNVT (SdifFileT *SdifF);
size_t SdifFWriteOneNameValue (SdifFileT *SdifF, SdifNameValueT *NameValue);
size_t SdifFWriteOneMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);
size_t SdifFWriteOneComponent (SdifFileT *SdifF, SdifComponentT *Component);
size_t SdifFWriteOneFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType);
size_t SdifFWriteOneStreamID (SdifFileT *SdifF, SdifStreamIDT *StreamID);
size_t SdifFWriteAllMatrixType (SdifFileT* SdifF);
size_t SdifFWriteAllFrameType (SdifFileT *SdifF);
size_t SdifFWriteAllType (SdifFileT *SdifF);
size_t SdifFWriteAllStreamID (SdifFileT *SdifF);
size_t SdifFWriteAllASCIIChunks (SdifFileT *SdifF);
size_t SdifFWriteMatrixHeader (SdifFileT *SdifF);
size_t SdifFWriteOneRow (SdifFileT *SdifF);
size_t SdifFWriteMatrixData (SdifFileT *SdifF, void *Data);
size_t SdifFWriteMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);
size_t SdifFWriteTextMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Length, char *Data);
size_t SdifAsciiToUTF8 (char *ascii_in, char *utf8_out);
size_t SdifFWritePadding (SdifFileT *SdifF, size_t Padding);
size_t SdifFWriteFrameHeader (SdifFileT *SdifF);
void SdifUpdateChunkSize (SdifFileT *SdifF, size_t ChunkSize);
int SdifUpdateFrameHeader (SdifFileT *SdifF, size_t ChunkSize, SdifInt4 NumMatrix);
size_t SdifFWriteFrameAndOneMatrix (SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);
size_t SdifSizeOfFrameHeader (void);
size_t SdifSizeOfMatrix (SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
size_t SdifFWriteTextFrame(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, char *str, size_t length);
size_t SdifFWriteTextFrameSdifString(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifStringT *SdifString);
//

* obsolete

size_t SdifFWriteNameValueCurrHT (SdifFileT *SdifF);
size_t SdifFWriteAllNameValueHT (SdifFileT *SdifF);
// Opening and Closing of Files
// DOC:

SdifFileT* SdifFOpen (const char *Name, SdifFileModeET Mode);
SdifFileT* SdifOpenFile (const char *Name, SdifFileModeET Mode);
SdifFileT* SdifFOpenText (SdifFileT *SdifF, const char* Name, SdifFileModeET Mode);
// DOC:

void SdifFClose (SdifFileT *SdifF);
void SdifCloseFile (SdifFileT *SdifF);
SdifFrameHeaderT* SdifFCreateCurrFramH (SdifFileT *SdifF, SdifSignature Signature);
SdifMatrixHeaderT* SdifFCreateCurrMtrxH (SdifFileT *SdifF);
FILE* SdifFGetFILE_SwitchVerbose (SdifFileT *SdifF, int Verbose);
void SdifTakeCodedPredefinedTypes (SdifFileT *SdifF);
void SdifFLoadPredefinedTypes (SdifFileT *SdifF, char *TypesFileName);
// Init/Deinit of the Library
void SdifGenInit (char *PredefinedTypesFile);
void SdifGenInitCond (char *PredefinedTypesFile);
void SdifGenKill (void);
void SdifPrintVersion(void);
// Current Header Access Functions
SdifFrameHeaderT* SdifFSetCurrFrameHeader (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);
SdifMatrixHeaderT* SdifFSetCurrMatrixHeader (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
SdifOneRowT* SdifFSetCurrOneRow (SdifFileT *SdifF, void *Values);
SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol, SdifFloat8 Value);
SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);
SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD);
SdifSignature SdifFCurrSignature (SdifFileT *SdifF);
SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF);
SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF);
SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);
SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF);
void* SdifFCurrOneRowData (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF);
SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF);
SdifUInt4 SdifFCurrID (SdifFileT *SdifF);
SdifFloat8 SdifFCurrTime (SdifFileT *SdifF);
// File Data Access Functions
SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);
int SdifFNameValueNum (SdifFileT *file);
SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);
int SdifFAddUserData (SdifFileT *file, void *data);
void *SdifFGetUserData (SdifFileT *file, int index);
SdifFileT* SdifFReInitMtrxUsed (SdifFileT *SdifF);
SdifFileT* SdifFPutInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
SdifSignature SdifFIsInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
// Error flag for file
int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);
SdifErrorT* SdifFLastError (SdifFileT *SdifF);
SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF);
SdifFrameHeaderT* SdifCreateFrameHeader(SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);
SdifFrameHeaderT* SdifCreateFrameHeaderEmpty(SdifSignature Signature);
void SdifKillFrameHeader (SdifFrameHeaderT *FrameHeader);
SdifFrameDataT* SdifCreateFrameData(SdifHashTableT *FrameTypesTable, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time);
void SdifKillFrameData (SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData);
SdifFrameDataT* SdifFrameDataPutNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix, SdifMatrixDataT *MatrixData);
SdifFrameDataT* SdifFrameDataPutComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName, SdifMatrixDataT *MatrixData);
SdifMatrixDataT* SdifFrameDataGetNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix);
SdifMatrixDataT* SdifFrameDataGetComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName);
SdifComponentT* SdifCreateComponent (SdifSignature MtrxS, char *Name, SdifUInt4 Num);
void SdifKillComponent (SdifComponentT *Component);
SdifFrameTypeT* SdifCreateFrameType (SdifSignature FramS, SdifFrameTypeT *PredefinedFrameType);
void SdifKillFrameType (SdifFrameTypeT *FrameType);
SdifComponentT* SdifFrameTypeGetComponent_MtrxS (SdifFrameTypeT *FrameType, SdifSignature MtrxS);
SdifComponentT* SdifFrameTypeGetComponent (SdifFrameTypeT *FrameType, char *NameC);
SdifComponentT* SdifFrameTypeGetNthComponent (SdifFrameTypeT *FrameType, SdifUInt4 NumC);
SdifFrameTypeT* SdifFrameTypePutComponent (SdifFrameTypeT *FrameType, SdifSignature MtrxS, char *NameC);
SdifFrameTypeT* SdifGetFrameType (SdifHashTableT *FrameTypeHT, SdifSignature FramS);
void SdifPutFrameType (SdifHashTableT *FrameTypeHT, SdifFrameTypeT *FrameType);
SdifUInt2 SdifExistUserFrameType (SdifHashTableT *FrameTypeHT);
SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);
// utility functions
// DOC:

char* SdifSignatureToString(SdifSignature Signature);
short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);
SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);
int SdifDataTypeKnown (SdifDataTypeET DataType);
// DOC:

size_t SdifPaddingCalculate (size_t NbBytes);
// DOC:

size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes);
short SdifFloat8Equ(SdifFloat8 f1, SdifFloat8 f2);
SdifMachineET SdifGetMachineType(void);
SdifMachineET SdifInitMachineType(void);
void SdifLittleToBig(void *BigPtr, void *LittlePtr, size_t size);
void SdifBigToLittle(void *InOutPtr, size_t size);
int SdifStrLen (const char *s);
int SdifStrCmp (const char *s1, const char *s2);
int SdifStrEq(const char *s1, const char *s2);
int SdifStrNCmp (const char *s1, const char *s2, unsigned int n);
char* SdifStrNCpy (char *s1, const char *s2, unsigned int n);
char* SdifCreateStrNCpy (const char* Source, size_t Size);
void SdifKillStr (char* String);
void SdifSetStdIOBinary (void);
FILE* SdiffBinOpen (const char * Name, SdifBinaryModeET Mode);
SdifInt4 SdiffBinClose (FILE *f);
SdifHashTableT* SdifCreateHashTable(unsigned int HashSize, SdifHashIndexTypeET IndexType, void (*Killer)());
void SdifMakeEmptyHashTable (SdifHashTableT* HTable);
void SdifKillHashTable (SdifHashTableT* HTable);
unsigned int SdifHashChar(const char* s, unsigned int nchar, unsigned int HashSize);
void* SdifHashTableSearchChar(SdifHashTableT* HTable, const char *s, unsigned int nchar);
SdifHashTableT* SdifHashTablePutChar (SdifHashTableT* HTable, const char *s, unsigned int nchar, void* Data);
unsigned int SdifHashInt4(unsigned int i, unsigned int HashSize);
void* SdifHashTableSearchInt4(SdifHashTableT* HTable, unsigned int i);
SdifHashTableT* SdifHashTablePutInt4 (SdifHashTableT* HTable, const unsigned int i, void* Data);
void* SdifHashTableSearch (SdifHashTableT* HTable, void *ptr, unsigned int nobj);
SdifHashTableT* SdifHashTablePut (SdifHashTableT* HTable, const void *ptr, unsigned int nobj, void* Data);
int SdifFReadNextSelectedFrameHeader (SdifFileT *file);
SdifFWriteMatrixColumns (SdifFileT *file, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *columns []);
SdifFWriteTextMatrix (SdifFileT f, SdifSignature matrixsig, const char *str) ;
SdifReadSimple (char *filename, SdifMatrixCallbackT matrixfunc, void *userdata);
// see SdifFRead
SdifFReadMatrixAs_TYPE_ ();
int SdifFReadMatrix (SdifFileT *file);
// with type conversion
int SdifFReadMatrixAs (SdifFileT *file, SdifDataTypeET as_type);
char *SdifFReadTextMatrix (SdifFileT *file);
int SdifFReadMatrixData (SdifFileT *file, void *target);
// with type conversion
int SdifFReadMatrixDataAs (SdifFileT *file, void *target, SdifDataTypeET as_type);
void *SdifFCurrMatrixData (SdifFileT *file) ;
void *SdifGetColumn ();
// Error handling
int SdifFCheckStatus (SdifFileT *file) ;
int SdifFCheckStatusPrint (SdifFileT *file) ;
// stocks management
void SdifInitListNStock (SdifListNStockT *Stock, unsigned int SizeOfOneStock);
void SdifNewStock (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNodeFromTrash (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNodeFromStock (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNode (SdifListNStockT *Stock);
void SdifPutNodeInTrash (SdifListNStockT *Stock, SdifListNT* OldNode);
SdifListNT* SdifKillListNStock (SdifListNT* OldStock);
void SdifListNStockMakeEmpty (SdifListNStockT *Stock);
SdifListNStockT* SdifListNodeStock (void);
void SdifInitListNodeStock (unsigned int SizeOfOneStock);
void SdifDrainListNodeStock (void);
// nodes management
SdifListNT* SdifCreateListNode (SdifListNT *Next, void *Data);
SdifListNT* SdifKillListNode (SdifListNT *Node, KillerFT Killer);
SdifListT* SdifCreateList (KillerFT Killer);
SdifListT* SdifKillListHead (SdifListT* List);
SdifListT* SdifMakeEmptyList (SdifListT* List);
void SdifKillList (SdifListT* List);
void* SdifListGetHead (SdifListT* List);
void* SdifListGetTail (SdifListT* List);
int SdifListIsNext (SdifListT* List);
int SdifListIsEmpty (SdifListT* List);
int SdifListInitLoop (SdifListT* List);
void* SdifListGetNext (SdifListT* List);
void* SdifListGetCurr (SdifListT* List);
SdifListT* SdifListPutTail (SdifListT* List, void *pData);
SdifListT* SdifListPutHead (SdifListT* List, void *pData);
unsigned int SdifListGetNbData (SdifListT* List);
SdifMatrixHeaderT* SdifCreateMatrixHeader (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
SdifMatrixHeaderT* SdifCreateMatrixHeaderEmpty (void);
void SdifKillMatrixHeader (SdifMatrixHeaderT *MatrixHeader);
SdifOneRowT* SdifCreateOneRow (SdifDataTypeET DataType, SdifUInt4 NbGranuleAlloc);
SdifOneRowT* SdifReInitOneRow (SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData);
void SdifKillOneRow (SdifOneRowT *OneRow);
SdifOneRowT* SdifOneRowPutValue (SdifOneRowT *OneRow, SdifUInt4 numCol, SdifFloat8 Value);
SdifFloat8 SdifOneRowGetValue (SdifOneRowT *OneRow, SdifUInt4 numCol);
SdifFloat8 SdifOneRowGetValueColName (SdifOneRowT *OneRow, SdifMatrixTypeT *MatrixType, char * NameCD);
SdifMatrixDataT* SdifCreateMatrixData (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
void SdifKillMatrixData (SdifMatrixDataT *MatrixData);
SdifMatrixDataT* SdifMatrixDataPutValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol, SdifFloat8 Value);
SdifFloat8 SdifMatrixDataGetValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol);
SdifColumnDefT* SdifCreateColumnDef (char *Name, unsigned int Num);
void SdifKillColumnDef (void *ColumnDef);
SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature, SdifMatrixTypeT *PredefinedMatrixType);
void SdifKillMatrixType (SdifMatrixTypeT *MatrixType);
SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);
SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable, SdifSignature Signature);
void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);
SdifUInt2 SdifExistUserMatrixType(SdifHashTableT *MatrixTypesTable);
SdifBlockNodeT* SdifCreateBlockNode (SdifBlockNodeT* Next, char *file, int line, char* type, void* ptr, size_t size, size_t nobj);
SdifBlockNodeT* SdifKillBlockNode (SdifBlockNodeT* BlockNode);
void SdifPrintBlockNode (int sizealloc, char* mess, SdifBlockNodeT* BlockNode);
void* SdifMr_alloc (SdifBlockListT* L, size_t size, size_t nobj);
size_t SdifMr_free (SdifBlockListT* L, void* ptr);
void* SdifMr_realloc (SdifBlockListT* L, void* oldptr, size_t size, size_t nobj);
void SdifMrDrainBlockList (SdifBlockListT* L);
SdifNameValueT* SdifCreateNameValue(const char *Name, const char *Value);
void SdifKillNameValue(SdifNameValueT *NameValue);
SdifNameValueTableT* SdifCreateNameValueTable( SdifUInt4 StreamID, SdifUInt4 HashSize, SdifUInt4 NumTable);
void SdifKillNameValueTable (void* NVTable);
SdifNameValueT* SdifNameValueTableGetNV (SdifNameValueTableT* NVTable, const char *Name);
SdifNameValueT* SdifNameValueTablePutNV (SdifNameValueTableT* NVTable, const char *Name, const char *Value);
SdifFloat8 SdifNameValueTableGetTime (SdifNameValueTableT* NVTable);
SdifUInt4 SdifNameValueTableGetNumTable (SdifNameValueTableT* NVTable);
SdifUInt4 SdifNameValueTableGetStreamID (SdifNameValueTableT* NVTable);
SdifNameValuesLT* SdifCreateNameValuesL (SdifUInt4 HashSize);
void SdifKillNameValuesL (SdifNameValuesLT *NameValuesL);
SdifNameValuesLT* SdifNameValuesLNewTable (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID);
SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);
SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name);
SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name);
SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
SdifUInt2 SdifNameValuesLIsNotEmpty (SdifNameValuesLT *NameValuesL);
//

* Obsolete

SdifNameValuesLT* SdifNameValuesLNewHT (SdifNameValuesLT *NameValuesL);
SdifHashTableT* SdifNameValuesLSetCurrHT(SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrHT);
SdifNameValueT* SdifNameValuesLGetCurrHT(SdifNameValuesLT *NameValuesL, char *Name);
SdifNameValueT* SdifNameValuesLPutCurrHT(SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
SdifFrameTypeT* CreateF_1FOB(void);
SdifFrameTypeT* CreateF_1REB(void);
SdifFrameTypeT* CreateF_1NOI(void);
void SdifCreatePredefinedTypes(SdifHashTableT *MatrixTypesHT, SdifHashTableT *FrameTypesHT);
void SdifPrintMatrixType(FILE *fw, SdifMatrixTypeT *MatrixType);
void SdifPrintAllMatrixType(FILE *fw, SdifFileT *SdifF);
void SdifPrintFrameType(FILE *fw, SdifFrameTypeT *FrameType);
void SdifPrintAllFrameType(FILE *fw, SdifFileT *SdifF);
void SdifPrintMatrixHeader(FILE *f, SdifMatrixHeaderT *MatrixHeader);
void SdifPrintOneRow(FILE *f, SdifOneRowT *OneRow);
void SdifPrintMatrixRows(FILE* f, SdifMatrixDataT *MatrixData);
void SdifPrintFrameHeader(FILE *f, SdifFrameHeaderT* FrameHeader);
void SdifPrintAllType(FILE *fw, SdifFileT *SdifF);
size_t Sdiffread (void *ptr, size_t size, size_t nobj, FILE *stream);
size_t Sdiffwrite (void *ptr, size_t size, size_t nobj, FILE *stream);
size_t SdiffReadChar (SdifChar *ptr, size_t nobj, FILE *stream);
size_t SdiffReadInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteChar (SdifChar *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteSignature (SdifSignature *Signature, FILE *stream);
size_t SdiffWriteString (char* ptr, FILE *stream);
size_t SdiffReadSpace (FILE* fr);
size_t SdiffReadSpacefromSdifString(SdifStringT *SdifString);
int SdifIsAReservedChar (char c);
char *SdifStringToNV ( char *str);
int SdiffGetString (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead);
int SdiffGetSignature (FILE* fr, SdifSignature *Signature, size_t *NbCharRead);
int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);
int SdiffGetWordUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);
int SdiffGetWordUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax,char *CharsEnd);
int SdiffGetStringUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);
int SdiffGetStringUntilfromSdifString(SdifStringT *SdifString, char *s, size_t ncMax, char *CharsEnd);
int SdiffGetStringWeakUntil(FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);
int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax, char *CharsEnd);
int SdifSkipASCIIUntil (FILE* fr, size_t *NbCharRead, char *CharsEnd);
size_t SdiffScan_TYPE (FILE *stream, Sdif_TYPE *ptr, size_t nobj);
size_t SdiffScanFloat4 (FILE *stream, SdifFloat4 *ptr, size_t nobj);
size_t SdiffScanFloat8 (FILE *stream, SdifFloat8 *ptr, size_t nobj);
SdifSignature SdifStringToSignature (char *str);
char *SdifBaseName (const char* inPathFileName);
// Init/Deinit
int SdifInitSelect (void);
SdifSelectionT *SdifCreateSelection (void);
// DOC:

int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);
// DOC:

int SdifFreeSelection (SdifSelectionT *sel);
// Parse and Set Selection
char *SdifSelectFindSelection (const char *filename);
char *SdifGetFilenameAndSelection ( const char *filename, SdifSelectionT *sel);
// DOC:

void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);
// Add Selections to Element Lists
void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);
void SdifSelectAdd_TYPE_Range (SdifListT *list, _datatype_ value, SdifSelectTokens rt, _datatype_ range);
void SdifSelectAddIntRange (SdifListT *list, int value, SdifSelectTokens rt, int range) ;
void SdifSelectAddReal (SdifListT *list, double value) ;
void SdifSelectAddRealRange (SdifListT *list, double value, SdifSelectTokens rt, double range) ;
void SdifSelectAddSignature (SdifListT *list, SdifSignature value) ;
void SdifSelectAddSignatureRange (SdifListT *list, SdifSignature value, SdifSelectTokens rt, SdifSignature range) ;
void SdifSelectAddString (SdifListT *list, char * value) ;
void SdifSelectAddStringRange (SdifListT *list, char * value, SdifSelectTokens rt, char * range) ;
// Query parsed ranges (list of ranges).
int SdifSelectGetNextIntRange ( SdifListP list, SdifSelectElementIntT *range, int force_range);
int SdifSelectGetNextRealRange ( SdifListP list, SdifSelectElementRealT *range, int force_range);
SdifSignature SdifSelectGetNextSignature ( SdifListP list);
char *SdifSelectGetNextString ( SdifListP list);
int SdifSelectGetFirstInt (SdifListP l, int defval);
double SdifSelectGetFirstReal (SdifListP l, double defval);
char *SdifSelectGetFirstString (SdifListP l, char *defval);
SdifSignature SdifSelectGetFirstSignature (SdifListP l, SdifSignature defval);
// Selection Testing Functions
int SdifSelectTestIntRange (SdifSelectElementT *elem, int cand);
int SdifSelectTestRealRange (SdifSelectElementT *elem, double cand);
int SdifSelectTestInt (SdifListT *list, int cand);
int SdifSelectTestReal (SdifListT *list, double cand);
int SdifSelectTestSignature (SdifListT *list, const SdifSignature cand);
int SdifSelectTestString (SdifListT *list, const char *cand);
// Using a Selection in File I/O.
int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);
int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);
int SdifFCurrFrameIsSelected (SdifFileT *file);
int SdifFCurrMatrixIsSelected (SdifFileT *file);
// Handling of a Table of Signatures
SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);
void SdifKillSignatureTab (SdifSignatureTabT *SignTab);
SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);
SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);
SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);
SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);
SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, const int index);
SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab, const SdifSignature Sign);
int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, const SdifSignature Sign);
// Stream ID Tables for 1IDS ASCII chunk
SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay);
void SdifKillStreamID(SdifStreamIDT *StreamID);
SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize);
void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable);
SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID, char *Source, char *TreeWay);
SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID);
SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable);
SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID);
char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID);
char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID);
SdifStringT * SdifStringNew(void);
void SdifStringFree(SdifStringT * SdifString);
int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);
int SdifStringGetC(SdifStringT * SdifString);
int SdifStringUngetC(SdifStringT * SdifString);
int SdifStringIsEOS(SdifStringT *SdifString);
SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature);
SdifFrameTypeT* SdifTestFrameType (SdifFileT *SdifF, SdifSignature Signature);
int SdifFTestMatrixWithFrameHeader (SdifFileT* SdifF);
int SdifFTestDataType (SdifFileT* SdifF);
int SdifFTestNbColumns (SdifFileT* SdifF);
int SdifFTestNotEmptyMatrix (SdifFileT* SdifF);
int SdifFTestMatrixHeader (SdifFileT* SdifF);
SdifColumnDefT* SdifTestColumnDef (SdifFileT *SdifF, SdifMatrixTypeT *MtrxT, char *NameCD);
SdifComponentT* SdifTestComponent (SdifFileT* SdifF, SdifFrameTypeT *FramT, char *NameCD);
int SdifTestSignature (SdifFileT *SdifF, int CharEnd, SdifSignature Signature, char *Mess);
int SdifTestCharEnd (SdifFileT *SdifF, int CharEnd, char MustBe, char *StringRead, int ErrCondition, char *Mess);
int SdifTestMatrixTypeModifMode (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);
int SdifTestFrameTypeModifMode (SdifFileT *SdifF, SdifFrameTypeT *FrameType);
size_t SdifFTextConvMatrixData (SdifFileT *SdifF);
size_t SdifFTextConvMatrix (SdifFileT *SdifF);
size_t SdifFTextConvFrameData (SdifFileT *SdifF);
size_t SdifFTextConvFrameHeader (SdifFileT *SdifF);
size_t SdifFTextConvFrame (SdifFileT *SdifF);
size_t SdifFTextConvAllFrame (SdifFileT *SdifF);
size_t SdifFTextConvFramesChunk (SdifFileT *SdifF);
size_t SdifFTextConv (SdifFileT *SdifF);
size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);
SdifTimePositionT* SdifCreateTimePosition(SdifFloat8 Time, SdiffPosT Position);
void SdifKillTimePosition(void* TimePosition);
SdifTimePositionLT* SdifCreateTimePositionL(void);
void SdifKillTimePositionL (SdifTimePositionLT *TimePositionL);
SdifTimePositionLT* SdifTimePositionLPutTail(SdifTimePositionLT* TimePositionL, SdifFloat8 Time, SdiffPosT Position);
SdifTimePositionT* SdifTimePositionLGetTail(SdifTimePositionLT* TimePositionL);

Back to the top of SDIF


int SdifCheckFileFormat (const char *name);

#include "SdifCheck.h"

DOC: Test if file is an SDIF file.

[] Returns: 0 if not an SDIF file (the first 4 chars are not "SDIF"), or file can not be opened, else 1.

Warning: This function doesn't work with stdio.

int SdifCheckFileFormat (const char *name);

Back to the top of SDIF


SdifSignature SdifCheckFileFramesTab (const char *name, const SdifSignatureTabT *frames);

#include "SdifCheck.h"

DOC: Test if file contains frames of certain types.

[in] name Filename + selection frames Table of frame signatures to look for [] return The first signature from frames found, or eEmptySignature if no frames could be found (or if file is not SDIF).

Warning: This function doesn't work with stdio.

SdifSignature SdifCheckFileFramesTab   (const char		*name, 
					const SdifSignatureTabT *frames);

Back to the top of SDIF


int SdifCheckFileFramesIndex (const char *name, const SdifSignature *frames);

#include "SdifCheck.h"

DOC: Test if file contains frames of certain types.

[in] name Filename + selection frames Array of frame signatures to look for, terminated with eEmptySignature. [] return The index in frames of the first signature found, or -1 if no frames could be found (or if file is not SDIF).

Warning: This function doesn't work with stdio.

int	      SdifCheckFileFramesIndex (const char	        *name, 
					const SdifSignature     *frames);

Back to the top of SDIF


SdifSignature SdifCheckNextFrame (SdifFileT *in, const SdifSignatureTabT *frames, int *index);

#include "SdifCheck.h"

DOC: Test if file contains frames of certain types.

[in] in open SDIF file frames Table of frame signatures to look for [out] index If the int pointer index is not NULL, it will receive the index in frames of the first signature found, or -1 if no frames could be found (or if file is not SDIF). [] return The first signature from frames found, or eEmptySignature if no frames could be found (or if file is not SDIF).

Warning: This function doesn't work with stdio.

SdifSignature SdifCheckNextFrame       (SdifFileT		*in, 
					const SdifSignatureTabT *frames,
					int			*index);

Back to the top of SDIF


SdifFileT* SdifFTryOpen (const char *Name, SdifFileModeET Mode);

#include "SdifCheck.h"

DOC: TODO: Test if file is an SDIF file (only when opening for read or append) and open it.

[Return] NULL if not an SDIF file (the first 4 chars are not "SDIF"), or file can not be opened.

SdifFileT*	   SdifFTryOpen			(const char *Name, SdifFileModeET Mode);

Back to the top of SDIF


size_t SdifFConvToTextMatrixData (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextMatrixData     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextMatrixHeader (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextMatrixHeader   (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextMatrix (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextMatrix         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextFrameData (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextFrameData      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextFrameHeader (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextFrameHeader    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextFrame (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextFrame          (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToTextAllFrame (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToTextAllFrame       (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFConvToText (SdifFileT *SdifF);

#include "SdifConvToText.h"

No documentation available.

size_t SdifFConvToText               (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifToText (SdifFileT *SdifF, char *TextStreamName);

#include "SdifConvToText.h"

DOC: Converti un fichier texte pseudo-SDIF de nom TextStreamName en un fichier SDIF binaire de non SdifF->Name. Le fichier doit avoir t ouvert en criture (eWriteFile).

size_t SdifToText (SdifFileT *SdifF, char *TextStreamName);

Back to the top of SDIF


typedef struct SdifFileS SdifFileT;

#include "SdifErrMess.h"

No documentation available.

typedef struct SdifFileS SdifFileT;

Back to the top of SDIF


typedef enum SdifErrorTagE SdifErrorTagET;

#include "SdifErrMess.h"

DATA GROUP: Error Handling

typedef enum SdifErrorTagE
{
	eUnknow,
	eNoError,
	eTypeDataNotSupported,
	eNameLength,
	eReDefined,
	eUnDefined,
	eSyntax,
	eBadTypesFile,
	eBadType,
	eBadHeader,
	eRecursiveDetect,
	eUnInterpreted,
	eOnlyOneChunkOf,
	eUserDefInFileYet,
	eBadMode,
	eBadStdFile,
	eBadNbData,
	eReadWriteOnSameFile,
    eBadFormatVersion,
    eMtrxUsedYet,
    eMtrxNotInFrame
} SdifErrorTagET;

Back to the top of SDIF


typedef enum SdifErrorLevelE SdifErrorLevelET;

#include "SdifErrMess.h"

No documentation available.

typedef enum SdifErrorLevelE
{
	eFatal,
	eError,
	eWarning,
	eRemark,
	eNoLevel,
	eNumLevels	/* level count, must always be last */
} SdifErrorLevelET;

Back to the top of SDIF


typedef struct SdifErrorS SdifErrorT;

#include "SdifErrMess.h"

No documentation available.

typedef struct SdifErrorS SdifErrorT;

Back to the top of SDIF


struct SdifErrorS ;

#include "SdifErrMess.h"

No documentation available.

struct SdifErrorS
{
	SdifErrorTagET		Tag;
	SdifErrorLevelET	Level;
	char*				UserMess;
};

Back to the top of SDIF


typedef struct SdifErrorLS SdifErrorLT;

#include "SdifErrMess.h"

No documentation available.

typedef struct SdifErrorLS SdifErrorLT;

Back to the top of SDIF


struct SdifErrorLS ;

#include "SdifErrMess.h"

No documentation available.

struct SdifErrorLS
{
  SdifListT*    ErrorList;
  SdifFileT*	SdifF; /* only a link */
};

Back to the top of SDIF


SdifErrorT* SdifCreateError (SdifErrorTagET Tag, SdifErrorLevelET Level, const char* UserMess);

#include "SdifErrMess.h"

FUNCTION GROUP: Error Handling

SdifErrorT*	SdifCreateError		(SdifErrorTagET Tag,
					 SdifErrorLevelET Level, 
					 const char* UserMess);

Back to the top of SDIF


void SdifKillError (void *Error);

#include "SdifErrMess.h"

No documentation available.

void		SdifKillError		(void *Error);

Back to the top of SDIF


SdifErrorLT* SdifCreateErrorL (SdifFileT* SdifF);

#include "SdifErrMess.h"

No documentation available.

SdifErrorLT*	SdifCreateErrorL	(SdifFileT* SdifF);

Back to the top of SDIF


void SdifKillErrorL (SdifErrorLT *ErrorL);

#include "SdifErrMess.h"

No documentation available.

void		SdifKillErrorL		(SdifErrorLT *ErrorL);

Back to the top of SDIF


SdifUInt4 SdifInsertTailError (SdifErrorLT* ErrorL, int ErrorCount [], SdifErrorTagET Tag, const char* UserMess);

#include "SdifErrMess.h"

No documentation available.

SdifUInt4       SdifInsertTailError     (SdifErrorLT* ErrorL, 
					 int ErrorCount [], 
					 SdifErrorTagET Tag, 
					 const char* UserMess);

Back to the top of SDIF


SdifErrorT* SdifLastError (SdifErrorLT *ErrorL);

#include "SdifErrMess.h"

No documentation available.

SdifErrorT*	SdifLastError		(SdifErrorLT *ErrorL);

Back to the top of SDIF


SdifErrorTagET SdifLastErrorTag (SdifErrorLT *ErrorL);

#include "SdifErrMess.h"

No documentation available.

SdifErrorTagET	SdifLastErrorTag	(SdifErrorLT *ErrorL);

Back to the top of SDIF


SdifUInt4 SdifFError (SdifFileT* SdifF, SdifErrorTagET ErrorTag, const char *UserMess, const char *file, const int line);

#include "SdifErrMess.h"

No documentation available.

SdifUInt4	SdifFError		(SdifFileT* SdifF, 
					 SdifErrorTagET ErrorTag, 
					 const char *UserMess, 
					 const char *file, 
					 const int line);

Back to the top of SDIF


SdifInt4 SdifFsPrintError (char* oErrMess, SdifFileT* SdifF, SdifErrorT* Error, const char *LibFile, int LibLine);

#include "SdifErrMess.h"

No documentation available.

SdifInt4	SdifFsPrintError	(char* oErrMess, SdifFileT* SdifF,
					 SdifErrorT* Error,
					 const char *LibFile, int LibLine);

Back to the top of SDIF


void SdifEnableErrorOutput (void);

#include "SdifErrMess.h"

DOC: Switch output of error messages on stderr by _SdifFError on.

void	SdifEnableErrorOutput  (void);

Back to the top of SDIF


void SdifDisableErrorOutput (void);

#include "SdifErrMess.h"

DOC: Switch output of error messages on stderr by _SdifFError off.

void	SdifDisableErrorOutput (void);

Back to the top of SDIF


typedef enum SdifErrorE SdifErrorEnum;

#include "SdifError.h"

No documentation available.

typedef enum SdifErrorE
{
  eFalse = 0,
  eTrue = 1,
  eFreeNull = 256,
  eAllocFail,
  eArrayPosition,
  eEof,
  eFileNotFound,
  eInvalidPreType,
  eAffectationOrder,
  eNoModifErr,
  eNotInDataTypeUnion,
  eNotFound,
  eExistYet,
  eWordCut,
  eTokenLength
} SdifErrorEnum;

Back to the top of SDIF


typedef void (*SdifExitFuncT) (void);

#include "SdifError.h"

No documentation available.

typedef void (*SdifExitFuncT) (void);

Back to the top of SDIF


void SdifSetExitFunc (SdifExitFuncT func);

#include "SdifError.h"

No documentation available.

void SdifSetExitFunc (SdifExitFuncT func);

Back to the top of SDIF


void SdifErrorWarning(SdifErrorEnum Error, const void *ErrorMess);

#include "SdifError.h"

No documentation available.

void SdifErrorWarning(SdifErrorEnum Error, const void *ErrorMess);

Back to the top of SDIF


int SdifFGetSignature (SdifFileT *SdifF, size_t *NbCharRead);

#include "SdifFGet.h"

DOC: Lit 4 bytes, les considre comme une signature qui est place dans SdifF->CurrSignature, incrmente NbCharRead du nombre de bytes lus et renvoie le dernier caractre lu convert en int (-1 si erreur).

int    SdifFGetSignature	(SdifFileT *SdifF, size_t *NbCharRead);

Back to the top of SDIF


int SdifFGetOneNameValue (SdifFileT *SdifF, int Verbose, size_t *NbCharRead);

#include "SdifFGet.h"

No documentation available.

int    SdifFGetOneNameValue     (SdifFileT *SdifF, int Verbose, size_t *NbCharRead);

Back to the top of SDIF


size_t SdifFGetNameValueLCurrNVT(SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

No documentation available.

size_t SdifFGetNameValueLCurrNVT(SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


int SdifFNameValueLCurrNVTfromString (SdifFileT *SdifF, char *str);

#include "SdifFGet.h"

No documentation available.

int    SdifFNameValueLCurrNVTfromString (SdifFileT *SdifF, char *str);

Back to the top of SDIF


size_t SdifFGetOneMatrixType (SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get the current matrix type from a file

size_t SdifFGetOneMatrixType    (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFGet.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Return the current matrix type from a SdifStringT

size_t SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


int SdifFGetOneComponent (SdifFileT *SdifF, int Verbose, SdifSignature *MatrixSignature, char *ComponentName, size_t *NbCharRead);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get the current component from a file

int    SdifFGetOneComponent     (SdifFileT *SdifF, int Verbose,
				 SdifSignature *MatrixSignature,
				 char *ComponentName,
				 size_t *NbCharRead);

Back to the top of SDIF


int SdifFGetOneComponentfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString, SdifSignature *MatrixSignature, char *ComponentName);

#include "SdifFGet.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Return the current component from a SdifStringT

int    SdifFGetOneComponentfromSdifString(SdifFileT *SdifF,
					  SdifStringT *SdifString,
					  SdifSignature *MatrixSignature,
					  char *ComponentName);

Back to the top of SDIF


size_t SdifFGetOneFrameType (SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get the current Frame type from a file

size_t SdifFGetOneFrameType     (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFGet.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Return the current frame type from a SdifStringT

size_t SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFGetAllType (SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get all types from a file

size_t SdifFGetAllType          (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFGetAllTypefromSdifString (SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFGet.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Get all types from a SdifStringT

size_t    SdifFGetAllTypefromSdifString   (SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


int SdifFGetOneStreamID (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get the current Stream ID from a file

int    SdifFGetOneStreamID      (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead);

Back to the top of SDIF


int SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFGet.h"

DOC: Remark: This function is implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Get the current Stream ID from a SdifStringT

int SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFGetAllStreamID (SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

DOC: Remark: This function implements the old SDIF Specification (before June 1999) Get all Stream ID from a file

size_t SdifFGetAllStreamID      (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFGet.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Get the current Stream ID from a SdifStringT

size_t SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFGetNameValueCurrHT (SdifFileT *SdifF, int Verbose);

#include "SdifFGet.h"

No documentation available.

size_t SdifFGetNameValueCurrHT (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFPrintGeneralHeader (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintGeneralHeader      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintNameValueLCurrNVT (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintNameValueLCurrNVT  (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintAllNameValueNVT (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintAllNameValueNVT    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintAllType (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintAllType            (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintAllStreamID (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintAllStreamID        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintAllASCIIChunks (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintAllASCIIChunks     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintMatrixHeader (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintMatrixHeader       (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintFrameHeader (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintFrameHeader        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintOneRow (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintOneRow             (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintMatrixType         (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


size_t SdifFPrintFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintFrameType          (SdifFileT *SdifF, SdifFrameTypeT  *FrameType);

Back to the top of SDIF


size_t SdifFPrintNameValueCurrHT (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintNameValueCurrHT (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPrintAllNameValueHT (SdifFileT *SdifF);

#include "SdifFPrint.h"

No documentation available.

size_t SdifFPrintAllNameValueHT  (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFPutOneNameValue (SdifFileT *SdifF, int Verbose, SdifNameValueT *NameValue);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutOneNameValue         (SdifFileT *SdifF, int Verbose, SdifNameValueT *NameValue);

Back to the top of SDIF


size_t SdifFPutNameValueLCurrNVT (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutNameValueLCurrNVT    (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


int SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS This function put NameValue to SdifString

int SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutOneMatrixType (SdifFileT *SdifF, int Verbose, SdifMatrixTypeT *MatrixType);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutOneMatrixType        (SdifFileT *SdifF, int Verbose,
				     SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


int SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Append matrix type declaration in SdifString

int SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutAllMatrixType (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutAllMatrixType        (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


int SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Write all Matrix type in SdifString

int SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring);

Back to the top of SDIF


size_t SdifFPutOneComponent(SdifFileT *SdifF, int Verbose, SdifComponentT *Component);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutOneComponent(SdifFileT *SdifF, int Verbose, SdifComponentT *Component);

Back to the top of SDIF


int SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Append one Component to SdifString

int SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutOneFrameType(SdifFileT *SdifF, int Verbose, SdifFrameTypeT *FrameType);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutOneFrameType(SdifFileT *SdifF, int Verbose, SdifFrameTypeT *FrameType);

Back to the top of SDIF


int SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Append one frame type to SdifString

int SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutAllFrameType (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutAllFrameType         (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


int SdifFAllFrameTypeToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Write all frame type in SdifString

int SdifFAllFrameTypeToSdifString   (SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutAllType (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutAllType              (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFPutOneStreamID (SdifFileT *SdifF, int Verbose, SdifStreamIDT *StreamID);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutOneStreamID          (SdifFileT *SdifF, int Verbose, SdifStreamIDT *StreamID);

Back to the top of SDIF


int SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Append one StreamID to SdifString

int SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID);

Back to the top of SDIF


size_t SdifFPutAllStreamID (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutAllStreamID          (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


int SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFPut.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Write all StreamID in SdifString

int SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFPutNameValueCurrHT (SdifFileT *SdifF, int Verbose);

#include "SdifFPut.h"

No documentation available.

size_t SdifFPutNameValueCurrHT      (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


size_t SdifFReadGeneralHeader (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Lit l'entte du fichier, c'est dire 'SDIF' puis 4 bytes. affiche un message en cas de non reconnaissance du format.

size_t SdifFReadGeneralHeader    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadChunkSize (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadChunkSize        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadNameValueLCurrNVT(SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadNameValueLCurrNVT(SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadAllType (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadAllType          (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadAllStreamID (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadAllStreamID      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadAllASCIIChunks (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction permet de lire tous les Chunk ASCII qui se trouveraient en dbut de fichier juste aprs l'entte gnrale. Elle s'arrte lorsqu'elle ne reconnat pas la signature de chunk comme un ASCII Chunk. Cette signature est donc normalement celle d'un frame. Elle est stocke dans SdifF->CurrSignature. Il n'est donc pas ncessaire de la relire.

size_t SdifFReadAllASCIIChunks   (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadMatrixHeader (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction lit une entte de matrice signature incluse. Elle vrifie le type de matrice, le champ DataType. Toute les donnes se trouvent stockes dans SdifF->CurrMtrxH. La plupart de ses champs sont directement accessible par les fonctions indpendantes du mode d'ouverture du fichier. Elle effectue une mise jour de l'allocation mmoire de SdifF->CurrOneRow en fonction des paramtres de l'entte de matrice. Ainsi, on est normalement prs pour lire chaque ligne de la matrice courrante.

size_t SdifFReadMatrixHeader     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadOneRow (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction permet de lire 1 ligne de matrice. Les donnes lues sont stockes dans SdifF->CurrOneRow (jusqu' une prochaine lecture d'entte de matrice qui rinitialise ses paramtres).

size_t SdifFReadOneRow           (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadFrameHeader (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction lit l'entte d'un frame partir de la taille et jusqu'au temps. Donc elle ne lit pas la signature mais donne SdifF->CurrFramH->Signature la valeur de SdifF->CurrSignature. La lecture doit se faire avant, avec SdifFGetSignature.

size_t SdifFReadFrameHeader      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFSkipMatrix (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction permet de passer une matrice toute entire entte incluse. Elle est utile lorsque qu'un frame contient plus de matrices que le programme lecteur n'en connat. Il peut ainsi les passer pour retomber sur un autre frame.

size_t SdifFSkipMatrix            (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifSkipMatrix (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifSkipMatrix            (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFSkipMatrixData (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction permet de passer une matrice mais aprs la lecture de l'entte. On s'en sert lorsque le type de matrice est mauvais, inconnu, non interprtable par le programme lecteur.

Note: The matrix padding is skipped also.

size_t SdifFSkipMatrixData        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifSkipMatrixData (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifSkipMatrixData        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFSkipFrameData (SdifFileT *SdifF);

#include "SdifFRead.h"

DOC: Cette fonction le mme sens que SdifSkipMatrixData mais pour les frames. Il faut donc pour l'utiliser avoir au pralable lu la signature et l'entte.

size_t SdifFSkipFrameData         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifSkipFrameData (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifSkipFrameData         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadPadding (SdifFileT *SdifF, size_t Padding);

#include "SdifFRead.h"

DOC: Cette fonction permet de lire le Padding en fin de matrice. l'utilisation classique de cette fonctin est:
SizeR = SdifFReadPadding(SdifF, SdifFPaddingCalculate(SdifF->Stream, SizeR));
o SizeR est la taille en bytes lue depuis le dbut de la matrice, c'est dire NbRow*NbCol*DataWith. En ralit, pour que SdifFPaddingCalculate fonctionne, il est seulement ncessaire que SizeR soit le nombre de bytes qui s'pare la position actuelle dans le fichier et un byte, repre d'allignement sur 64 bits.

size_t SdifFReadPadding          (SdifFileT *SdifF, size_t Padding);

Back to the top of SDIF


size_t SdifFReadUndeterminatedPadding (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadUndeterminatedPadding (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes);

#include "SdifFRead.h"

DOC: Read and throw away num bytes from the file.

size_t SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes);

Back to the top of SDIF


size_t SdifFReadOneMatrixType (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadOneMatrixType    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadOneFrameType (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadOneFrameType     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFRead.h"

DOC: Function to read text matrix. Read header. Read data. Read padding.

size_t SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString);

#include "SdifFRead.h"

DOC: Function to read text matrix data. Make reallocation. Read data. Read padding.

size_t SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString);

Back to the top of SDIF


size_t SdifFReadNameValueCurrHT (SdifFileT *SdifF);

#include "SdifFRead.h"

No documentation available.

size_t SdifFReadNameValueCurrHT  (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanGeneralHeader (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanGeneralHeader      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanNameValueLCurrNVT (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanNameValueLCurrNVT  (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanAllType (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanAllType            (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanAllStreamID (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanAllStreamID        (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanAllASCIIChunks (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanAllASCIIChunks     (SdifFileT *SdifF);

Back to the top of SDIF


void SdifFScanMatrixHeader (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

void    SdifFScanMatrixHeader       (SdifFileT *SdifF);

Back to the top of SDIF


void SdifFScanFrameHeader (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

void    SdifFScanFrameHeader        (SdifFileT *SdifF);

Back to the top of SDIF


void SdifFScanOneRow (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

void    SdifFScanOneRow             (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanMatrixType (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanMatrixType         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanFrameType (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanFrameType          (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFScanNameValueCurrHT (SdifFileT *SdifF);

#include "SdifFScan.h"

No documentation available.

size_t  SdifFScanNameValueCurrHT    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteGeneralHeader (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: crit sur le fichier 'SDIF' puis 4 bytes chunk size.

size_t  SdifFWriteGeneralHeader   (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteChunkHeader (SdifFileT *SdifF, SdifSignature ChunkSignature, size_t ChunkSize);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteChunkHeader     (SdifFileT *SdifF, SdifSignature ChunkSignature, size_t ChunkSize);

Back to the top of SDIF


size_t SdifFWriteNameValueLCurrNVT (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteNameValueLCurrNVT (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteAllNameValueNVT (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteAllNameValueNVT   (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteOneNameValue (SdifFileT *SdifF, SdifNameValueT *NameValue);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteOneNameValue    (SdifFileT *SdifF, SdifNameValueT  *NameValue);

Back to the top of SDIF


size_t SdifFWriteOneMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteOneMatrixType   (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


size_t SdifFWriteOneComponent (SdifFileT *SdifF, SdifComponentT *Component);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteOneComponent    (SdifFileT *SdifF, SdifComponentT  *Component);

Back to the top of SDIF


size_t SdifFWriteOneFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteOneFrameType    (SdifFileT *SdifF, SdifFrameTypeT  *FrameType);

Back to the top of SDIF


size_t SdifFWriteOneStreamID (SdifFileT *SdifF, SdifStreamIDT *StreamID);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteOneStreamID     (SdifFileT *SdifF, SdifStreamIDT   *StreamID);

Back to the top of SDIF


size_t SdifFWriteAllMatrixType (SdifFileT* SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteAllMatrixType   (SdifFileT* SdifF);

Back to the top of SDIF


size_t SdifFWriteAllFrameType (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteAllFrameType    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteAllType (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteAllType         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteAllStreamID (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: Remark: This function implements the new SDIF Specification (June 1999): Name Value Table, Matrix and Frame Type declaration, Stream ID declaration are defined in text matrix: 1NVT 1NVT 1TYP 1TYP 1IDS 1IDS Removed test for _SdifFormatVersion Now we write type in 1IDS frame which contains a 1IDS matrix

size_t  SdifFWriteAllStreamID     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteAllASCIIChunks (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: crit tous les chunks ASCII. C'est dire: les tables de names values, les types crs ou complts, et les Stream ID. Il faut donc au pralable avoir rempli compltement les tables avant de la lancer. Cette fonction de peut donc pas tre executer une 2nd fois durant une criture.

size_t  SdifFWriteAllASCIIChunks  (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteMatrixHeader (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: Aprs avoir donner une valeur chaque champ de SdifF->CurrMtrxH grce la fonction SdifFSetCurrMatrixHeader, SdifFWriteMatrixHeader crit toute l'entte de la matrice. Cette fonction ralise aussi une mise jour de SdifF->CurrOneRow, tant au niveau de l'allocation mmoire que du type de donnes.

size_t  SdifFWriteMatrixHeader    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteOneRow (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: Aprs avoir donner les valeurs chaque case de SdifF->CurrOneRow l'aide de SdifFSetCurrOneRow ou de SdifFSetCurrOneRowCol (suivant que l'on possde dj un tableau flottant ou respectivement une mthode pour retrouver une valeur de colonne), SdifFWriteOneRow crit 1 ligne de matrice suivant les paramtres de SdifF->CurrMtrxH.

size_t  SdifFWriteOneRow          (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteMatrixData (SdifFileT *SdifF, void *Data);

#include "SdifFWrite.h"

DOC: Write whole matrix data, (after having set the matrix header with SdifFSetCurrMatrixHeader (file, matrixsig, datatype, nrow, ncol). Data points to nbrow * nbcol * SdifSizeofDataType (datatype) bytes in row-major order. Padding still has to be written.

size_t SdifFWriteMatrixData (SdifFileT *SdifF, void *Data);

Back to the top of SDIF


size_t SdifFWriteMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);

#include "SdifFWrite.h"

DOC: Write whole matrix: header, data, and padding. Data points to NbRow * NbCol * SdifSizeofDataType (DataType) bytes in row-major order.

size_t SdifFWriteMatrix (SdifFileT     *SdifF,
			 SdifSignature  Signature,
			 SdifDataTypeET DataType,
			 SdifUInt4      NbRow,
			 SdifUInt4      NbCol,
			 void	       *Data);

Back to the top of SDIF


size_t SdifFWriteTextMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Length, char *Data);

#include "SdifFWrite.h"

DOC: Write a matrix with datatype text (header, data, and padding). Data points to Length bytes(!) of UTF-8 encoded text. Length includes the terminating '\0' character!!! That is, to write a C-String, use SdifFWriteTextMatrix (f, sig, strlen (str) + 1, str); to include it.

size_t SdifFWriteTextMatrix (SdifFileT     *SdifF,
			     SdifSignature  Signature,
			     SdifUInt4      Length,
			     char	   *Data);

Back to the top of SDIF


size_t SdifAsciiToUTF8 (char *ascii_in, char *utf8_out);

#include "SdifFWrite.h"

DOC: TBI: Convert ASCII C-String to UTF-8 encoded string, returning length (including terminating null character).

size_t SdifAsciiToUTF8 (char *ascii_in, char *utf8_out);

Back to the top of SDIF


size_t SdifFWritePadding (SdifFileT *SdifF, size_t Padding);

#include "SdifFWrite.h"

DOC: Cette fonction permet en fin d'criture de matrice d'ajouter le Padding ncessaire. Il faut cependant avoir la taille de ce Padding. On utilise SdifFPaddingCalculate(SdifF->Stream, SizeSinceAlignement) o SizeSinceAllignement est un size_t dsignant le nombre de bytes qui spare la position actuelle d'criture avec une position connue o le fichier est align sur 64 bits (en gnral, c'est la taille de la matrice en cours d'criture: NbRow*NbCol*DatWitdh).

size_t  SdifFWritePadding         (SdifFileT *SdifF, size_t Padding);

Back to the top of SDIF


size_t SdifFWriteFrameHeader (SdifFileT *SdifF);

#include "SdifFWrite.h"

DOC: Aprs avoir donner une valueur chaque champ de SdifF->CurrFramH grce la fonction SdifFSetCurrFrameHeader, SdifFWriteFrameHeader crit toute l'entte de frame. Lorsque la taille est inconnue au moment de l'criture, donner la valeur _SdifUnknownSize. Ensuite, compter le nombre de bytes crit dans le frame et raliser un SdifUpdateChunkSize avec la taille calcule.

size_t  SdifFWriteFrameHeader     (SdifFileT *SdifF);

Back to the top of SDIF


void SdifUpdateChunkSize (SdifFileT *SdifF, size_t ChunkSize);

#include "SdifFWrite.h"

DOC: Execute un retour fichier de ChunkSize bytes et l'crit, donc on crase la taille du chunk ou du frame. Dans le cas o le fichier est stderr ou stdout, l'action n'est pas ralise.

void    SdifUpdateChunkSize       (SdifFileT *SdifF, size_t ChunkSize);

Back to the top of SDIF


int SdifUpdateFrameHeader (SdifFileT *SdifF, size_t ChunkSize, SdifInt4 NumMatrix);

#include "SdifFWrite.h"

DOC: Rewrite given frame size and number of matrices in frame header. Return -1 on error or if file is not seekable (stdout or stderr).

int     SdifUpdateFrameHeader	  (SdifFileT *SdifF, size_t ChunkSize, 
				   SdifInt4 NumMatrix);

Back to the top of SDIF


size_t SdifFWriteFrameAndOneMatrix (SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);

#include "SdifFWrite.h"

DOC: Write a whole frame containing one matrix: frame header, matrix header, matrix data, and padding. Data points to NbRow * NbCol * SdifSizeofDataType (DataType) bytes in row-major order.

This function has the big advantage that the frame size is known in advance, so there's no need to rewind and update after the matrix has been written.

size_t  SdifFWriteFrameAndOneMatrix (SdifFileT	    *SdifF,
				     SdifSignature  FrameSignature,
				     SdifUInt4      NumID,
				     SdifFloat8     Time,
				     SdifSignature  MatrixSignature,
				     SdifDataTypeET DataType,
				     SdifUInt4      NbRow,
				     SdifUInt4      NbCol,
				     void	    *Data);

Back to the top of SDIF


size_t SdifSizeOfFrameHeader (void);

#include "SdifFWrite.h"

DOC: Return (constant) size of frame header after signature and size field. Use this to calculate the Size argument for SdifFSetCurrFrameHeader.

size_t SdifSizeOfFrameHeader (void);

Back to the top of SDIF


size_t SdifSizeOfMatrix (SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);

#include "SdifFWrite.h"

DOC: Return size of matrix (header, data, padding). Use this to calculate the Size argument for SdifFSetCurrFrameHeader.

size_t SdifSizeOfMatrix (SdifDataTypeET DataType,
			 SdifUInt4      NbRow,
			 SdifUInt4      NbCol);

Back to the top of SDIF


size_t SdifFWriteTextFrame(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, char *str, size_t length);

#include "SdifFWrite.h"

DOC: Write a text matrix using a string. Return number of bytes written.

size_t SdifFWriteTextFrame(SdifFileT     *SdifF,
			   SdifSignature FrameSignature,
			   SdifUInt4     NumID,
			   SdifFloat8    Time,
			   SdifSignature MatrixSignature,
			   char          *str,
			   size_t        length);

Back to the top of SDIF


size_t SdifFWriteTextFrameSdifString(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifStringT *SdifString);

#include "SdifFWrite.h"

DOC: Write a text matrix using a SdifString. Return number of bytes written.

size_t SdifFWriteTextFrameSdifString(SdifFileT     *SdifF,
				     SdifSignature FrameSignature,
				     SdifUInt4     NumID,
				     SdifFloat8    Time,
				     SdifSignature MatrixSignature,
				     SdifStringT   *SdifString);

Back to the top of SDIF


size_t SdifFWriteNameValueCurrHT (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteNameValueCurrHT (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFWriteAllNameValueHT (SdifFileT *SdifF);

#include "SdifFWrite.h"

No documentation available.

size_t  SdifFWriteAllNameValueHT  (SdifFileT *SdifF);

Back to the top of SDIF


SdifFileT* SdifFOpen (const char *Name, SdifFileModeET Mode);

#include "SdifFile.h"

No documentation available.

SdifFileT*         SdifFOpen                    (const char *Name, SdifFileModeET Mode);

Back to the top of SDIF


SdifFileT* SdifOpenFile (const char *Name, SdifFileModeET Mode);

#include "SdifFile.h"

No documentation available.

SdifFileT*         SdifOpenFile                 (const char *Name, SdifFileModeET Mode);

Back to the top of SDIF


SdifFileT* SdifFOpenText (SdifFileT *SdifF, const char* Name, SdifFileModeET Mode);

#include "SdifFile.h"

No documentation available.

SdifFileT*         SdifFOpenText                (SdifFileT *SdifF, const char* Name, SdifFileModeET Mode);

Back to the top of SDIF


void SdifFClose (SdifFileT *SdifF);

#include "SdifFile.h"

No documentation available.

void               SdifFClose                   (SdifFileT *SdifF);

Back to the top of SDIF


void SdifCloseFile (SdifFileT *SdifF);

#include "SdifFile.h"

No documentation available.

void               SdifCloseFile                (SdifFileT *SdifF);

Back to the top of SDIF


SdifFrameHeaderT* SdifFCreateCurrFramH (SdifFileT *SdifF, SdifSignature Signature);

#include "SdifFile.h"

No documentation available.

SdifFrameHeaderT*  SdifFCreateCurrFramH         (SdifFileT *SdifF, SdifSignature Signature);

Back to the top of SDIF


SdifMatrixHeaderT* SdifFCreateCurrMtrxH (SdifFileT *SdifF);

#include "SdifFile.h"

No documentation available.

SdifMatrixHeaderT* SdifFCreateCurrMtrxH         (SdifFileT *SdifF);

Back to the top of SDIF


FILE* SdifFGetFILE_SwitchVerbose (SdifFileT *SdifF, int Verbose);

#include "SdifFile.h"

No documentation available.

FILE*              SdifFGetFILE_SwitchVerbose   (SdifFileT *SdifF, int Verbose);

Back to the top of SDIF


void SdifTakeCodedPredefinedTypes (SdifFileT *SdifF);

#include "SdifFile.h"

No documentation available.

void               SdifTakeCodedPredefinedTypes (SdifFileT *SdifF);

Back to the top of SDIF


void SdifFLoadPredefinedTypes (SdifFileT *SdifF, char *TypesFileName);

#include "SdifFile.h"

No documentation available.

void               SdifFLoadPredefinedTypes     (SdifFileT *SdifF, char *TypesFileName);

Back to the top of SDIF


void SdifGenInit (char *PredefinedTypesFile);

#include "SdifFile.h"

DOC: Initialise the SDIF library, providing a name for an optional additional file with type definitions or "". This function has to be called once and only once per process before any other call to the SDIF library.

void SdifGenInit (char *PredefinedTypesFile); 

Back to the top of SDIF


void SdifGenInitCond (char *PredefinedTypesFile);

#include "SdifFile.h"

DOC: Initialise the SDIF library if it has not been initialised before. This function has to be called at least once, but can be called as many times as desired. Especially useful for dynamic libraries.

[in] PredefinedTypesFile: name for an optional additional file with type definitions or "".

void SdifGenInitCond (char *PredefinedTypesFile);

Back to the top of SDIF


void SdifGenKill (void);

#include "SdifFile.h"

DOC: Deinitialise the SDIF library

void SdifGenKill (void); 

Back to the top of SDIF


void SdifPrintVersion(void);

#include "SdifFile.h"

DOC: Print version information to standard error.

void SdifPrintVersion(void);

Back to the top of SDIF


SdifFrameHeaderT* SdifFSetCurrFrameHeader (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);

#include "SdifFile.h"

DOC: Permet de donner des valeurs chaque champ de l'entte de frame temporaire de SdifF.

Exemple: SdifSetCurrFrameHeader(SdifF, '1FOB', _SdifUnknownSize, 3, streamid, 1.0);

SdifFrameHeaderT* SdifFSetCurrFrameHeader (SdifFileT *SdifF, 
					   SdifSignature Signature, 
					   SdifUInt4 Size,
					   SdifUInt4 NbMatrix, 
					   SdifUInt4 NumID, 
					   SdifFloat8 Time);

Back to the top of SDIF


SdifMatrixHeaderT* SdifFSetCurrMatrixHeader (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);

#include "SdifFile.h"

DOC: Permet de donner des valeurs chaque champ de l'entte de matice temporaire de SdifF.

Exemple: SdifSetCurrMatrixHeader(SdifF, '1FOF', eFloat4, NbFofs, 7);

SdifMatrixHeaderT* SdifFSetCurrMatrixHeader (SdifFileT *SdifF, 
					     SdifSignature Signature,
					     SdifDataTypeET DataType, 
					     SdifUInt4 NbRow, SdifUInt4 NbCol);

Back to the top of SDIF


SdifOneRowT* SdifFSetCurrOneRow (SdifFileT *SdifF, void *Values);

#include "SdifFile.h"

DOC: Recopie la mmoire pointe par Values en fonction de l'entte de matrice courante.

Exemple:

  #define NbCols = 10;

float t[NbCols] = { 1., 2., 3., 4., 5., 6., 7., 8., 9., 0.};

SdifFSetCurrMatrixHeader(SdifF, 'mtrx', eFloat4, 1, NbCols);
SdifFSetCurrOneRow (SdifF, (void*) t);

On connait la taille de la mmoire recopier par le type de donne (ici: eFloat4) et le nombre de colonnes (ici: NbCols). Il faut que le type de donne de la matrice courante corresponde avec la taille d'un lment de t. Si t est compos de float sur 4 bytes, alors on doit avoir eFloat4. Si t est compos de double float sur 8 bytes, alors c'est eFloat8.

En gnral, les donnes d'un programme ne se prsente pas sous cette forme et il faut raliser une transposition lors des transfert de Sdif un programme. Le programme Diphone Ircam a un bon exemple de lecture avec transposition automatique, gnralise pour tout type de matrice.

SdifOneRowT*  SdifFSetCurrOneRow       (SdifFileT *SdifF, void *Values);

Back to the top of SDIF


SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol, SdifFloat8 Value);

#include "SdifFile.h"

DOC: Permet de donner la valeur Value dans la ligbe de matrice temporaire de SdifF la colonne numCol (0CurrMtrxH->NbCol).

SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4
numCol, SdifFloat8 Value);

Back to the top of SDIF


SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);

#include "SdifFile.h"

DOC: Recupre la valeur stocke la colonne numCol de la ligne temporaire. C'est un SdifFloat8 donc un double!!

SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);

Back to the top of SDIF


SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD);

#include "SdifFile.h"

DOC: Idem que la fonction prcdente mais en utilisant le type de la matrice et le nom de la colonne.

SdifFloat8    SdifFCurrOneRowColName   (SdifFileT *SdifF, 
					SdifMatrixTypeT *MatrixType, 
					char *NameCD);

Back to the top of SDIF


SdifSignature SdifFCurrSignature (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie la signature temporaire de Chunk ou de Frame.

SdifSignature SdifFCurrSignature       (SdifFileT *SdifF);

Back to the top of SDIF


SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Met 0 tous les bits de la signature temporaire.

SdifSignature SdifFCleanCurrSignature  (SdifFileT *SdifF);

Back to the top of SDIF


SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie la signature temporaire du dernier Frame lu ou du prochain crire.

SdifSignature SdifFCurrFrameSignature  (SdifFileT *SdifF);

Back to the top of SDIF


SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie la signature temporaire de la dernier matrice lue ou de la prochaine crire.

SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);

Back to the top of SDIF


SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie la ligne temporaire de SdifF.

SdifOneRowT*  SdifFCurrOneRow          (SdifFileT *SdifF);

Back to the top of SDIF


void* SdifFCurrOneRowData (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Returns a pointer to the data of the current matrix row. According to the matrix data type, it can be a pointer to float or double.

void*	     SdifFCurrOneRowData	  (SdifFileT *SdifF);

Back to the top of SDIF


SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie SdifF->CurrMtrx->NbCol, nombre de colonnes de la matrice en cours de traitement.

SdifUInt4     SdifFCurrNbCol           (SdifFileT *SdifF);

Back to the top of SDIF


SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie SdifF->CurrMtrx->NbRow, nombre de lignes de la matrice en cours de traitement.

SdifUInt4     SdifFCurrNbRow           (SdifFileT *SdifF);

Back to the top of SDIF


SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Returns the data type of the current matrix.

SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);

Back to the top of SDIF


SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie SdifF->CurrFramH->NbMatrix, mombre de matrices du frame courant.

SdifUInt4     SdifFCurrNbMatrix        (SdifFileT *SdifF);

Back to the top of SDIF


SdifUInt4 SdifFCurrID (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie SdifF->CurrFramH->NumID, index de l'objet du frame courant.

SdifUInt4     SdifFCurrID              (SdifFileT *SdifF);

Back to the top of SDIF


SdifFloat8 SdifFCurrTime (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Renvoie SdifF->CurrFramH->Time.

SdifFloat8    SdifFCurrTime            (SdifFileT *SdifF);

Back to the top of SDIF


SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);

#include "SdifFile.h"

DOC: Return list of NVTs for querying. [] precondition NVTs have been read with SdifFReadAllASCIIChunks.

SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);

Back to the top of SDIF


int SdifFNameValueNum (SdifFileT *file);

#include "SdifFile.h"

DOC: Return number of NVTs present. [] precondition NVTs have been read with SdifFReadAllASCIIChunks.

int SdifFNameValueNum (SdifFileT *file);

Back to the top of SDIF


SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);

#include "SdifFile.h"

DOC: Return the file's stream ID table, created automatically by SdifFOpen.

SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);

Back to the top of SDIF


int SdifFAddUserData (SdifFileT *file, void *data);

#include "SdifFile.h"

DOC: Add user data, return index added

int SdifFAddUserData (SdifFileT *file, void *data);

Back to the top of SDIF


void *SdifFGetUserData (SdifFileT *file, int index);

#include "SdifFile.h"

DOC: Get user data by index

void *SdifFGetUserData (SdifFileT *file, int index);

Back to the top of SDIF


SdifFileT* SdifFReInitMtrxUsed (SdifFileT *SdifF);

#include "SdifFile.h"

No documentation available.

SdifFileT*    SdifFReInitMtrxUsed (SdifFileT *SdifF);

Back to the top of SDIF


SdifFileT* SdifFPutInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);

#include "SdifFile.h"

No documentation available.

SdifFileT*    SdifFPutInMtrxUsed  (SdifFileT *SdifF, SdifSignature Sign);

Back to the top of SDIF


SdifSignature SdifFIsInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);

#include "SdifFile.h"

No documentation available.

SdifSignature SdifFIsInMtrxUsed   (SdifFileT *SdifF, SdifSignature Sign);

Back to the top of SDIF


int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);

#include "SdifFile.h"

DOC: Return number of errors present for file of level upto or more severe. Example: SdifFNumErrors(f, eError) is true if an error or a fatal error occurred since opening the file, false if there were only warnings or remarks.

int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);

Back to the top of SDIF


SdifErrorT* SdifFLastError (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Return pointer to last error struct or NULL if no error present for this file.

SdifErrorT*     SdifFLastError    (SdifFileT *SdifF);

Back to the top of SDIF


SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF);

#include "SdifFile.h"

DOC: Return tag of last error or eNoError if no error present for this file.

SdifErrorTagET  SdifFLastErrorTag (SdifFileT *SdifF);

Back to the top of SDIF


typedef enum SdifFileModeE SdifFileModeET ;

#include "SdifFileStruct.h"

DOC: File mode argument for SdifFOpen.

typedef enum SdifFileModeE
{
  eUnknownFileMode,	/* 0 */
  eWriteFile,
  eReadFile,
  ePredefinedTypes,	/* 3 */

  eModeMask = 7,	/* get rid of flags */

  /* from here on we have flags that can be or'ed with the previous modes */
  eParseSelection = 8
} SdifFileModeET ;

Back to the top of SDIF


enum SdifPassE ;

#include "SdifFileStruct.h"

No documentation available.

enum SdifPassE
{
  eNotPass,
  eReadPass,
  eWritePass
};

Back to the top of SDIF


typedef struct SdifFileS SdifFileT;

#include "SdifFileStruct.h"

No documentation available.

typedef struct SdifFileS SdifFileT;

Back to the top of SDIF


struct SdifFileS ;

#include "SdifFileStruct.h"

No documentation available.

struct SdifFileS
{
  char		     *Name;		/* Name of the file, can be "stdin, stdout, stderr */
  SdifFileModeET     Mode;		/* eWriteFile or eReadFile or ePredefinedTypes */
  int		     isSeekable;	/* file is neither standard i/o nor pipe i/o */

  SdifUInt4	     FormatVersion;	/* version of the SDIF format itself */
  SdifUInt4	     TypesVersion;	/* version of the description type collection */

  SdifNameValuesLT   *NameValues;       /* DataBase of Names Values */
  SdifHashTableT     *MatrixTypesTable; /* DataBase of Matrix Types */
  SdifHashTableT     *FrameTypesTable;  /* DataBase of Frame Types */
/*  SdifHashTableT     *StreamIDsTable;    DataBase of Stream IDs */
  SdifStreamIDTableT *StreamIDsTable;   /* DataBase of Stream IDs */
  SdifTimePositionLT *TimePositions;    /* List of (Time, Position in file) */
  SdifSelectionT     *Selection;	/* default selection parsed from Name */

  FILE *Stream;                         /* Stream to read or to write */

  SdifSignature      CurrSignature;
  SdifFrameHeaderT   *CurrFramH;        /* Current Frame Header can be NULL */
  SdifMatrixHeaderT  *CurrMtrxH;        /* Current Matrix Header can be NULL */

  SdifFrameTypeT     *CurrFramT;
  SdifMatrixTypeT    *CurrMtrxT;
  SdifFloat8         PrevTime;
  SdifSignatureTabT  *MtrxUsed;

  SdifOneRowT        *CurrOneRow;
  /* Current OneRow allocated memory in function
   * of _SdifGranule, use SdifReInitOneRow(SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData)
   * to assure NbData (=NbColumns) objects memory allocated
   */

  size_t  FileSize;
  size_t  ChunkSize;

  SdiffPosT  CurrFramPos;
  SdiffPosT  StartChunkPos;
  SdiffPosT  Pos;
  
  SdifUInt2  TypeDefPass;
  SdifUInt2  StreamIDPass;

  char *TextStreamName;                 /* Name of the text file corresponding to the sdif file */
  FILE *TextStream;                     /* Stream text */

  SdifUInt4     ErrorCount [eNumLevels];/* Error count per level of severity */
  SdifErrorLT  *Errors;			/* List of errors or warnings */

  int		NbUserData;		/* todo: hash table */
  void		*UserData [MaxUserData];
};	/* end struct SdifFileS */

Back to the top of SDIF


typedef struct SdifFrameHeaderS SdifFrameHeaderT;

#include "SdifFrame.h"

(ID=4)+(size=4)+(time=8)

typedef struct SdifFrameHeaderS SdifFrameHeaderT;

Back to the top of SDIF


struct SdifFrameHeaderS ;

#include "SdifFrame.h"

No documentation available.

struct SdifFrameHeaderS
{
  SdifSignature Signature;
  SdifUInt4  Size;
  SdifUInt4  NbMatrix;
  SdifUInt4  NumID;
  SdifFloat8 Time;
} ;

Back to the top of SDIF


typedef struct SdifFrameDataS SdifFrameDataT;

#include "SdifFrame.h"

No documentation available.

typedef struct SdifFrameDataS SdifFrameDataT;

Back to the top of SDIF


struct SdifFrameDataS ;

#include "SdifFrame.h"

No documentation available.

struct SdifFrameDataS
{
  SdifFrameHeaderT *Header;
  SdifMatrixDataT* *Matrix_s;
} ;

Back to the top of SDIF


SdifFrameHeaderT* SdifCreateFrameHeader(SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);

#include "SdifFrame.h"

No documentation available.

SdifFrameHeaderT* SdifCreateFrameHeader(SdifSignature Signature,
					       SdifUInt4 Size,
					       SdifUInt4 NbMatrix,
					       SdifUInt4 NumID,
					       SdifFloat8 Time);

Back to the top of SDIF


SdifFrameHeaderT* SdifCreateFrameHeaderEmpty(SdifSignature Signature);

#include "SdifFrame.h"

No documentation available.

SdifFrameHeaderT* SdifCreateFrameHeaderEmpty(SdifSignature Signature);

Back to the top of SDIF


void SdifKillFrameHeader (SdifFrameHeaderT *FrameHeader);

#include "SdifFrame.h"

No documentation available.

void              SdifKillFrameHeader  (SdifFrameHeaderT *FrameHeader);

Back to the top of SDIF


SdifFrameDataT* SdifCreateFrameData(SdifHashTableT *FrameTypesTable, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time);

#include "SdifFrame.h"

No documentation available.

SdifFrameDataT* SdifCreateFrameData(SdifHashTableT *FrameTypesTable,
					   SdifSignature FrameSignature,
					   SdifUInt4 NumID,
					   SdifFloat8 Time);

Back to the top of SDIF


void SdifKillFrameData (SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData);

#include "SdifFrame.h"

No documentation available.

void            SdifKillFrameData   (SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData);

Back to the top of SDIF


SdifFrameDataT* SdifFrameDataPutNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix, SdifMatrixDataT *MatrixData);

#include "SdifFrame.h"

No documentation available.

SdifFrameDataT* SdifFrameDataPutNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix,
						     SdifMatrixDataT *MatrixData);

Back to the top of SDIF


SdifFrameDataT* SdifFrameDataPutComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName, SdifMatrixDataT *MatrixData);

#include "SdifFrame.h"

No documentation available.

SdifFrameDataT* SdifFrameDataPutComponentMatrixData(SdifHashTableT *FrameTypesTable,
							   SdifFrameDataT *FrameData,
							   char *CompoName, SdifMatrixDataT *MatrixData);

Back to the top of SDIF


SdifMatrixDataT* SdifFrameDataGetNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix);

#include "SdifFrame.h"

No documentation available.

SdifMatrixDataT* SdifFrameDataGetNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix);

Back to the top of SDIF


SdifMatrixDataT* SdifFrameDataGetComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName);

#include "SdifFrame.h"

No documentation available.

SdifMatrixDataT* SdifFrameDataGetComponentMatrixData(SdifHashTableT *FrameTypesTable,
							    SdifFrameDataT *FrameData,
							    char *CompoName);

Back to the top of SDIF


typedef struct SdifComponentS SdifComponentT;

#include "SdifFrameType.h"

No documentation available.

typedef struct SdifComponentS SdifComponentT;

Back to the top of SDIF


struct SdifComponentS ;

#include "SdifFrameType.h"

No documentation available.

struct SdifComponentS
{
  SdifSignature MtrxS;
  char *Name;
  SdifUInt4  Num;
} ;

Back to the top of SDIF


typedef struct SdifFrameTypeS SdifFrameTypeT;

#include "SdifFrameType.h"

No documentation available.

typedef struct SdifFrameTypeS SdifFrameTypeT;

Back to the top of SDIF


struct SdifFrameTypeS ;

#include "SdifFrameType.h"

No documentation available.

struct SdifFrameTypeS
{
  SdifSignature Signature;

  SdifFrameTypeT* FrameTypePre;

  SdifHashTableT *ComponentUseHT;
  SdifUInt4       NbComponentUse;

  SdifUInt4       NbComponent;
  SdifModifModeET ModifMode;
};

Back to the top of SDIF


SdifComponentT* SdifCreateComponent (SdifSignature MtrxS, char *Name, SdifUInt4 Num);

#include "SdifFrameType.h"

No documentation available.

SdifComponentT* SdifCreateComponent (SdifSignature MtrxS, char *Name, SdifUInt4 Num);

Back to the top of SDIF


void SdifKillComponent (SdifComponentT *Component);

#include "SdifFrameType.h"

No documentation available.

void            SdifKillComponent   (SdifComponentT *Component);

Back to the top of SDIF


SdifFrameTypeT* SdifCreateFrameType (SdifSignature FramS, SdifFrameTypeT *PredefinedFrameType);

#include "SdifFrameType.h"

No documentation available.

SdifFrameTypeT* SdifCreateFrameType (SdifSignature FramS, SdifFrameTypeT *PredefinedFrameType);

Back to the top of SDIF


void SdifKillFrameType (SdifFrameTypeT *FrameType);

#include "SdifFrameType.h"

No documentation available.

void            SdifKillFrameType               (SdifFrameTypeT *FrameType);

Back to the top of SDIF


SdifComponentT* SdifFrameTypeGetComponent_MtrxS (SdifFrameTypeT *FrameType, SdifSignature MtrxS);

#include "SdifFrameType.h"

No documentation available.

SdifComponentT* SdifFrameTypeGetComponent_MtrxS (SdifFrameTypeT *FrameType, SdifSignature MtrxS);

Back to the top of SDIF


SdifComponentT* SdifFrameTypeGetComponent (SdifFrameTypeT *FrameType, char *NameC);

#include "SdifFrameType.h"

No documentation available.

SdifComponentT* SdifFrameTypeGetComponent       (SdifFrameTypeT *FrameType, char *NameC);

Back to the top of SDIF


SdifComponentT* SdifFrameTypeGetNthComponent (SdifFrameTypeT *FrameType, SdifUInt4 NumC);

#include "SdifFrameType.h"

No documentation available.

SdifComponentT* SdifFrameTypeGetNthComponent    (SdifFrameTypeT *FrameType, SdifUInt4 NumC);

Back to the top of SDIF


SdifFrameTypeT* SdifFrameTypePutComponent (SdifFrameTypeT *FrameType, SdifSignature MtrxS, char *NameC);

#include "SdifFrameType.h"

No documentation available.

SdifFrameTypeT* SdifFrameTypePutComponent       (SdifFrameTypeT *FrameType, SdifSignature MtrxS, char *NameC);

Back to the top of SDIF


SdifFrameTypeT* SdifGetFrameType (SdifHashTableT *FrameTypeHT, SdifSignature FramS);

#include "SdifFrameType.h"

No documentation available.

SdifFrameTypeT* SdifGetFrameType       (SdifHashTableT *FrameTypeHT, SdifSignature FramS);

Back to the top of SDIF


void SdifPutFrameType (SdifHashTableT *FrameTypeHT, SdifFrameTypeT *FrameType);

#include "SdifFrameType.h"

No documentation available.

void            SdifPutFrameType       (SdifHashTableT *FrameTypeHT, SdifFrameTypeT *FrameType);

Back to the top of SDIF


SdifUInt2 SdifExistUserFrameType (SdifHashTableT *FrameTypeHT);

#include "SdifFrameType.h"

No documentation available.

SdifUInt2       SdifExistUserFrameType (SdifHashTableT *FrameTypeHT);

Back to the top of SDIF


SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);

#include "SdifGlobals.h"

DOC: Macro to generate proper-endianed 4 char SDIF signature from something like 'ABCD'.

SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);

Back to the top of SDIF


typedef enum SdifSignatureE SdifSignatureET;

#include "SdifGlobals.h"

No documentation available.

typedef enum SdifSignatureE
{
  eSDIF = SdifSignatureConst('SDIF'), /* SDIF header */
  e1NVT = SdifSignatureConst('1NVT'), /* Name Value Table */
  e1TYP = SdifSignatureConst('1TYP'), /* TYPe declarations */
  e1MTD = SdifSignatureConst('1MTD'), /* Matrix Type Declaration */
  e1FTD = SdifSignatureConst('1FTD'), /* Frame Type Declaration */
  e1IDS = SdifSignatureConst('1IDS'), /* ID Stream Table */
  eSDFC = SdifSignatureConst('SDFC'), /* Start Data Frame Chunk (text files) */
  eENDC = SdifSignatureConst('ENDC'), /* END Chunk (text files) */
  eENDF = SdifSignatureConst('ENDF'), /* END File (text files) */
  eFORM = SdifSignatureConst('FORM'), /* FORM for IFF compatibility (obsolete ?) */
  eEmptySignature = SdifSignatureConst('\0\0\0\0')
} SdifSignatureET;

Back to the top of SDIF


typedef enum SdifModifModeE SdifModifModeET;

#include "SdifGlobals.h"

No documentation available.

typedef enum SdifModifModeE
{
  eNoModif,
  eCanModif
} SdifModifModeET;

Back to the top of SDIF


typedef enum SdifDataTypeE SdifDataTypeET;

#include "SdifGlobals.h"

No documentation available.

typedef enum SdifDataTypeE
{
  eText	    = 0x0301,
  eChar     = 0x0301,
  eFloat4   = 0x0004,
  eFloat8   = 0x0008,
  eInt2     = 0x0102,
  eInt4     = 0x0104,
  eInt8     = 0x0108,
  eUInt2    = 0x0202,
  eUInt4    = 0x0204,
  eUInt8    = 0x0208,
 	    
  eFloat4a  = 0x0001,	/* =  1 */    /* Backwards compatibility with old */
  eFloat4b  = 0x0010,	/* = 32 */    /* IRCAM versions < 3 of SDIF */
  eFloat8a  = 0x0002,	/* =  2 */    /* IN TEXT MODE ONLY! */
  eFloat8b  = 0x0020	/* = 64 */
} SdifDataTypeET;

Back to the top of SDIF


typedef enum SdifDataTypeE SdifDataTypeET;

#include "SdifGlobals.h"

No documentation available.

typedef enum SdifDataTypeE
{
  eUnicode  = 0,
  eFloat4   = 1,
  eFloat8   = 2,
  eInt4     = 3,
  eUInt4    = 4,
  eChar     = 5,
  eInt2     = 6,
  eUInt2    = 7,
  eFloat4Old = 32
} SdifDataTypeET;

Back to the top of SDIF


char* SdifSignatureToString(SdifSignature Signature);

#include "SdifGlobals.h"

No documentation available.

char*     SdifSignatureToString(SdifSignature Signature);

Back to the top of SDIF


short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);

#include "SdifGlobals.h"

DOC: Compare two signatures, ignoring the first character which encodes the type version. Note that comparison of full signatures can be done simply with '=='.

short     SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);

Back to the top of SDIF


SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);

#include "SdifGlobals.h"

DOC: Returns size of SDIF data type in bytes (which is always the low-order byte).

SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);

Back to the top of SDIF


int SdifDataTypeKnown (SdifDataTypeET DataType);

#include "SdifGlobals.h"

DOC: Returns true if DataType is in the list of known data types.

int SdifDataTypeKnown (SdifDataTypeET DataType);

Back to the top of SDIF


size_t SdifPaddingCalculate (size_t NbBytes);

#include "SdifGlobals.h"

No documentation available.

size_t    SdifPaddingCalculate  (size_t NbBytes);

Back to the top of SDIF


size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes);

#include "SdifGlobals.h"

No documentation available.

size_t    SdifFPaddingCalculate (FILE *f, size_t NbBytes);

Back to the top of SDIF


short SdifFloat8Equ(SdifFloat8 f1, SdifFloat8 f2);

#include "SdifGlobals.h"

(double f1) == (double f2) with _SdifFloatEps for error

short SdifFloat8Equ(SdifFloat8 f1, SdifFloat8 f2);

Back to the top of SDIF


typedef char SdifChar;

#include "SdifHard_OS.h"

No documentation available.

typedef char           SdifChar;

Back to the top of SDIF


typedef short SdifInt2;

#include "SdifHard_OS.h"

No documentation available.

typedef short          SdifInt2;

Back to the top of SDIF


typedef unsigned short SdifUInt2;

#include "SdifHard_OS.h"

No documentation available.

typedef unsigned short SdifUInt2;

Back to the top of SDIF


typedef int SdifInt4;

#include "SdifHard_OS.h"

No documentation available.

typedef int            SdifInt4;

Back to the top of SDIF


typedef unsigned int SdifUInt4;

#include "SdifHard_OS.h"

No documentation available.

typedef unsigned int   SdifUInt4;

Back to the top of SDIF


typedef float SdifFloat4;

#include "SdifHard_OS.h"

No documentation available.

typedef float          SdifFloat4;

Back to the top of SDIF


typedef double SdifFloat8;

#include "SdifHard_OS.h"

No documentation available.

typedef double         SdifFloat8;

Back to the top of SDIF


typedef unsigned int SdifSignature;

#include "SdifHard_OS.h"

No documentation available.

typedef unsigned int   SdifSignature;

Back to the top of SDIF


typedef enum SdifMachineE SdifMachineET;

#include "SdifHard_OS.h"

No documentation available.

typedef enum SdifMachineE
{
  eUndefinedMachine,
  eBigEndian,
  eLittleEndian,
  eLittleEndianLittleConst,
  eBigEndian64,
  eLittleEndian64,
  eLittleEndianLittleConst64,
  ePDPEndian
} SdifMachineET;

Back to the top of SDIF


SdifMachineET SdifGetMachineType(void);

#include "SdifHard_OS.h"

No documentation available.

SdifMachineET SdifGetMachineType(void);

Back to the top of SDIF


SdifMachineET SdifInitMachineType(void);

#include "SdifHard_OS.h"

No documentation available.

SdifMachineET SdifInitMachineType(void);

Back to the top of SDIF


void SdifLittleToBig(void *BigPtr, void *LittlePtr, size_t size);

#include "SdifHard_OS.h"

No documentation available.

void SdifLittleToBig(void *BigPtr, void *LittlePtr, size_t size);

Back to the top of SDIF


void SdifBigToLittle(void *InOutPtr, size_t size);

#include "SdifHard_OS.h"

No documentation available.

void SdifBigToLittle(void *InOutPtr, size_t size);

Back to the top of SDIF


int SdifStrLen (const char *s);

#include "SdifHard_OS.h"

No documentation available.

int       SdifStrLen  (const char *s);

Back to the top of SDIF


int SdifStrCmp (const char *s1, const char *s2);

#include "SdifHard_OS.h"

returns 0 if strings are equal

int       SdifStrCmp  (const char *s1, const char *s2);

Back to the top of SDIF


int SdifStrEq(const char *s1, const char *s2);

#include "SdifHard_OS.h"

returns true if strings are equal

int	  SdifStrEq(const char *s1, const char *s2);

Back to the top of SDIF


int SdifStrNCmp (const char *s1, const char *s2, unsigned int n);

#include "SdifHard_OS.h"

No documentation available.

int       SdifStrNCmp (const char *s1, const char *s2, unsigned int n);

Back to the top of SDIF


char* SdifStrNCpy (char *s1, const char *s2, unsigned int n);

#include "SdifHard_OS.h"

No documentation available.

char*     SdifStrNCpy (char *s1, const char *s2, unsigned int n);

Back to the top of SDIF


char* SdifCreateStrNCpy (const char* Source, size_t Size);

#include "SdifHard_OS.h"

No documentation available.

char*     SdifCreateStrNCpy (const char* Source, size_t Size);

Back to the top of SDIF


void SdifKillStr (char* String);

#include "SdifHard_OS.h"

No documentation available.

void      SdifKillStr (char* String);

Back to the top of SDIF


typedef enum SdifBinaryMode SdifBinaryModeET ;

#include "SdifHard_OS.h"

No documentation available.

typedef enum SdifBinaryMode
{
  eBinaryModeUnknown,
  eBinaryModeWrite,
  eBinaryModeRead,
  eBinaryModeStdInput,
  eBinaryModeStdOutput,
  eBinaryModeStdError
} SdifBinaryModeET ;

Back to the top of SDIF


void SdifSetStdIOBinary (void);

#include "SdifHard_OS.h"

No documentation available.

void     SdifSetStdIOBinary (void);

Back to the top of SDIF


FILE* SdiffBinOpen (const char * Name, SdifBinaryModeET Mode);

#include "SdifHard_OS.h"

No documentation available.

FILE*    SdiffBinOpen       (const char * Name, SdifBinaryModeET Mode);

Back to the top of SDIF


SdifInt4 SdiffBinClose (FILE *f);

#include "SdifHard_OS.h"

No documentation available.

SdifInt4 SdiffBinClose      (FILE *f);

Back to the top of SDIF


typedef enum SdifHashIndexTypeE SdifHashIndexTypeET;

#include "SdifHash.h"

No documentation available.

typedef enum SdifHashIndexTypeE
{
  eHashChar,
  eHashInt4
} SdifHashIndexTypeET;

Back to the top of SDIF


typedef union SdifHashIndexU SdifHashIndexUT;

#include "SdifHash.h"

No documentation available.

typedef union SdifHashIndexU SdifHashIndexUT;

Back to the top of SDIF


char* Char[1];

#include "SdifHash.h"

No documentation available.

  char* Char[1]; /* tab of one pointer to fixe union size at 4 or 8 bytes */

Back to the top of SDIF


unsigned int Int4;

#include "SdifHash.h"

No documentation available.

  unsigned int  Int4;

Back to the top of SDIF


typedef struct SdifHashNS SdifHashNT;

#include "SdifHash.h"

No documentation available.

typedef struct SdifHashNS SdifHashNT;

Back to the top of SDIF


struct SdifHashNS ;

#include "SdifHash.h"

No documentation available.

struct SdifHashNS 
{
  SdifHashNT *Next;
  SdifHashIndexUT Index;
  void* Data;
};

Back to the top of SDIF


typedef struct SdifHashTableS SdifHashTableT;

#include "SdifHash.h"

No documentation available.

typedef struct SdifHashTableS SdifHashTableT;

Back to the top of SDIF


struct SdifHashTableS ;

#include "SdifHash.h"

No documentation available.

struct SdifHashTableS
{
  SdifHashNT* *Table;
  unsigned int HashSize;
  SdifHashIndexTypeET IndexType;
  void (*Killer)();  /* no verification of arguments */
  unsigned int NbOfData;
} ;

Back to the top of SDIF


SdifHashTableT* SdifCreateHashTable(unsigned int HashSize, SdifHashIndexTypeET IndexType, void (*Killer)());

#include "SdifHash.h"

No documentation available.

SdifHashTableT* SdifCreateHashTable(unsigned int HashSize, SdifHashIndexTypeET IndexType, void (*Killer)());

Back to the top of SDIF


void SdifMakeEmptyHashTable (SdifHashTableT* HTable);

#include "SdifHash.h"

No documentation available.

void SdifMakeEmptyHashTable (SdifHashTableT* HTable);

Back to the top of SDIF


void SdifKillHashTable (SdifHashTableT* HTable);

#include "SdifHash.h"

No documentation available.

void SdifKillHashTable      (SdifHashTableT* HTable);

Back to the top of SDIF


unsigned int SdifHashChar(const char* s, unsigned int nchar, unsigned int HashSize);

#include "SdifHash.h"

***************** eHashChar ***************

unsigned int SdifHashChar(const char* s, unsigned int nchar, unsigned int HashSize);

Back to the top of SDIF


void* SdifHashTableSearchChar(SdifHashTableT* HTable, const char *s, unsigned int nchar);

#include "SdifHash.h"

No documentation available.

void*           SdifHashTableSearchChar(SdifHashTableT* HTable, const char *s, unsigned int nchar);

Back to the top of SDIF


SdifHashTableT* SdifHashTablePutChar (SdifHashTableT* HTable, const char *s, unsigned int nchar, void* Data);

#include "SdifHash.h"

No documentation available.

SdifHashTableT* SdifHashTablePutChar   (SdifHashTableT* HTable, const char *s, unsigned int nchar, void* Data);

Back to the top of SDIF


unsigned int SdifHashInt4(unsigned int i, unsigned int HashSize);

#include "SdifHash.h"

**************** eHashInt4 *********************

unsigned int SdifHashInt4(unsigned int i, unsigned int HashSize);

Back to the top of SDIF


void* SdifHashTableSearchInt4(SdifHashTableT* HTable, unsigned int i);

#include "SdifHash.h"

No documentation available.

void*           SdifHashTableSearchInt4(SdifHashTableT* HTable, unsigned int i);

Back to the top of SDIF


SdifHashTableT* SdifHashTablePutInt4 (SdifHashTableT* HTable, const unsigned int i, void* Data);

#include "SdifHash.h"

No documentation available.

SdifHashTableT* SdifHashTablePutInt4   (SdifHashTableT* HTable, const unsigned int i, void* Data);

Back to the top of SDIF


void* SdifHashTableSearch (SdifHashTableT* HTable, void *ptr, unsigned int nobj);

#include "SdifHash.h"

************************** for all **********************

void*           SdifHashTableSearch (SdifHashTableT* HTable, void *ptr, unsigned int nobj);

Back to the top of SDIF


SdifHashTableT* SdifHashTablePut (SdifHashTableT* HTable, const void *ptr, unsigned int nobj, void* Data);

#include "SdifHash.h"

No documentation available.

SdifHashTableT* SdifHashTablePut    (SdifHashTableT* HTable, const void *ptr, unsigned int nobj, void* Data);

Back to the top of SDIF


int SdifFReadNextSelectedFrameHeader (SdifFileT *file);

#include "SdifHighLevel.h"

DOC: Read frame headers until a frame matching the file selection has been found or the end of the file has been reached.

[] Return false if end of file was reached, true if data has been read.

int SdifFReadNextSelectedFrameHeader (SdifFileT *file);

Back to the top of SDIF


SdifFWriteMatrixColumns (SdifFileT *file, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *columns []);

#include "SdifHighLevel.h"

DOC: Write whole matrix, given as separate columns in array "columns" of pointer to "DataType". Each columns [i], i = 0..NbCol-1, points to NbRow * SdifSizeofDataType (DataType) bytes. TBI

SdifFWriteMatrixColumns (SdifFileT     *file,
			 SdifSignature  Signature,
			 SdifDataTypeET DataType,
			 SdifUInt4      NbRow,
			 SdifUInt4      NbCol,
			 void	       *columns []);

Back to the top of SDIF


SdifFWriteTextMatrix (SdifFileT f, SdifSignature matrixsig, const char *str) ;

#include "SdifHighLevel.h"

No documentation available.

SdifFWriteTextMatrix (SdifFileT f, SdifSignature matrixsig, const char *str)
                                                                                                                                                                                                                                       
;

Function is currently defined inline.


Back to the top of SDIF


typedef int (*SdifMatrixCallbackT) (SdifFileT *file, int nummatrix, void *userdata);

#include "SdifHighLevel.h"

DOC: Definition of the matrix callback function type, used for SdifReadSimple. TBI

typedef int (*SdifMatrixCallbackT) (SdifFileT *file, 
				    int nummatrix, 
				    void *userdata);

Back to the top of SDIF


SdifReadSimple (char *filename, SdifMatrixCallbackT matrixfunc, void *userdata);

#include "SdifHighLevel.h"

DOC: Reads an entire SDIF file, calling matrixfunc for each matrix in the SDIF selection taken from the filename. Matrixfunc is called with the SDIF file pointer, the matrix count within the current frame, and the userdata unchanged. TBI

SdifReadSimple (char		    *filename, 
		SdifMatrixCallbackT matrixfunc,
		void		    *userdata);

Back to the top of SDIF


SdifFReadMatrixAs_TYPE_ ();

#include "SdifHighLevel.h"

No documentation available.

SdifFReadMatrixAs_TYPE_ ();

Back to the top of SDIF


int SdifFReadMatrix (SdifFileT *file);

#include "SdifHighLevel.h"

DOC: Reads matrix header and data into memory allocated by the library, accessible by SdifFCurrMatrixData ().

int SdifFReadMatrix (SdifFileT *file);

Back to the top of SDIF


int SdifFReadMatrixAs (SdifFileT *file, SdifDataTypeET as_type);

#include "SdifHighLevel.h"

No documentation available.

int SdifFReadMatrixAs (SdifFileT *file, SdifDataTypeET as_type);

Back to the top of SDIF


char *SdifFReadTextMatrix (SdifFileT *file);

#include "SdifHighLevel.h"

? text special: return allocated, decoded c-string, to be free'd by caller

char *SdifFReadTextMatrix (SdifFileT *file);

Back to the top of SDIF


int SdifFReadMatrixData (SdifFileT *file, void *target);

#include "SdifHighLevel.h"

DOC: Reads matrix data into memory pointed to by target, which must point to at least nbrow * nbcol * size of datatype bytes of memory. If target is NULL, the library will allocate enough space for the data of one matrix, accessible by SdifFCurrMatrixData ().

[Precondition:] Matrix header must have been read with SdifFReadMatrixHeader.

int SdifFReadMatrixData   (SdifFileT *file, void *target);

Back to the top of SDIF


int SdifFReadMatrixDataAs (SdifFileT *file, void *target, SdifDataTypeET as_type);

#include "SdifHighLevel.h"

No documentation available.

int SdifFReadMatrixDataAs (SdifFileT *file, void *target,
			   SdifDataTypeET as_type);

Back to the top of SDIF


void *SdifFCurrMatrixData (SdifFileT *file) ;

#include "SdifHighLevel.h"

--> SdifMatrix.h: add to SdifMatrixHeaderS not void *MatrixData, but:

DataTypeUT Data;

--> SdifFile.c: add void *SdifFCurrMatrixData (SdifFileT *);

void *SdifFCurrMatrixData (SdifFileT *file)
                                        
;

Function is currently defined inline.


Back to the top of SDIF


void *SdifGetColumn ();

#include "SdifHighLevel.h"

No documentation available.

void *SdifGetColumn ();

Back to the top of SDIF


int SdifFCheckStatus (SdifFileT *file) ;

#include "SdifHighLevel.h"

No documentation available.

int /*bool*/ SdifFCheckStatus (SdifFileT *file)
                                                        
;

Function is currently defined inline.


Back to the top of SDIF


int SdifFCheckStatusPrint (SdifFileT *file) ;

#include "SdifHighLevel.h"

No documentation available.

int /*bool*/ SdifFCheckStatusPrint (SdifFileT *file)
                                                                                                                                                        
;

Function is currently defined inline.


Back to the top of SDIF


typedef void (*KillerFT) (void *);

#include "SdifList.h"

No documentation available.

typedef void (*KillerFT) (void *);

Back to the top of SDIF


typedef struct SdifListNS SdifListNT;

#include "SdifList.h"

No documentation available.

typedef struct SdifListNS SdifListNT;

Back to the top of SDIF


struct SdifListNS ;

#include "SdifList.h"

No documentation available.

struct SdifListNS 
{
  SdifListNT *Next;
  void* Data;
};

Back to the top of SDIF


typedef struct SdifListNStockS SdifListNStockT;

#include "SdifList.h"

No documentation available.

typedef struct SdifListNStockS SdifListNStockT;

Back to the top of SDIF


struct SdifListNStockS ;

#include "SdifList.h"

No documentation available.

struct SdifListNStockS
{
    SdifListNT*  StockList; /* list of arrays of nodes, the first node is used to chain arrays */
    unsigned int SizeOfOneStock; /* must be > 1 */
    unsigned int NbStock;

    unsigned int NbNodesUsedInCurrStock;

    SdifListNT* Trash; /* to recycle nodes */

};

Back to the top of SDIF


void SdifInitListNStock (SdifListNStockT *Stock, unsigned int SizeOfOneStock);

#include "SdifList.h"

No documentation available.

void        SdifInitListNStock      (SdifListNStockT *Stock, unsigned int SizeOfOneStock);

Back to the top of SDIF


void SdifNewStock (SdifListNStockT *Stock);

#include "SdifList.h"

No documentation available.

void        SdifNewStock            (SdifListNStockT *Stock);

Back to the top of SDIF


SdifListNT* SdifGetNewNodeFromTrash (SdifListNStockT *Stock);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifGetNewNodeFromTrash (SdifListNStockT *Stock);

Back to the top of SDIF


SdifListNT* SdifGetNewNodeFromStock (SdifListNStockT *Stock);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifGetNewNodeFromStock (SdifListNStockT *Stock);

Back to the top of SDIF


SdifListNT* SdifGetNewNode (SdifListNStockT *Stock);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifGetNewNode          (SdifListNStockT *Stock);

Back to the top of SDIF


void SdifPutNodeInTrash (SdifListNStockT *Stock, SdifListNT* OldNode);

#include "SdifList.h"

No documentation available.

void        SdifPutNodeInTrash      (SdifListNStockT *Stock, SdifListNT* OldNode);

Back to the top of SDIF


SdifListNT* SdifKillListNStock (SdifListNT* OldStock);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifKillListNStock      (SdifListNT* OldStock);

Back to the top of SDIF


void SdifListNStockMakeEmpty (SdifListNStockT *Stock);

#include "SdifList.h"

No documentation available.

void        SdifListNStockMakeEmpty (SdifListNStockT *Stock);

Back to the top of SDIF


SdifListNStockT* SdifListNodeStock (void);

#include "SdifList.h"

No documentation available.

SdifListNStockT* SdifListNodeStock  (void);

Back to the top of SDIF


void SdifInitListNodeStock (unsigned int SizeOfOneStock);

#include "SdifList.h"

No documentation available.

void    SdifInitListNodeStock       (unsigned int SizeOfOneStock);

Back to the top of SDIF


void SdifDrainListNodeStock (void);

#include "SdifList.h"

No documentation available.

void    SdifDrainListNodeStock      (void);

Back to the top of SDIF


SdifListNT* SdifCreateListNode (SdifListNT *Next, void *Data);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifCreateListNode  (SdifListNT *Next, void *Data);

Back to the top of SDIF


SdifListNT* SdifKillListNode (SdifListNT *Node, KillerFT Killer);

#include "SdifList.h"

No documentation available.

SdifListNT* SdifKillListNode    (SdifListNT *Node, KillerFT Killer);

Back to the top of SDIF


typedef struct SdifListS SdifListT;

#include "SdifList.h"

No documentation available.

typedef struct SdifListS SdifListT;

Back to the top of SDIF


typedef SdifListT *SdifListP;

#include "SdifList.h"

No documentation available.

typedef SdifListT	*SdifListP;

Back to the top of SDIF


struct SdifListS ;

#include "SdifList.h"

No documentation available.

struct SdifListS
{
  /* fifo list */
  SdifListNT *Head;
  SdifListNT *Tail;
  SdifListNT *Curr;  /* pointer before the next */
  void (*Killer)();  /* no verification of arguments */
  unsigned int NbData;
} ;

Back to the top of SDIF


SdifListT* SdifCreateList (KillerFT Killer);

#include "SdifList.h"

No documentation available.

SdifListT*  SdifCreateList      (KillerFT Killer);

Back to the top of SDIF


SdifListT* SdifKillListHead (SdifListT* List);

#include "SdifList.h"

No documentation available.

SdifListT*  SdifKillListHead    (SdifListT* List);

Back to the top of SDIF


SdifListT* SdifMakeEmptyList (SdifListT* List);

#include "SdifList.h"

No documentation available.

SdifListT*  SdifMakeEmptyList   (SdifListT* List);

Back to the top of SDIF


void SdifKillList (SdifListT* List);

#include "SdifList.h"

No documentation available.

void        SdifKillList        (SdifListT* List);

Back to the top of SDIF


void* SdifListGetHead (SdifListT* List);

#include "SdifList.h"

DOC: Init the function SdifListGetNext. [Return] head of List.

void*       SdifListGetHead     (SdifListT* List); 

Back to the top of SDIF


void* SdifListGetTail (SdifListT* List);

#include "SdifList.h"

No documentation available.

void*       SdifListGetTail     (SdifListT* List);

Back to the top of SDIF


int SdifListIsNext (SdifListT* List);

#include "SdifList.h"

No documentation available.

int         SdifListIsNext      (SdifListT* List);

Back to the top of SDIF


int SdifListIsEmpty (SdifListT* List);

#include "SdifList.h"

No documentation available.

int         SdifListIsEmpty     (SdifListT* List);

Back to the top of SDIF


int SdifListInitLoop (SdifListT* List);

#include "SdifList.h"

DOC: Init for function SdifListGetNext. [Returns] true if List has elements.

int         SdifListInitLoop    (SdifListT* List);

Back to the top of SDIF


void* SdifListGetNext (SdifListT* List);

#include "SdifList.h"

DOC: Set Curr to Curr->Next and after return Curr->Data

void*       SdifListGetNext     (SdifListT* List);

Back to the top of SDIF


void* SdifListGetCurr (SdifListT* List);

#include "SdifList.h"

DOC: Only return Curr->Data.

void*       SdifListGetCurr     (SdifListT* List);

Back to the top of SDIF


SdifListT* SdifListPutTail (SdifListT* List, void *pData);

#include "SdifList.h"

No documentation available.

SdifListT*  SdifListPutTail     (SdifListT* List, void *pData);

Back to the top of SDIF


SdifListT* SdifListPutHead (SdifListT* List, void *pData);

#include "SdifList.h"

No documentation available.

SdifListT*  SdifListPutHead     (SdifListT* List, void *pData);

Back to the top of SDIF


unsigned int SdifListGetNbData (SdifListT* List);

#include "SdifList.h"

No documentation available.

unsigned int SdifListGetNbData  (SdifListT* List);

Back to the top of SDIF


typedef struct SdifMatrixHeaderS SdifMatrixHeaderT;

#include "SdifMatrix.h"

No documentation available.

typedef struct SdifMatrixHeaderS SdifMatrixHeaderT;

Back to the top of SDIF


struct SdifMatrixHeaderS ;

#include "SdifMatrix.h"

No documentation available.

struct SdifMatrixHeaderS
{
  SdifSignature  Signature;
  SdifDataTypeET DataType; /* Low level data type */
  SdifUInt4      NbRow;
  SdifUInt4      NbCol;
} ;

Back to the top of SDIF


typedef union DataTypeU DataTypeUT;

#include "SdifMatrix.h"

No documentation available.

typedef union DataTypeU DataTypeUT;

Back to the top of SDIF


SdifFloat4 *Float4;

#include "SdifMatrix.h"

No documentation available.

  SdifFloat4 *Float4;

Back to the top of SDIF


SdifFloat8 *Float8;

#include "SdifMatrix.h"

No documentation available.

  SdifFloat8 *Float8;

Back to the top of SDIF


SdifInt2 *Int2 ;

#include "SdifMatrix.h"

No documentation available.

  SdifInt2   *Int2  ;

Back to the top of SDIF


SdifInt4 *Int4 ;

#include "SdifMatrix.h"

No documentation available.

  SdifInt4   *Int4  ;

Back to the top of SDIF


SdifUInt2 *UInt2 ;

#include "SdifMatrix.h"

No documentation available.

  SdifUInt2  *UInt2 ;

Back to the top of SDIF


SdifUInt4 *UInt4 ;

#include "SdifMatrix.h"

No documentation available.

  SdifUInt4  *UInt4 ;

Back to the top of SDIF


SdifChar *Char ;

#include "SdifMatrix.h"

No documentation available.

  SdifChar   *Char  ;

Back to the top of SDIF


void *Void ;

#include "SdifMatrix.h"

No documentation available.

  void	     *Void  ;	/* generic pointer */

Back to the top of SDIF


typedef struct SdifOneRowS SdifOneRowT;

#include "SdifMatrix.h"

No documentation available.

typedef struct SdifOneRowS SdifOneRowT;

Back to the top of SDIF


struct SdifOneRowS ;

#include "SdifMatrix.h"

No documentation available.

struct SdifOneRowS
{
  SdifDataTypeET DataType;
  SdifUInt4      NbData;
  DataTypeUT     Data;
  SdifUInt4      NbGranuleAlloc;
} ;

Back to the top of SDIF


typedef struct SdifMatrixDataS SdifMatrixDataT;

#include "SdifMatrix.h"

No documentation available.

typedef struct SdifMatrixDataS SdifMatrixDataT;

Back to the top of SDIF


struct SdifMatrixDataS ;

#include "SdifMatrix.h"

No documentation available.

struct SdifMatrixDataS
{
  SdifMatrixHeaderT *Header;
  SdifOneRowT       **Rows;
  SdifUInt4         Size;
} ;

Back to the top of SDIF


SdifMatrixHeaderT* SdifCreateMatrixHeader (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);

#include "SdifMatrix.h"

No documentation available.

SdifMatrixHeaderT* SdifCreateMatrixHeader    (SdifSignature Signature, 
					      SdifDataTypeET DataType,
					      SdifUInt4 NbRow, 
					      SdifUInt4 NbCol);

Back to the top of SDIF


SdifMatrixHeaderT* SdifCreateMatrixHeaderEmpty (void);

#include "SdifMatrix.h"

No documentation available.

SdifMatrixHeaderT* SdifCreateMatrixHeaderEmpty (void);

Back to the top of SDIF


void SdifKillMatrixHeader (SdifMatrixHeaderT *MatrixHeader);

#include "SdifMatrix.h"

No documentation available.

void               SdifKillMatrixHeader        (SdifMatrixHeaderT *MatrixHeader);

Back to the top of SDIF


SdifOneRowT* SdifCreateOneRow (SdifDataTypeET DataType, SdifUInt4 NbGranuleAlloc);

#include "SdifMatrix.h"

No documentation available.

SdifOneRowT*       SdifCreateOneRow          (SdifDataTypeET DataType, SdifUInt4  NbGranuleAlloc);

Back to the top of SDIF


SdifOneRowT* SdifReInitOneRow (SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData);

#include "SdifMatrix.h"

No documentation available.

SdifOneRowT*       SdifReInitOneRow          (SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData);

Back to the top of SDIF


void SdifKillOneRow (SdifOneRowT *OneRow);

#include "SdifMatrix.h"

No documentation available.

void               SdifKillOneRow            (SdifOneRowT *OneRow);

Back to the top of SDIF


SdifOneRowT* SdifOneRowPutValue (SdifOneRowT *OneRow, SdifUInt4 numCol, SdifFloat8 Value);

#include "SdifMatrix.h"

No documentation available.

SdifOneRowT*       SdifOneRowPutValue        (SdifOneRowT *OneRow, SdifUInt4 numCol, SdifFloat8 Value);

Back to the top of SDIF


SdifFloat8 SdifOneRowGetValue (SdifOneRowT *OneRow, SdifUInt4 numCol);

#include "SdifMatrix.h"

No documentation available.

SdifFloat8         SdifOneRowGetValue        (SdifOneRowT *OneRow, SdifUInt4 numCol);

Back to the top of SDIF


SdifFloat8 SdifOneRowGetValueColName (SdifOneRowT *OneRow, SdifMatrixTypeT *MatrixType, char * NameCD);

#include "SdifMatrix.h"

No documentation available.

SdifFloat8         SdifOneRowGetValueColName (SdifOneRowT *OneRow, SdifMatrixTypeT *MatrixType, char * NameCD);

Back to the top of SDIF


SdifMatrixDataT* SdifCreateMatrixData (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);

#include "SdifMatrix.h"

No documentation available.

SdifMatrixDataT*   SdifCreateMatrixData      (SdifSignature Signature, SdifDataTypeET DataType,
						     SdifUInt4 NbRow, SdifUInt4 NbCol);

Back to the top of SDIF


void SdifKillMatrixData (SdifMatrixDataT *MatrixData);

#include "SdifMatrix.h"

No documentation available.

void               SdifKillMatrixData        (SdifMatrixDataT *MatrixData);

Back to the top of SDIF


SdifMatrixDataT* SdifMatrixDataPutValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol, SdifFloat8 Value);

#include "SdifMatrix.h"

No documentation available.

SdifMatrixDataT*   SdifMatrixDataPutValue    (SdifMatrixDataT *MatrixData,
						     SdifUInt4  numRow, SdifUInt4  numCol, SdifFloat8 Value);

Back to the top of SDIF


SdifFloat8 SdifMatrixDataGetValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol);

#include "SdifMatrix.h"

No documentation available.

SdifFloat8         SdifMatrixDataGetValue    (SdifMatrixDataT *MatrixData,
						     SdifUInt4  numRow, SdifUInt4  numCol);

Back to the top of SDIF


typedef struct SdifColumnDefS SdifColumnDefT;

#include "SdifMatrixType.h"

No documentation available.

typedef struct SdifColumnDefS SdifColumnDefT;

Back to the top of SDIF


struct SdifColumnDefS ;

#include "SdifMatrixType.h"

No documentation available.

struct SdifColumnDefS
{
  char *Name;
  SdifUInt4 Num;
} ;

Back to the top of SDIF


typedef struct SdifMatrixTypeS SdifMatrixTypeT;

#include "SdifMatrixType.h"

No documentation available.

typedef struct SdifMatrixTypeS SdifMatrixTypeT;

Back to the top of SDIF


struct SdifMatrixTypeS ;

#include "SdifMatrixType.h"

No documentation available.

struct SdifMatrixTypeS
{
  SdifSignature     Signature;

  SdifMatrixTypeT*  MatrixTypePre;

  SdifListT*        ColumnUserList; /* List of columns added by user: 
				       SdifMatrixTypeInsertTailColumn(MatrixTypeT *)
				    */

  SdifUInt4       NbColumnDef; /* Number of columns created by user:
				  SdifMatrixTypeInsertTailColumn(MatrixTypeT *)
			       */
  SdifModifModeET ModifMode;
};

Back to the top of SDIF


SdifColumnDefT* SdifCreateColumnDef (char *Name, unsigned int Num);

#include "SdifMatrixType.h"

No documentation available.

SdifColumnDefT*  SdifCreateColumnDef (char *Name,  unsigned int Num);

Back to the top of SDIF


void SdifKillColumnDef (void *ColumnDef);

#include "SdifMatrixType.h"

No documentation available.

void             SdifKillColumnDef   (void *ColumnDef);

Back to the top of SDIF


SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature, SdifMatrixTypeT *PredefinedMatrixType);

#include "SdifMatrixType.h"

DOC: premet de crer un objet 'type de matrice'. Le premier argument est la signature de ce type. Le second est l'objet 'type de matrice' prdfini dans SDIF.

Important: Tous les types de matrices ou de frames utiliss dans une instance de SdifFileT doivent tre ajouts aux tables de cette instance, de faon a crer le lien avec les types prdfinis. L'hors de la lecture des enttes avec les fonctions SdifFReadMatrixHeader et SdifFReadFrameHeader, cette mise jour se fait automatiquement l'aide des fonctions SdifTestMatrixType et SdifTestFrameType.

SdifMatrixTypeT* SdifCreateMatrixType              (SdifSignature Signature,
                    							   SdifMatrixTypeT *PredefinedMatrixType);

Back to the top of SDIF


void SdifKillMatrixType (SdifMatrixTypeT *MatrixType);

#include "SdifMatrixType.h"

No documentation available.

void             SdifKillMatrixType                (SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);

#include "SdifMatrixType.h"

DOC: permet d'ajouter une colonne un type (toujours la dernire colonne).

SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);

Back to the top of SDIF


SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);

#include "SdifMatrixType.h"

DOC: renvoie la position de la colonne de nom NameCD. (0 si elle n'existe pas)

SdifUInt4        SdifMatrixTypeGetNumColumnDef     (SdifMatrixTypeT *MatrixType, char *NameCD);

Back to the top of SDIF


SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);

#include "SdifMatrixType.h"

DOC: renvoie la dfinition de la colonne (numro, nom) en fonction du nom.(NULL si introuvable)

SdifColumnDefT*  SdifMatrixTypeGetColumnDef        (SdifMatrixTypeT *MatrixType, char *NameCD);

Back to the top of SDIF


SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);

#include "SdifMatrixType.h"

DOC: renvoie la dfinition de la colonne (numro, nom) en fonction du numero.(NULL si introuvable)

SdifColumnDefT*  SdifMatrixTypeGetNthColumnDef     (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);

Back to the top of SDIF


SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable, SdifSignature Signature);

#include "SdifMatrixType.h"

DOC: renvoie le type de matrice en fonction de la Signature. Renvoie NULL si le type est introuvable. Attention, si Signature est la signature d'un type prdfini, SdifGetMatrixType(SdifF->MatrixTypeTable,Signature) renvoie NULL si le lien avec entre SdifF et gSdifPredefinedType n'a pas t mis jour.

SdifMatrixTypeT* SdifGetMatrixType		   (SdifHashTableT *MatrixTypesTable, 
						    SdifSignature Signature);

Back to the top of SDIF


void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);

#include "SdifMatrixType.h"

DOC: permet d'ajouter un type de matrice dans une table.

void             SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);

Back to the top of SDIF


SdifUInt2 SdifExistUserMatrixType(SdifHashTableT *MatrixTypesTable);

#include "SdifMatrixType.h"

No documentation available.

SdifUInt2        SdifExistUserMatrixType(SdifHashTableT *MatrixTypesTable);

Back to the top of SDIF


typedef struct SdifBlockNodeS SdifBlockNodeT;

#include "SdifMemory.h"

No documentation available.

typedef struct SdifBlockNodeS SdifBlockNodeT;

Back to the top of SDIF


struct SdifBlockNodeS ;

#include "SdifMemory.h"

No documentation available.

struct SdifBlockNodeS
{
    SdifBlockNodeT*   Next;
    char	    file[_SdifMrNameSize];
    int		    line;
    char	    type[_SdifMrNameSize];
    void*	    ptr;
    size_t	    size;
    size_t	    nbobj;
};

Back to the top of SDIF


typedef struct SdifBlockListS SdifBlockListT;

#include "SdifMemory.h"

No documentation available.

typedef struct SdifBlockListS SdifBlockListT;

Back to the top of SDIF


struct SdifBlockListS ;

#include "SdifMemory.h"

No documentation available.

struct SdifBlockListS
{
    SdifBlockNodeT* Alloc;
    size_t	    BytesAlloc;
    size_t	    BytesTotalAlloc;
    size_t	    BytesDeAlloc;
};

Back to the top of SDIF


char *SdifMrType;

#include "SdifMemory.h"

No documentation available.

char *SdifMrType;

Back to the top of SDIF


SdifBlockNodeT* SdifCreateBlockNode (SdifBlockNodeT* Next, char *file, int line, char* type, void* ptr, size_t size, size_t nobj);

#include "SdifMemory.h"

No documentation available.

SdifBlockNodeT*	SdifCreateBlockNode	(SdifBlockNodeT* Next, char *file, int line, char* type, void* ptr, size_t size, size_t nobj);

Back to the top of SDIF


SdifBlockNodeT* SdifKillBlockNode (SdifBlockNodeT* BlockNode);

#include "SdifMemory.h"

No documentation available.

SdifBlockNodeT*	SdifKillBlockNode	(SdifBlockNodeT* BlockNode);

Back to the top of SDIF


void SdifPrintBlockNode (int sizealloc, char* mess, SdifBlockNodeT* BlockNode);

#include "SdifMemory.h"

No documentation available.

void		SdifPrintBlockNode	(int sizealloc, char* mess, SdifBlockNodeT* BlockNode);

Back to the top of SDIF


void* SdifMr_alloc (SdifBlockListT* L, size_t size, size_t nobj);

#include "SdifMemory.h"

No documentation available.

void*		SdifMr_alloc		(SdifBlockListT* L, size_t size, size_t nobj);

Back to the top of SDIF


size_t SdifMr_free (SdifBlockListT* L, void* ptr);

#include "SdifMemory.h"

No documentation available.

size_t		SdifMr_free		(SdifBlockListT* L, void* ptr);

Back to the top of SDIF


void* SdifMr_realloc (SdifBlockListT* L, void* oldptr, size_t size, size_t nobj);

#include "SdifMemory.h"

No documentation available.

void*		SdifMr_realloc		(SdifBlockListT* L, void* oldptr, size_t size, size_t nobj);

Back to the top of SDIF


void SdifMrDrainBlockList (SdifBlockListT* L);

#include "SdifMemory.h"

No documentation available.

void		SdifMrDrainBlockList	(SdifBlockListT* L);

Back to the top of SDIF


typedef struct SdifNameValueS SdifNameValueT;

#include "SdifNameValue.h"

No documentation available.

typedef struct SdifNameValueS SdifNameValueT;

Back to the top of SDIF


struct SdifNameValueS ;

#include "SdifNameValue.h"

No documentation available.

struct SdifNameValueS
{
  char *Name;
  char *Value;
} ;

Back to the top of SDIF


SdifNameValueT* SdifCreateNameValue(const char *Name, const char *Value);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueT* SdifCreateNameValue(const char *Name,  const char *Value);

Back to the top of SDIF


void SdifKillNameValue(SdifNameValueT *NameValue);

#include "SdifNameValue.h"

No documentation available.

void            SdifKillNameValue(SdifNameValueT *NameValue);

Back to the top of SDIF


typedef struct SdifNameValueTableS SdifNameValueTableT;

#include "SdifNameValue.h"

No documentation available.

typedef struct SdifNameValueTableS SdifNameValueTableT;

Back to the top of SDIF


struct SdifNameValueTableS ;

#include "SdifNameValue.h"

No documentation available.

struct SdifNameValueTableS
{
    SdifHashTableT* NVHT;
    SdifUInt4       NumTable;
    SdifUInt4       StreamID;	/* id of stream the table belongs to */
} ;

Back to the top of SDIF


SdifNameValueTableT* SdifCreateNameValueTable( SdifUInt4 StreamID, SdifUInt4 HashSize, SdifUInt4 NumTable);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueTableT* SdifCreateNameValueTable(  SdifUInt4 StreamID, 
                                                SdifUInt4 HashSize, 
						SdifUInt4 NumTable);

Back to the top of SDIF


void SdifKillNameValueTable (void* NVTable);

#include "SdifNameValue.h"

No documentation available.

void            SdifKillNameValueTable          (void* NVTable);

Back to the top of SDIF


SdifNameValueT* SdifNameValueTableGetNV (SdifNameValueTableT* NVTable, const char *Name);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueT* SdifNameValueTableGetNV         (SdifNameValueTableT* NVTable, const char *Name);

Back to the top of SDIF


SdifNameValueT* SdifNameValueTablePutNV (SdifNameValueTableT* NVTable, const char *Name, const char *Value);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueT* SdifNameValueTablePutNV         (SdifNameValueTableT* NVTable, const char *Name,  const char *Value);

Back to the top of SDIF


SdifFloat8 SdifNameValueTableGetTime (SdifNameValueTableT* NVTable);

#include "SdifNameValue.h"

No documentation available.

SdifFloat8      SdifNameValueTableGetTime       (SdifNameValueTableT* NVTable);

Back to the top of SDIF


SdifUInt4 SdifNameValueTableGetNumTable (SdifNameValueTableT* NVTable);

#include "SdifNameValue.h"

No documentation available.

SdifUInt4       SdifNameValueTableGetNumTable   (SdifNameValueTableT* NVTable);

Back to the top of SDIF


SdifUInt4 SdifNameValueTableGetStreamID (SdifNameValueTableT* NVTable);

#include "SdifNameValue.h"

No documentation available.

SdifUInt4       SdifNameValueTableGetStreamID  (SdifNameValueTableT* NVTable);

Back to the top of SDIF


typedef struct SdifNameValuesLS SdifNameValuesLT;

#include "SdifNameValue.h"

No documentation available.

typedef struct SdifNameValuesLS SdifNameValuesLT;

Back to the top of SDIF


struct SdifNameValuesLS ;

#include "SdifNameValue.h"

No documentation available.

struct SdifNameValuesLS
{
    SdifListT*              NVTList;
    SdifNameValueTableT*    CurrNVT;
    SdifUInt4               HashSize;
};

Back to the top of SDIF


SdifNameValuesLT* SdifCreateNameValuesL (SdifUInt4 HashSize);

#include "SdifNameValue.h"

No documentation available.

SdifNameValuesLT*   SdifCreateNameValuesL       (SdifUInt4  HashSize);

Back to the top of SDIF


void SdifKillNameValuesL (SdifNameValuesLT *NameValuesL);

#include "SdifNameValue.h"

No documentation available.

void                SdifKillNameValuesL         (SdifNameValuesLT *NameValuesL);

Back to the top of SDIF


SdifNameValuesLT* SdifNameValuesLNewTable (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID);

#include "SdifNameValue.h"

DOC: Cette fonction permet d'ajouter une nouvelle NVT dans la liste de tables passe par argument: SdifNameValuesLNewHT(SdifF->NamefValues);
Attention, l'ouverture de SdifF, il n'y a aucune table dans SdifF->NamefValues. Il faudra donc au moins en ajouter une pour pouvoir y mettre des NameValue.

SdifNameValuesLT*   SdifNameValuesLNewTable     (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID);

Back to the top of SDIF


SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);

#include "SdifNameValue.h"

DOC: Cette fonction permet de dfinir la nime NVT de la liste des tables comme NVT courante.

SdifNameValueTableT*SdifNameValuesLSetCurrNVT   (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);

Back to the top of SDIF


SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name);

#include "SdifNameValue.h"

DOC: Cette fonction permet de rcuprer une Name-Value de la liste des NVTs en passant le Name en argument. Dans le cas ou Name est rfrenc dans plusieurs NVT, alors c'est la premire NVT le contenant qui sera prise en compte. Le pointeur retourn est de type SdifNameValueT qui contient deux champs: Name et Value.

SdifNameValueT*     SdifNameValuesLGet          (SdifNameValuesLT *NameValuesL, char *Name);

Back to the top of SDIF


SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name);

#include "SdifNameValue.h"

DOC: Cette fonction ralise aussi une requte en fonction de Name mais uniquement dans la NVT courante.

SdifNameValueT*     SdifNameValuesLGetCurrNVT   (SdifNameValuesLT *NameValuesL, const char *Name);

Back to the top of SDIF


SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);

#include "SdifNameValue.h"

DOC: Cette fonction permet d'ajouter une NameValue table courante qui est la dernire table cre ou celle dfinie en tant que table courante. Name et Value doivent tre des chaines caractres ASCII sans espacements.

SdifNameValueT*     SdifNameValuesLPutCurrNVT   (SdifNameValuesLT *NameValuesL, const char *Name,  const char *Value);

Back to the top of SDIF


SdifUInt2 SdifNameValuesLIsNotEmpty (SdifNameValuesLT *NameValuesL);

#include "SdifNameValue.h"

No documentation available.

SdifUInt2           SdifNameValuesLIsNotEmpty   (SdifNameValuesLT *NameValuesL);

Back to the top of SDIF


SdifNameValuesLT* SdifNameValuesLNewHT (SdifNameValuesLT *NameValuesL);

#include "SdifNameValue.h"

No documentation available.

SdifNameValuesLT*   SdifNameValuesLNewHT    (SdifNameValuesLT *NameValuesL);

Back to the top of SDIF


SdifHashTableT* SdifNameValuesLSetCurrHT(SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrHT);

#include "SdifNameValue.h"

No documentation available.

SdifHashTableT*     SdifNameValuesLSetCurrHT(SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrHT);

Back to the top of SDIF


SdifNameValueT* SdifNameValuesLGetCurrHT(SdifNameValuesLT *NameValuesL, char *Name);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueT*     SdifNameValuesLGetCurrHT(SdifNameValuesLT *NameValuesL, char *Name);

Back to the top of SDIF


SdifNameValueT* SdifNameValuesLPutCurrHT(SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);

#include "SdifNameValue.h"

No documentation available.

SdifNameValueT*     SdifNameValuesLPutCurrHT(SdifNameValuesLT *NameValuesL, const char *Name,  const char *Value);

Back to the top of SDIF


SdifFrameTypeT* CreateF_1FOB(void);

#include "SdifPreTypes.h"

No documentation available.

SdifFrameTypeT* CreateF_1FOB(void);

Back to the top of SDIF


SdifFrameTypeT* CreateF_1REB(void);

#include "SdifPreTypes.h"

No documentation available.

SdifFrameTypeT* CreateF_1REB(void);

Back to the top of SDIF


SdifFrameTypeT* CreateF_1NOI(void);

#include "SdifPreTypes.h"

No documentation available.

SdifFrameTypeT* CreateF_1NOI(void);

Back to the top of SDIF


void SdifCreatePredefinedTypes(SdifHashTableT *MatrixTypesHT, SdifHashTableT *FrameTypesHT);

#include "SdifPreTypes.h"

No documentation available.

void SdifCreatePredefinedTypes(SdifHashTableT *MatrixTypesHT,
                                      SdifHashTableT *FrameTypesHT);

Back to the top of SDIF


void SdifPrintMatrixType(FILE *fw, SdifMatrixTypeT *MatrixType);

#include "SdifPrint.h"

************** Matrix Type **************

void SdifPrintMatrixType(FILE *fw, SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


void SdifPrintAllMatrixType(FILE *fw, SdifFileT *SdifF);

#include "SdifPrint.h"

No documentation available.

void SdifPrintAllMatrixType(FILE *fw, SdifFileT *SdifF);

Back to the top of SDIF


void SdifPrintFrameType(FILE *fw, SdifFrameTypeT *FrameType);

#include "SdifPrint.h"

************** Frame Type **************

void SdifPrintFrameType(FILE *fw, SdifFrameTypeT *FrameType);

Back to the top of SDIF


void SdifPrintAllFrameType(FILE *fw, SdifFileT *SdifF);

#include "SdifPrint.h"

No documentation available.

void SdifPrintAllFrameType(FILE *fw, SdifFileT *SdifF);

Back to the top of SDIF


void SdifPrintMatrixHeader(FILE *f, SdifMatrixHeaderT *MatrixHeader);

#include "SdifPrint.h"

********* Matrix *********

void SdifPrintMatrixHeader(FILE *f, SdifMatrixHeaderT *MatrixHeader);

Back to the top of SDIF


void SdifPrintOneRow(FILE *f, SdifOneRowT *OneRow);

#include "SdifPrint.h"

No documentation available.

void SdifPrintOneRow(FILE *f, SdifOneRowT *OneRow);

Back to the top of SDIF


void SdifPrintMatrixRows(FILE* f, SdifMatrixDataT *MatrixData);

#include "SdifPrint.h"

No documentation available.

void SdifPrintMatrixRows(FILE* f, SdifMatrixDataT *MatrixData);

Back to the top of SDIF


void SdifPrintFrameHeader(FILE *f, SdifFrameHeaderT* FrameHeader);

#include "SdifPrint.h"

********* Frame **********

void SdifPrintFrameHeader(FILE *f, SdifFrameHeaderT* FrameHeader);

Back to the top of SDIF


void SdifPrintAllType(FILE *fw, SdifFileT *SdifF);

#include "SdifPrint.h"

*********** High **********

void SdifPrintAllType(FILE *fw, SdifFileT *SdifF);

Back to the top of SDIF


size_t Sdiffread (void *ptr, size_t size, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t Sdiffread  (void *ptr, size_t size, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t Sdiffwrite (void *ptr, size_t size, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t Sdiffwrite (void *ptr, size_t size, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadChar (SdifChar *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

Read, return the number of objects

size_t SdiffReadChar   (SdifChar   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadInt2   (SdifInt2   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadUInt2  (SdifUInt2  *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadInt4   (SdifInt4   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadUInt4  (SdifUInt4  *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffReadFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteChar (SdifChar *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

Write, return the number of objects

size_t SdiffWriteChar   (SdifChar   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteInt2   (SdifInt2   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteUInt2  (SdifUInt2  *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteInt4   (SdifInt4   *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteUInt4  (SdifUInt4  *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteSignature (SdifSignature *Signature, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteSignature (SdifSignature *Signature, FILE *stream);

Back to the top of SDIF


size_t SdiffWriteString (char* ptr, FILE *stream);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffWriteString (char* ptr, FILE *stream);

Back to the top of SDIF


size_t SdiffReadSpace (FILE* fr);

#include "SdifRWLowLevel.h"

fGet --> return the last char

size_t SdiffReadSpace   (FILE* fr);

Back to the top of SDIF


size_t SdiffReadSpacefromSdifString(SdifStringT *SdifString);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffReadSpacefromSdifString(SdifStringT *SdifString);

Back to the top of SDIF


int SdifIsAReservedChar (char c);

#include "SdifRWLowLevel.h"

DOC: Return c if it is a reserved char, -1 otherwise.

int SdifIsAReservedChar (char c);

Back to the top of SDIF


char *SdifStringToNV ( char *str);

#include "SdifRWLowLevel.h"

DOC: Convert str in place so that it doesn't contain any reserved chars (these become '.') or spaces (these become '_').

[] returns str

char *SdifStringToNV (/*in out*/ char *str);

Back to the top of SDIF


int SdiffGetString (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead);

#include "SdifRWLowLevel.h"

SdiffGetString lit un fichier jusqu'a un caractere reserve, ne rempli s que des caracteres non-espacement, renvoie le caractere reserve, saute les premiers caracteres espacement lus. Il y a erreur si fin de fichier ou si un caractere non-espacement et non-reseve est lu apres un caractere espacement. ncMax est typiquement strlen(s)+1.

int SdiffGetString      (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead);

Back to the top of SDIF


int SdiffGetSignature (FILE* fr, SdifSignature *Signature, size_t *NbCharRead);

#include "SdifRWLowLevel.h"

retourne le caractere d'erreur

int SdiffGetSignature   (FILE* fr, SdifSignature *Signature, size_t *NbCharRead);

Back to the top of SDIF


int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);

#include "SdifRWLowLevel.h"

DOC: Function return the signature in a SdifStringT

int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);

Back to the top of SDIF


int SdiffGetWordUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

#include "SdifRWLowLevel.h"

No documentation available.

int SdiffGetWordUntil   (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

Back to the top of SDIF


int SdiffGetWordUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax,char *CharsEnd);

#include "SdifRWLowLevel.h"

DOC: Function return the word until in a SdifStringT

int SdiffGetWordUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax,char *CharsEnd);

Back to the top of SDIF


int SdiffGetStringUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

#include "SdifRWLowLevel.h"

No documentation available.

int SdiffGetStringUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

Back to the top of SDIF


int SdiffGetStringUntilfromSdifString(SdifStringT *SdifString, char *s, size_t ncMax, char *CharsEnd);

#include "SdifRWLowLevel.h"

DOC: Function return the string until in a SdifStringT

int SdiffGetStringUntilfromSdifString(SdifStringT *SdifString, char *s, size_t ncMax,
				      char *CharsEnd);

Back to the top of SDIF


int SdiffGetStringWeakUntil(FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

#include "SdifRWLowLevel.h"

No documentation available.

int SdiffGetStringWeakUntil(FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);

Back to the top of SDIF


int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax, char *CharsEnd);

#include "SdifRWLowLevel.h"

DOC: Return the weak string until in a SdifStringT

int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s,
					  size_t ncMax, char *CharsEnd);

Back to the top of SDIF


int SdifSkipASCIIUntil (FILE* fr, size_t *NbCharRead, char *CharsEnd);

#include "SdifRWLowLevel.h"

No documentation available.

int SdifSkipASCIIUntil  (FILE* fr, size_t *NbCharRead, char *CharsEnd);

Back to the top of SDIF


size_t SdiffScan_TYPE (FILE *stream, Sdif_TYPE *ptr, size_t nobj);

#include "SdifRWLowLevel.h"

scan nobj items of TYPE from stream, return number sucessfully read

size_t SdiffScan_TYPE   (FILE *stream, Sdif_TYPE  *ptr, size_t nobj);

Back to the top of SDIF


size_t SdiffScanFloat4 (FILE *stream, SdifFloat4 *ptr, size_t nobj);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffScanFloat4  (FILE *stream, SdifFloat4 *ptr, size_t nobj);

Back to the top of SDIF


size_t SdiffScanFloat8 (FILE *stream, SdifFloat8 *ptr, size_t nobj);

#include "SdifRWLowLevel.h"

No documentation available.

size_t SdiffScanFloat8  (FILE *stream, SdifFloat8 *ptr, size_t nobj);

Back to the top of SDIF


SdifSignature SdifStringToSignature (char *str);

#include "SdifRWLowLevel.h"

DOC: Convert a string to an SDIF signature (in proper endianness). str can point to any string position of any length.

SdifSignature SdifStringToSignature (char *str);

Back to the top of SDIF


typedef enum SdifSelectTokens;

#include "SdifSelect.h"

tokens (numerical ids) for sdifspec separators

typedef enum { sst_specsep, sst_stream, sst_frame, sst_matrix, sst_column, 
	       sst_row,     sst_time,   sst_list,  sst_range,  sst_delta,
	       sst_num,	/* number of tokens */	   sst_norange = 0
} SdifSelectTokens;

Back to the top of SDIF


typedef struct SdifSelectElementIntT;

#include "SdifSelect.h"

DOC: Selection element interface (returned by SdifGetNextSelection*): One basic data element value, with optional range. The meaning of range is determined by rangetype:

[] 0 no range [] sst_range range is value..range [] sst_delta range is value-range..value+range

typedef struct 
{
    int		       value, range;
    SdifSelectTokens   rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementIntT;

Back to the top of SDIF


typedef struct SdifSelectElementRealT;

#include "SdifSelect.h"

No documentation available.

typedef struct 
{
    double	       value, range;
    SdifSelectTokens   rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementRealT;

Back to the top of SDIF


typedef union SdifSelectValueS SdifSelectValueT;

#include "SdifSelect.h"

DOC: Internal: one value of different possible types in a selection element (the element list determines which type is actually used).

typedef union SdifSelectValueS 
{
    int            integer;
    double         real;
    char	   *string;
    SdifSignature  signature;
} SdifSelectValueT;

Back to the top of SDIF


typedef struct SdifSelectElementS SdifSelectElementT, *SdifSelectElementP;

#include "SdifSelect.h"

DOC: Selection element internal data structure: One basic data element, with optional

typedef struct SdifSelectElementS
{
    SdifSelectValueT value;
    SdifSelectValueT range;
    SdifSelectTokens rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementT, *SdifSelectElementP;

Back to the top of SDIF


typedef struct SdifSelectionT;

#include "SdifSelect.h"

DOC: Holds a selection of what data to access in an SDIF file, parsed from a simple regular expression.

typedef struct
{
    char	*filename,	/* allocated / freed by 
				   SdifInitSelection / SdifFreeSelection */
		*basename;	/* points into filename */
    SdifListP	stream, frame, matrix, column, row, time;
} SdifSelectionT;

Back to the top of SDIF


char *SdifBaseName (const char* inPathFileName);

#include "SdifSelect.h"

DOC: Return pointer to start of filename component in path inPathFileName.

char *SdifBaseName (const char* inPathFileName);

Back to the top of SDIF


int SdifInitSelect (void);

#include "SdifSelect.h"

init module, called by SdifGenInit

int SdifInitSelect (void);

Back to the top of SDIF


SdifSelectionT *SdifCreateSelection (void);

#include "SdifSelect.h"

DOC: Allocate space for an sdif selection.

SdifSelectionT *SdifCreateSelection (void);

Back to the top of SDIF


int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);

#include "SdifSelect.h"

No documentation available.

int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);

Back to the top of SDIF


int SdifFreeSelection (SdifSelectionT *sel);

#include "SdifSelect.h"

No documentation available.

int SdifFreeSelection (SdifSelectionT *sel);

Back to the top of SDIF


char *SdifSelectFindSelection (const char *filename);

#include "SdifSelect.h"

DOC: Returns pointer to first char of select spec (starting with ::), or NULL if not found.

[in] filename can be NULL

char *SdifSelectFindSelection (const char *filename);

Back to the top of SDIF


char *SdifGetFilenameAndSelection ( const char *filename, SdifSelectionT *sel);

#include "SdifSelect.h"

DOC: SdifGetFilenameAndSelection parses

[in] filename (can be NULL) into [out] sel which must point to an SdifSelectionT structure. [return] a pointer to a copy of the filename part of filename

char *SdifGetFilenameAndSelection (/*in*/  const char *filename, 
				   /*out*/ SdifSelectionT *sel);

Back to the top of SDIF


void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);

#include "SdifSelect.h"

No documentation available.

void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);

Back to the top of SDIF


void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);

#include "SdifSelect.h"

DOC: Create and add one value to selection element list. There are four functions generated automatically, with the meta type-variables _type_ and _datatype_: [] _type_ is one of:
Int, Real, Signature, String, for [] _datatype_ of:
int, double, SdifSignature, char *, respectively.

void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);

Back to the top of SDIF


void SdifSelectAdd_TYPE_Range (SdifListT *list, _datatype_ value, SdifSelectTokens rt, _datatype_ range);

#include "SdifSelect.h"

DOC: Create and add one range to selection element list. There are four functions generated automatically, with the meta type-variables _type_ and _datatype_: [] _type_ is one of:
Int, Real, Signature, String, for [] _datatype_ of:
int, double, SdifSignature, char *, respectively.

void SdifSelectAdd_TYPE_Range (SdifListT *list, 
			       _datatype_ value, 
			       SdifSelectTokens rt, 
			       _datatype_ range);

Back to the top of SDIF


void SdifSelectAddIntRange (SdifListT *list, int value, SdifSelectTokens rt, int range) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddIntRange (SdifListT *list, int value, SdifSelectTokens rt, int range) ; 

Back to the top of SDIF


void SdifSelectAddReal (SdifListT *list, double value) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddReal (SdifListT *list, double value) ; 

Back to the top of SDIF


void SdifSelectAddRealRange (SdifListT *list, double value, SdifSelectTokens rt, double range) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddRealRange (SdifListT *list,                                   double value, SdifSelectTokens rt, double range) ; 

Back to the top of SDIF


void SdifSelectAddSignature (SdifListT *list, SdifSignature value) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddSignature (SdifListT *list, SdifSignature value) ; 

Back to the top of SDIF


void SdifSelectAddSignatureRange (SdifListT *list, SdifSignature value, SdifSelectTokens rt, SdifSignature range) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddSignatureRange (SdifListT *list, SdifSignature value, SdifSelectTokens rt,   SdifSignature range) ; 

Back to the top of SDIF


void SdifSelectAddString (SdifListT *list, char * value) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddString (SdifListT *list, char * value) ; 

Back to the top of SDIF


void SdifSelectAddStringRange (SdifListT *list, char * value, SdifSelectTokens rt, char * range) ;

#include "SdifSelect.h"

No documentation available.

void SdifSelectAddStringRange (SdifListT *list, char * value, SdifSelectTokens rt,      char * range) ; 

Back to the top of SDIF


int SdifSelectGetNextIntRange ( SdifListP list, SdifSelectElementIntT *range, int force_range);

#include "SdifSelect.h"

DOC: Query parsed ranges (list of ranges) for a selection element (one of the SdifListP lists in SdifSelectionT). Init list traversal with SdifListInitLoop, then call SdifSelectGetNext(list) until it returns 0.

The number of selections in the list is SdifListGetNbData(list), if it is 0, or SdifListIsEmpty(list) is true, then there was no selection for that element.

If force_range is 1, the out value is converted to a range in any case, with value <= range guaranteed.

int SdifSelectGetNextIntRange  (/*in*/  SdifListP list, 
				/*out*/ SdifSelectElementIntT  *range, 
				/*in*/  int force_range);

Back to the top of SDIF


int SdifSelectGetNextRealRange ( SdifListP list, SdifSelectElementRealT *range, int force_range);

#include "SdifSelect.h"

DOC: See SdifSelectGetNextInt.

int SdifSelectGetNextRealRange (/*in*/  SdifListP list, 
				/*out*/ SdifSelectElementRealT *range, 
				/*in*/  int force_range);

Back to the top of SDIF


SdifSignature SdifSelectGetNextSignature ( SdifListP list);

#include "SdifSelect.h"

DOC: Query list of parsed selection elements (one of the SdifListP lists in SdifSelectionT). Init list traversal with SdifListInitLoop, then call SdifSelectGetNext(list) until it returns 0.

See also SdifSelectGetNextInt.

SdifSignature  SdifSelectGetNextSignature (/*in*/  SdifListP list);

Back to the top of SDIF


char *SdifSelectGetNextString ( SdifListP list);

#include "SdifSelect.h"

DOC: See SdifSelectGetNextSignature.

char	      *SdifSelectGetNextString    (/*in*/  SdifListP list);

Back to the top of SDIF


int SdifSelectGetFirstInt (SdifListP l, int defval);

#include "SdifSelect.h"

DOC: Return value of first selection (ignoring range).

int	       SdifSelectGetFirstInt       (SdifListP l, int defval);

Back to the top of SDIF


double SdifSelectGetFirstReal (SdifListP l, double defval);

#include "SdifSelect.h"

No documentation available.

double	       SdifSelectGetFirstReal      (SdifListP l, double defval);

Back to the top of SDIF


char *SdifSelectGetFirstString (SdifListP l, char *defval);

#include "SdifSelect.h"

No documentation available.

char	      *SdifSelectGetFirstString    (SdifListP l, char *defval);

Back to the top of SDIF


SdifSignature SdifSelectGetFirstSignature (SdifListP l, SdifSignature defval);

#include "SdifSelect.h"

No documentation available.

SdifSignature  SdifSelectGetFirstSignature (SdifListP l, SdifSignature defval);

Back to the top of SDIF


int SdifSelectTestIntRange (SdifSelectElementT *elem, int cand);

#include "SdifSelect.h"

FUNCTION GROUP: Selection Testing Functions

int SdifSelectTestIntRange  (SdifSelectElementT *elem, int cand);

Back to the top of SDIF


int SdifSelectTestRealRange (SdifSelectElementT *elem, double cand);

#include "SdifSelect.h"

No documentation available.

int SdifSelectTestRealRange (SdifSelectElementT *elem, double cand);

Back to the top of SDIF


int SdifSelectTestInt (SdifListT *list, int cand);

#include "SdifSelect.h"

No documentation available.

int SdifSelectTestInt (SdifListT *list, int cand);

Back to the top of SDIF


int SdifSelectTestReal (SdifListT *list, double cand);

#include "SdifSelect.h"

No documentation available.

int SdifSelectTestReal (SdifListT *list, double cand);

Back to the top of SDIF


int SdifSelectTestSignature (SdifListT *list, const SdifSignature cand);

#include "SdifSelect.h"

No documentation available.

int SdifSelectTestSignature (SdifListT *list, const SdifSignature cand);

Back to the top of SDIF


int SdifSelectTestString (SdifListT *list, const char *cand);

#include "SdifSelect.h"

No documentation available.

int SdifSelectTestString (SdifListT *list, const char *cand);

Back to the top of SDIF


typedef struct SdifFileS SdifFileT;

#include "SdifSelect.h"

No documentation available.

typedef struct SdifFileS SdifFileT;

Back to the top of SDIF


int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);

#include "SdifSelect.h"

DOC: Test the selection elements from sel applicable to frame FramH: time, stream, frame type.

int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);

Back to the top of SDIF


int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);

#include "SdifSelect.h"

DOC: Test the selection elements from sel applicable to matrix MtrxH: the matrix signature.

int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);

Back to the top of SDIF


int SdifFCurrFrameIsSelected (SdifFileT *file);

#include "SdifSelect.h"

DOC: Test if the current frame header is in the file selection (automatically parsed from the filename). Can be called after SdifFReadFrameHeader().

int SdifFCurrFrameIsSelected (SdifFileT *file);

Back to the top of SDIF


int SdifFCurrMatrixIsSelected (SdifFileT *file);

#include "SdifSelect.h"

DOC: Test if the current matrix header is in the file selection (automatically parsed from the filename). Can be called after SdifFReadMatrixHeader().

int SdifFCurrMatrixIsSelected (SdifFileT *file);

Back to the top of SDIF


typedef struct SdifSignatureTabS SdifSignatureTabT;

#include "SdifSignatureTab.h"

No documentation available.

typedef struct SdifSignatureTabS SdifSignatureTabT;

Back to the top of SDIF


struct SdifSignatureTabS ;

#include "SdifSignatureTab.h"

No documentation available.

struct SdifSignatureTabS
{
  SdifUInt4 NbSignMax;
  SdifUInt4 NbSign;
  SdifSignature* Tab;
};

Back to the top of SDIF


SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);

#include "SdifSignatureTab.h"

DOC: Create table for initially NbSignMax signatures.

SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);

Back to the top of SDIF


void SdifKillSignatureTab (SdifSignatureTabT *SignTab);

#include "SdifSignatureTab.h"

DOC: Free signature table.

void		   SdifKillSignatureTab   (SdifSignatureTabT *SignTab);

Back to the top of SDIF


SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);

#include "SdifSignatureTab.h"

DOC: Reallocate table to hold NewNbSignMax signatures.

SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, 
					   const SdifUInt4 NewNbSignMax);

Back to the top of SDIF


SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);

#include "SdifSignatureTab.h"

DOC: Reallocate table to hold NewNbSignMax signatures and clear signatures.

SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, 
					   const SdifUInt4 NewNbSignMax);

Back to the top of SDIF


SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);

#include "SdifSignatureTab.h"

DOC: Add signature Sign, no overflow check.

SdifSignatureTabT* SdifPutInSignatureTab  (SdifSignatureTabT *SignTab, 
					   const SdifSignature Sign);

Back to the top of SDIF


SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);

#include "SdifSignatureTab.h"

DOC: Add signature Sign, reallocate table if necessary.

SdifSignatureTabT* SdifAddToSignatureTab  (SdifSignatureTabT *SignTab, 
					   const SdifSignature Sign);

Back to the top of SDIF


SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, const int index);

#include "SdifSignatureTab.h"

DOC: Get signature at position index. Returns eEmptySignature if index out of bounds.

SdifSignature      SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, 
					   const int index);

Back to the top of SDIF


SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab, const SdifSignature Sign);

#include "SdifSignatureTab.h"

DOC: Test if signature Sign is in table SignTab. [] Returns Sign if yes, 0 (== eEmptySignature) if no.

SdifSignature      SdifIsInSignatureTab   (const SdifSignatureTabT *SignTab, 
					   const SdifSignature Sign);

Back to the top of SDIF


int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, const SdifSignature Sign);

#include "SdifSignatureTab.h"

DOC: Test if signature Sign is in table SignTab. [] Returns index of Sign if yes, -1 if no.

int		   SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, 
					   const SdifSignature Sign);

Back to the top of SDIF


typedef struct SdifStreamIDS SdifStreamIDT;

#include "SdifStreamID.h"

DOC: Stream ID Table Entry

typedef struct SdifStreamIDS SdifStreamIDT;

Back to the top of SDIF


struct SdifStreamIDS ;

#include "SdifStreamID.h"

No documentation available.

struct SdifStreamIDS
{
  SdifUInt4     NumID;
  char *Source;
  char *TreeWay; /* for the moment or to be general*/
} ;

Back to the top of SDIF


typedef struct SdifStreamIDTableS SdifStreamIDTableT;

#include "SdifStreamID.h"

DOC: Stream ID Table, holds SdifStreamIDT stream ID table entries

typedef struct SdifStreamIDTableS SdifStreamIDTableT;

Back to the top of SDIF


struct SdifStreamIDTableS ;

#include "SdifStreamID.h"

No documentation available.

struct SdifStreamIDTableS
{
    SdifHashTableT* SIDHT;
    SdifUInt4       StreamID;
    SdifFloat8      Time;	/* always _SdifNoTime */
} ;

Back to the top of SDIF


SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay);

#include "SdifStreamID.h"

DOC: Permet de crer un pointeur sur un objet de type StreamIDT.

Exemple dans le cas d'un TreeWay pour chant (non fichier):

void ConsOneStreamID(SdifFileT *SdifF,
		     int        NumID,
		     char      *PatchType,
		     int        NumPatch,
		     char      *ObjType,
		     int        NumObj,
		     int        NbSubObj,
		     float      StartTime,
		     float      EndTime)

SdifStreamIDT* StreamID; char TreeWay[512];

sprintf(TreeWay, "%s/%d/%s/%d/%d/%s/%f", PatchType, NumPatch, ObjType, NumObj, NbSubObj, StartTime, EndTime); StreamID = SdifCreateStreamID(NumID, "Chant", TreeWay);

SdifHashTablePut(SdifF->StreamIDsTable, &(StreamID->NumID), 1, StreamID);

Pour recuperer un StreamID il faut utiliser la fonction SdifHashTableGet

  SdifStreamIDT *StreamID = (SdifStreamIDT*) SdifHashTableGet (SdifF->StreamIDsTable, &NumID, 0);
Le troisime argument n'est pas utilis, car la table est indexe directement par des entiers (cration de la table avec l'option eInt4).

SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay);

Back to the top of SDIF


void SdifKillStreamID(SdifStreamIDT *StreamID);

#include "SdifStreamID.h"

No documentation available.

void           SdifKillStreamID(SdifStreamIDT *StreamID);

Back to the top of SDIF


SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize);

#include "SdifStreamID.h"

DOC: Create a stream ID table. The stream ID table of the SDIF file structure is created automatically by SdifFOpen(). It can be obtained by SdifFStreamIDTable().

SdifStreamIDTableT* SdifCreateStreamIDTable     (SdifUInt4 HashSize);

Back to the top of SDIF


void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable);

#include "SdifStreamID.h"

DOC: Deallocate a stream ID table. The stream ID table of the SDIF file structure is killed automatically by SdifFClose. It can be obtained by SdifFStreamIDTable.

void                SdifKillStreamIDTable       (SdifStreamIDTableT *SIDTable);

Back to the top of SDIF


SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID, char *Source, char *TreeWay);

#include "SdifStreamID.h"

DOC: Add an entry to a stream ID table. The table will be written by SdifFWriteAllASCIIChunks. [in] SIDTable pointer to stream ID table, e.g. obtained by SdifFStreamIDTable [in] NumID stream ID of the frames the stream ID table describes [in] Source Source identifier for the table (ex. "Chant") [in] TreeWay Routing and parameters, separated by slashes [return] The stream ID table entry just created and added

SdifStreamIDT*      SdifStreamIDTablePutSID     (SdifStreamIDTableT *SIDTable,
						 SdifUInt4	     NumID, 
						 char 		    *Source, 
						 char 		    *TreeWay);

Back to the top of SDIF


SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID);

#include "SdifStreamID.h"

DOC: Retrieve an entry to a stream ID table. The table has to have been read by SdifFReadAllASCIIChunks.

[in] SIDTable pointer to stream ID table, e.g. obtained by SdifFStreamIDTable [in] NumID stream ID of the frames the stream ID table describes [return] pointer to stream ID table entry, or NULL if no entry for stream ID NumID exists.

SdifStreamIDT*      SdifStreamIDTableGetSID     (SdifStreamIDTableT *SIDTable, 
						 SdifUInt4	     NumID);

Back to the top of SDIF


SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable);

#include "SdifStreamID.h"

DOC: Return number of entries in stream ID table SIDTable

SdifUInt4           SdifStreamIDTableGetNbData  (SdifStreamIDTableT *SIDTable);

Back to the top of SDIF


SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID);

#include "SdifStreamID.h"

DOC: Return stream ID field in stream ID table entry SID

SdifUInt4	    SdifStreamIDEntryGetSID	(SdifStreamIDT *SID);

Back to the top of SDIF


char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID);

#include "SdifStreamID.h"

DOC: Return source field in stream ID table entry SID

char		   *SdifStreamIDEntryGetSource	(SdifStreamIDT *SID);

Back to the top of SDIF


char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID);

#include "SdifStreamID.h"

DOC: Return "treeway" field in stream ID table entry SID

char		   *SdifStreamIDEntryGetTreeWay	(SdifStreamIDT *SID);

Back to the top of SDIF


typedef struct SdifStringS SdifStringT;

#include "SdifString.h"

No documentation available.

typedef struct SdifStringS SdifStringT;

Back to the top of SDIF


struct SdifStringS ;

#include "SdifString.h"

No documentation available.

struct SdifStringS
{
  char   *str; 
  size_t TotalSize; /* Memory size allocated for str */
  size_t SizeW; /* Memory size actually used */
  int    NbCharRead; /* Number of char read */
};

Back to the top of SDIF


SdifStringT * SdifStringNew(void);

#include "SdifString.h"

DOC: Make a memory allocation for a SdifStringT structure. The size for the string is defined in SdifString.h; define _SdifStringGranule 128.

SdifStringT * SdifStringNew(void);

Back to the top of SDIF


void SdifStringFree(SdifStringT * SdifString);

#include "SdifString.h"

DOC: Free memory allocated for SdifString.

void SdifStringFree(SdifStringT * SdifString);

Back to the top of SDIF


int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);

#include "SdifString.h"

DOC: Append a string to another one. Manage memory reallocation. Return a boolean for the succes of the function's call.

int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);

Back to the top of SDIF


int SdifStringGetC(SdifStringT * SdifString);

#include "SdifString.h"

DOC: Read the current char (= fgetc).

int SdifStringGetC(SdifStringT * SdifString);

Back to the top of SDIF


int SdifStringUngetC(SdifStringT * SdifString);

#include "SdifString.h"

DOC: Equivalent of ungetc

int SdifStringUngetC(SdifStringT * SdifString);

Back to the top of SDIF


int SdifStringIsEOS(SdifStringT *SdifString);

#include "SdifString.h"

DOC: Test the end of the string (= feof)

int SdifStringIsEOS(SdifStringT *SdifString);

Back to the top of SDIF


SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature);

#include "SdifTest.h"

DOC: Cette fonction vrifie si le type de matrice est rpertori dans SdifF.
S'il ne l'est pas, alors elle vrifie si c'est un type prdfinis. S'il est prdfini, elle cre le lien de SdifF vers le type prdfini. Sinon, elle envoie un message sur l'erreur standart.

SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature);

Back to the top of SDIF


SdifFrameTypeT* SdifTestFrameType (SdifFileT *SdifF, SdifSignature Signature);

#include "SdifTest.h"

No documentation available.

SdifFrameTypeT*  SdifTestFrameType  (SdifFileT *SdifF, SdifSignature Signature);

Back to the top of SDIF


int SdifFTestMatrixWithFrameHeader (SdifFileT* SdifF);

#include "SdifTest.h"

No documentation available.

int SdifFTestMatrixWithFrameHeader (SdifFileT* SdifF);

Back to the top of SDIF


int SdifFTestDataType (SdifFileT* SdifF);

#include "SdifTest.h"

No documentation available.

int SdifFTestDataType              (SdifFileT* SdifF);

Back to the top of SDIF


int SdifFTestNbColumns (SdifFileT* SdifF);

#include "SdifTest.h"

No documentation available.

int SdifFTestNbColumns             (SdifFileT* SdifF);

Back to the top of SDIF


int SdifFTestNotEmptyMatrix (SdifFileT* SdifF);

#include "SdifTest.h"

No documentation available.

int SdifFTestNotEmptyMatrix        (SdifFileT* SdifF);

Back to the top of SDIF


int SdifFTestMatrixHeader (SdifFileT* SdifF);

#include "SdifTest.h"

No documentation available.

int SdifFTestMatrixHeader          (SdifFileT* SdifF);

Back to the top of SDIF


SdifColumnDefT* SdifTestColumnDef (SdifFileT *SdifF, SdifMatrixTypeT *MtrxT, char *NameCD);

#include "SdifTest.h"

No documentation available.

SdifColumnDefT*  SdifTestColumnDef (SdifFileT *SdifF, SdifMatrixTypeT *MtrxT, char *NameCD);

Back to the top of SDIF


SdifComponentT* SdifTestComponent (SdifFileT* SdifF, SdifFrameTypeT *FramT, char *NameCD);

#include "SdifTest.h"

No documentation available.

SdifComponentT*  SdifTestComponent (SdifFileT* SdifF, SdifFrameTypeT *FramT, char *NameCD);

Back to the top of SDIF


int SdifTestSignature (SdifFileT *SdifF, int CharEnd, SdifSignature Signature, char *Mess);

#include "SdifTest.h"

No documentation available.

int SdifTestSignature            (SdifFileT *SdifF, int CharEnd, SdifSignature Signature, char *Mess);

Back to the top of SDIF


int SdifTestCharEnd (SdifFileT *SdifF, int CharEnd, char MustBe, char *StringRead, int ErrCondition, char *Mess);

#include "SdifTest.h"

No documentation available.

int SdifTestCharEnd              (SdifFileT *SdifF, int CharEnd, char MustBe,
					   char *StringRead, int ErrCondition, char *Mess);

Back to the top of SDIF


int SdifTestMatrixTypeModifMode (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

#include "SdifTest.h"

No documentation available.

int SdifTestMatrixTypeModifMode  (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);

Back to the top of SDIF


int SdifTestFrameTypeModifMode (SdifFileT *SdifF, SdifFrameTypeT *FrameType);

#include "SdifTest.h"

No documentation available.

int SdifTestFrameTypeModifMode   (SdifFileT *SdifF, SdifFrameTypeT *FrameType);

Back to the top of SDIF


size_t SdifFTextConvMatrixData (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvMatrixData     (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvMatrix (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvMatrix         (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvFrameData (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvFrameData      (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvFrameHeader (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvFrameHeader    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvFrame (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvFrame          (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvAllFrame (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvAllFrame       (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConvFramesChunk (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConvFramesChunk    (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifFTextConv (SdifFileT *SdifF);

#include "SdifTextConv.h"

No documentation available.

size_t SdifFTextConv               (SdifFileT *SdifF);

Back to the top of SDIF


size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);

#include "SdifTextConv.h"

DOC: Converti un fichier SDIF ouvert en lecture (eReadFile) en un fichier texte pseudo-SDIF de nom TextStreamName.

size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);

Back to the top of SDIF


typedef struct SdifTimePositionS SdifTimePositionT;

#include "SdifTimePosition.h"

No documentation available.

typedef struct SdifTimePositionS SdifTimePositionT;

Back to the top of SDIF


struct SdifTimePositionS ;

#include "SdifTimePosition.h"

No documentation available.

struct SdifTimePositionS
{
  SdifFloat8    Time;
  SdiffPosT     Position;
} ;

Back to the top of SDIF


SdifTimePositionT* SdifCreateTimePosition(SdifFloat8 Time, SdiffPosT Position);

#include "SdifTimePosition.h"

No documentation available.

SdifTimePositionT* SdifCreateTimePosition(SdifFloat8 Time, SdiffPosT Position);

Back to the top of SDIF


void SdifKillTimePosition(void* TimePosition);

#include "SdifTimePosition.h"

No documentation available.

void               SdifKillTimePosition(void* TimePosition);

Back to the top of SDIF


typedef struct SdifTimePositionLS SdifTimePositionLT;

#include "SdifTimePosition.h"

No documentation available.

typedef struct SdifTimePositionLS SdifTimePositionLT;

Back to the top of SDIF


struct SdifTimePositionLS ;

#include "SdifTimePosition.h"

No documentation available.

struct SdifTimePositionLS
{
    SdifListT*          TimePosList;
} ;

Back to the top of SDIF


SdifTimePositionLT* SdifCreateTimePositionL(void);

#include "SdifTimePosition.h"

No documentation available.

SdifTimePositionLT* SdifCreateTimePositionL(void);

Back to the top of SDIF


void SdifKillTimePositionL (SdifTimePositionLT *TimePositionL);

#include "SdifTimePosition.h"

No documentation available.

void                SdifKillTimePositionL  (SdifTimePositionLT *TimePositionL);

Back to the top of SDIF


SdifTimePositionLT* SdifTimePositionLPutTail(SdifTimePositionLT* TimePositionL, SdifFloat8 Time, SdiffPosT Position);

#include "SdifTimePosition.h"

No documentation available.

SdifTimePositionLT* SdifTimePositionLPutTail(SdifTimePositionLT* TimePositionL,
                                             SdifFloat8 Time, SdiffPosT Position);

Back to the top of SDIF


SdifTimePositionT* SdifTimePositionLGetTail(SdifTimePositionLT* TimePositionL);

#include "SdifTimePosition.h"

No documentation available.

SdifTimePositionT*  SdifTimePositionLGetTail(SdifTimePositionLT* TimePositionL);

Back to the top of SDIF


Generated from source by the Cocoon utilities on Tue Aug 22 21:54:55 2000 .

Report problems to jkotula@stratasys.com