[ Keywords | Classes | Data | Functions ]
Back to the top of SDIF
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
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 (0 Back to the top of SDIF
DOC:
Recupre la valeur stocke la colonne numCol de la ligne
temporaire. C'est un SdifFloat8 donc un double!!
Back to the top of SDIF
DOC:
Idem que la fonction prcdente mais en utilisant le type de la
matrice et le nom de la colonne.
Back to the top of SDIF
DOC:
Renvoie la signature temporaire de Chunk ou de Frame.
Back to the top of SDIF
DOC:
Met 0 tous les bits de la signature temporaire.
Back to the top of SDIF
DOC:
Renvoie la signature temporaire du dernier Frame lu ou du prochain
crire.
Back to the top of SDIF
DOC:
Renvoie la signature temporaire de la dernier matrice lue ou de la
prochaine crire.
Back to the top of SDIF
DOC:
Renvoie la ligne temporaire de SdifF.
Back to the top of SDIF
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.
Back to the top of SDIF
DOC:
Renvoie SdifF->CurrMtrx->NbCol, nombre de colonnes de la matrice en
cours de traitement.
Back to the top of SDIF
DOC:
Renvoie SdifF->CurrMtrx->NbRow, nombre de lignes de la matrice en
cours de traitement.
Back to the top of SDIF
DOC:
Returns the data type of the current matrix.
Back to the top of SDIF
DOC:
Renvoie SdifF->CurrFramH->NbMatrix, mombre de matrices du frame
courant.
Back to the top of SDIF
DOC:
Renvoie SdifF->CurrFramH->NumID, index de l'objet du frame courant.
Back to the top of SDIF
DOC:
Renvoie SdifF->CurrFramH->Time.
Back to the top of SDIF
DOC:
Return list of NVTs for querying.
[] precondition NVTs have been read with SdifFReadAllASCIIChunks.
Back to the top of SDIF
DOC:
Return number of NVTs present.
[] precondition NVTs have been read with SdifFReadAllASCIIChunks.
Back to the top of SDIF
DOC:
Return the file's stream ID table, created automatically by SdifFOpen.
Back to the top of SDIF
DOC:
Add user data, return index added
Back to the top of SDIF
DOC:
Get user data by index
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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.
Back to the top of SDIF
DOC:
Return pointer to last error struct or NULL if no error present
for this file.
Back to the top of SDIF
DOC:
Return tag of last error or eNoError if no error present for this file.
Back to the top of SDIF
DOC:
File mode argument for SdifFOpen.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
(ID=4)+(size=4)+(time=8)
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Macro to generate proper-endianed 4 char SDIF signature from
something like 'ABCD'.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Compare two signatures, ignoring the first character which
encodes the type version. Note that comparison of full signatures
can be done simply with '=='.
Back to the top of SDIF
DOC:
Returns size of SDIF data type in bytes
(which is always the low-order byte).
Back to the top of SDIF
DOC:
Returns true if DataType is in the list of known data types.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
(double f1) == (double f2) with _SdifFloatEps for error
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
returns 0 if strings are equal
Back to the top of SDIF
returns true if strings are equal
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
***************** eHashChar ***************
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
**************** eHashInt4 *********************
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
************************** for all **********************
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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.
Back to the top of SDIF
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
Back to the top of SDIF
No documentation available.
Function is currently defined inline. Back to the top of SDIF
DOC:
Definition of the matrix callback function type, used for SdifReadSimple.
TBI
Back to the top of SDIF
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
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Reads matrix header and data into memory allocated by the library,
accessible by SdifFCurrMatrixData ().
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
? text special: return allocated, decoded c-string, to be free'd by caller
Back to the top of SDIF
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.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
--> SdifMatrix.h: add to SdifMatrixHeaderS not void *MatrixData, but:
DataTypeUT Data;
--> SdifFile.c: add void *SdifFCurrMatrixData (SdifFileT *);
Function is currently defined inline. Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Function is currently defined inline. Back to the top of SDIF
No documentation available.
Function is currently defined inline. Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Init the function SdifListGetNext.
[Return] head of List.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Init for function SdifListGetNext.
[Returns] true if List has elements.
Back to the top of SDIF
DOC:
Set Curr to Curr->Next and after return Curr->Data
Back to the top of SDIF
DOC:
Only return Curr->Data.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
permet d'ajouter une colonne un type (toujours la dernire
colonne).
Back to the top of SDIF
DOC:
renvoie la position de la colonne de nom NameCD. (0 si elle
n'existe pas)
Back to the top of SDIF
DOC:
renvoie la dfinition de la colonne (numro, nom) en fonction
du nom.(NULL si introuvable)
Back to the top of SDIF
DOC:
renvoie la dfinition de la colonne (numro, nom) en fonction
du numero.(NULL si introuvable)
Back to the top of SDIF
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.
Back to the top of SDIF
DOC:
permet d'ajouter un type de matrice dans une table.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Cette fonction permet d'ajouter une nouvelle NVT dans la liste
de tables passe par argument:
Back to the top of SDIF
DOC:
Cette fonction permet de dfinir la nime NVT de la liste des
tables comme NVT courante.
Back to the top of SDIF
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.
Back to the top of SDIF
DOC:
Cette fonction ralise aussi une requte en fonction de Name
mais uniquement dans la NVT courante.
Back to the top of SDIF
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.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
************** Matrix Type **************
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
************** Frame Type **************
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
********* Matrix *********
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
********* Frame **********
Back to the top of SDIF
*********** High **********
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
Read, return the number of objects
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
Write, return the number of objects
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
fGet --> return the last char
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Return c if it is a reserved char, -1 otherwise.
Back to the top of SDIF
DOC:
Convert str in place so that it doesn't
contain any reserved chars (these become '.') or spaces (these
become '_').
[] returns str
Back to the top of SDIF
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.
Back to the top of SDIF
retourne le caractere d'erreur
Back to the top of SDIF
DOC:
Function return the signature in a SdifStringT
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Function return the word until in a SdifStringT
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Function return the string until in a SdifStringT
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Return the weak string until in a SdifStringT
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
scan nobj items of TYPE from stream, return number sucessfully read
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Convert a string to an SDIF signature (in proper endianness).
str can point to any string position of any length.
Back to the top of SDIF
tokens (numerical ids) for sdifspec separators
Back to the top of SDIF
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
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Internal: one value of different possible types in a selection
element (the element list determines which type is actually used).
Back to the top of SDIF
DOC:
Selection element internal data structure:
One basic data element, with optional
Back to the top of SDIF
DOC:
Holds a selection of what data to access in an SDIF file,
parsed from a simple regular expression.
Back to the top of SDIF
DOC:
Return pointer to start of filename component in path inPathFileName.
Back to the top of SDIF
init module, called by SdifGenInit
Back to the top of SDIF
DOC:
Allocate space for an sdif selection.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Returns pointer to first char of select spec (starting with ::),
or NULL if not found.
[in] filename can be NULL
Back to the top of SDIF
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
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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:
Back to the top of SDIF
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:
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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
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.
Back to the top of SDIF
DOC:
See SdifSelectGetNextInt.
Back to the top of SDIF
DOC:
Query list of parsed selection elements (one of the SdifListP
lists in SdifSelectionT). Init list traversal with
SdifListInitLoop, then call SdifSelectGetNext
See also SdifSelectGetNextInt.
Back to the top of SDIF
DOC:
See SdifSelectGetNextSignature.
Back to the top of SDIF
DOC:
Return value of first selection (ignoring range).
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
FUNCTION GROUP: Selection Testing Functions
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Test the selection elements from sel applicable to frame FramH:
time, stream, frame type.
Back to the top of SDIF
DOC:
Test the selection elements from sel applicable to matrix MtrxH:
the matrix signature.
Back to the top of SDIF
DOC:
Test if the current frame header is in the file selection
(automatically parsed from the filename).
Can be called after SdifFReadFrameHeader().
Back to the top of SDIF
DOC:
Test if the current matrix header is in the file selection
(automatically parsed from the filename).
Can be called after SdifFReadMatrixHeader().
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Create table for initially NbSignMax signatures.
Back to the top of SDIF
DOC:
Free signature table.
Back to the top of SDIF
DOC:
Reallocate table to hold NewNbSignMax signatures.
Back to the top of SDIF
DOC:
Reallocate table to hold NewNbSignMax signatures and clear signatures.
Back to the top of SDIF
DOC:
Add signature Sign, no overflow check.
Back to the top of SDIF
DOC:
Add signature Sign, reallocate table if necessary.
Back to the top of SDIF
DOC:
Get signature at position index.
Returns eEmptySignature if index out of bounds.
Back to the top of SDIF
DOC:
Test if signature Sign is in table SignTab.
[] Returns Sign if yes, 0 (== eEmptySignature) if no.
Back to the top of SDIF
DOC:
Test if signature Sign is in table SignTab.
[] Returns index of Sign if yes, -1 if no.
Back to the top of SDIF
DOC:
Stream ID Table Entry
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Stream ID Table, holds SdifStreamIDT stream ID table entries
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Permet de crer un pointeur sur un objet de type StreamIDT.
Exemple dans le cas d'un TreeWay pour chant (non fichier):
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
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
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().
Back to the top of SDIF
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.
Back to the top of SDIF
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
Back to the top of SDIF
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.
Back to the top of SDIF
DOC:
Return number of entries in stream ID table SIDTable
Back to the top of SDIF
DOC:
Return stream ID field in stream ID table entry SID
Back to the top of SDIF
DOC:
Return source field in stream ID table entry SID
Back to the top of SDIF
DOC:
Return "treeway" field in stream ID table entry SID
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Make a memory allocation for a SdifStringT structure.
The size for the string is defined in SdifString.h; define _SdifStringGranule 128.
Back to the top of SDIF
DOC:
Free memory allocated for SdifString.
Back to the top of SDIF
DOC:
Append a string to another one.
Manage memory reallocation.
Return a boolean for the succes of the function's call.
Back to the top of SDIF
DOC:
Read the current char (= fgetc).
Back to the top of SDIF
DOC:
Equivalent of ungetc
Back to the top of SDIF
DOC:
Test the end of the string (= feof)
Back to the top of SDIF
DOC:
Cette fonction vrifie si le type de matrice est rpertori
dans SdifF. Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
DOC:
Converti un fichier SDIF ouvert en lecture (eReadFile) en un fichier
texte pseudo-SDIF de nom TextStreamName.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
No documentation available.
Back to the top of SDIF
SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4
numCol, SdifFloat8 Value);
SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);
#include "SdifFile.h"
SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);
SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD);
#include "SdifFile.h"
SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF,
SdifMatrixTypeT *MatrixType,
char *NameCD);
SdifSignature SdifFCurrSignature (SdifFileT *SdifF);
#include "SdifFile.h"
SdifSignature SdifFCurrSignature (SdifFileT *SdifF);
SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF);
#include "SdifFile.h"
SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF);
SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF);
#include "SdifFile.h"
SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF);
SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);
#include "SdifFile.h"
SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);
SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF);
#include "SdifFile.h"
SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF);
void* SdifFCurrOneRowData (SdifFileT *SdifF);
#include "SdifFile.h"
void* SdifFCurrOneRowData (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF);
#include "SdifFile.h"
SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF);
#include "SdifFile.h"
SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF);
SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);
#include "SdifFile.h"
SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);
SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF);
#include "SdifFile.h"
SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF);
SdifUInt4 SdifFCurrID (SdifFileT *SdifF);
#include "SdifFile.h"
SdifUInt4 SdifFCurrID (SdifFileT *SdifF);
SdifFloat8 SdifFCurrTime (SdifFileT *SdifF);
#include "SdifFile.h"
SdifFloat8 SdifFCurrTime (SdifFileT *SdifF);
SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);
#include "SdifFile.h"
SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);
int SdifFNameValueNum (SdifFileT *file);
#include "SdifFile.h"
int SdifFNameValueNum (SdifFileT *file);
SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);
#include "SdifFile.h"
SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);
int SdifFAddUserData (SdifFileT *file, void *data);
#include "SdifFile.h"
int SdifFAddUserData (SdifFileT *file, void *data);
void *SdifFGetUserData (SdifFileT *file, int index);
#include "SdifFile.h"
void *SdifFGetUserData (SdifFileT *file, int index);
SdifFileT* SdifFReInitMtrxUsed (SdifFileT *SdifF);
#include "SdifFile.h"
SdifFileT* SdifFReInitMtrxUsed (SdifFileT *SdifF);
SdifFileT* SdifFPutInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
#include "SdifFile.h"
SdifFileT* SdifFPutInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
SdifSignature SdifFIsInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
#include "SdifFile.h"
SdifSignature SdifFIsInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign);
int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);
#include "SdifFile.h"
int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);
SdifErrorT* SdifFLastError (SdifFileT *SdifF);
#include "SdifFile.h"
SdifErrorT* SdifFLastError (SdifFileT *SdifF);
SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF);
#include "SdifFile.h"
SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF);
typedef enum SdifFileModeE SdifFileModeET ;
#include "SdifFileStruct.h"
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 ;
enum SdifPassE ;
#include "SdifFileStruct.h"
enum SdifPassE
{
eNotPass,
eReadPass,
eWritePass
};
typedef struct SdifFileS SdifFileT;
#include "SdifFileStruct.h"
typedef struct SdifFileS SdifFileT;
struct SdifFileS ;
#include "SdifFileStruct.h"
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 */
typedef struct SdifFrameHeaderS SdifFrameHeaderT;
#include "SdifFrame.h"
typedef struct SdifFrameHeaderS SdifFrameHeaderT;
struct SdifFrameHeaderS ;
#include "SdifFrame.h"
struct SdifFrameHeaderS
{
SdifSignature Signature;
SdifUInt4 Size;
SdifUInt4 NbMatrix;
SdifUInt4 NumID;
SdifFloat8 Time;
} ;
typedef struct SdifFrameDataS SdifFrameDataT;
#include "SdifFrame.h"
typedef struct SdifFrameDataS SdifFrameDataT;
struct SdifFrameDataS ;
#include "SdifFrame.h"
struct SdifFrameDataS
{
SdifFrameHeaderT *Header;
SdifMatrixDataT* *Matrix_s;
} ;
SdifFrameHeaderT* SdifCreateFrameHeader(SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);
#include "SdifFrame.h"
SdifFrameHeaderT* SdifCreateFrameHeader(SdifSignature Signature,
SdifUInt4 Size,
SdifUInt4 NbMatrix,
SdifUInt4 NumID,
SdifFloat8 Time);
SdifFrameHeaderT* SdifCreateFrameHeaderEmpty(SdifSignature Signature);
#include "SdifFrame.h"
SdifFrameHeaderT* SdifCreateFrameHeaderEmpty(SdifSignature Signature);
void SdifKillFrameHeader (SdifFrameHeaderT *FrameHeader);
#include "SdifFrame.h"
void SdifKillFrameHeader (SdifFrameHeaderT *FrameHeader);
SdifFrameDataT* SdifCreateFrameData(SdifHashTableT *FrameTypesTable, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time);
#include "SdifFrame.h"
SdifFrameDataT* SdifCreateFrameData(SdifHashTableT *FrameTypesTable,
SdifSignature FrameSignature,
SdifUInt4 NumID,
SdifFloat8 Time);
void SdifKillFrameData (SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData);
#include "SdifFrame.h"
void SdifKillFrameData (SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData);
SdifFrameDataT* SdifFrameDataPutNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix, SdifMatrixDataT *MatrixData);
#include "SdifFrame.h"
SdifFrameDataT* SdifFrameDataPutNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix,
SdifMatrixDataT *MatrixData);
SdifFrameDataT* SdifFrameDataPutComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName, SdifMatrixDataT *MatrixData);
#include "SdifFrame.h"
SdifFrameDataT* SdifFrameDataPutComponentMatrixData(SdifHashTableT *FrameTypesTable,
SdifFrameDataT *FrameData,
char *CompoName, SdifMatrixDataT *MatrixData);
SdifMatrixDataT* SdifFrameDataGetNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix);
#include "SdifFrame.h"
SdifMatrixDataT* SdifFrameDataGetNthMatrixData(SdifFrameDataT *FrameData, unsigned int NthMatrix);
SdifMatrixDataT* SdifFrameDataGetComponentMatrixData(SdifHashTableT *FrameTypesTable, SdifFrameDataT *FrameData, char *CompoName);
#include "SdifFrame.h"
SdifMatrixDataT* SdifFrameDataGetComponentMatrixData(SdifHashTableT *FrameTypesTable,
SdifFrameDataT *FrameData,
char *CompoName);
typedef struct SdifComponentS SdifComponentT;
#include "SdifFrameType.h"
typedef struct SdifComponentS SdifComponentT;
struct SdifComponentS ;
#include "SdifFrameType.h"
struct SdifComponentS
{
SdifSignature MtrxS;
char *Name;
SdifUInt4 Num;
} ;
typedef struct SdifFrameTypeS SdifFrameTypeT;
#include "SdifFrameType.h"
typedef struct SdifFrameTypeS SdifFrameTypeT;
struct SdifFrameTypeS ;
#include "SdifFrameType.h"
struct SdifFrameTypeS
{
SdifSignature Signature;
SdifFrameTypeT* FrameTypePre;
SdifHashTableT *ComponentUseHT;
SdifUInt4 NbComponentUse;
SdifUInt4 NbComponent;
SdifModifModeET ModifMode;
};
SdifComponentT* SdifCreateComponent (SdifSignature MtrxS, char *Name, SdifUInt4 Num);
#include "SdifFrameType.h"
SdifComponentT* SdifCreateComponent (SdifSignature MtrxS, char *Name, SdifUInt4 Num);
void SdifKillComponent (SdifComponentT *Component);
#include "SdifFrameType.h"
void SdifKillComponent (SdifComponentT *Component);
SdifFrameTypeT* SdifCreateFrameType (SdifSignature FramS, SdifFrameTypeT *PredefinedFrameType);
#include "SdifFrameType.h"
SdifFrameTypeT* SdifCreateFrameType (SdifSignature FramS, SdifFrameTypeT *PredefinedFrameType);
void SdifKillFrameType (SdifFrameTypeT *FrameType);
#include "SdifFrameType.h"
void SdifKillFrameType (SdifFrameTypeT *FrameType);
SdifComponentT* SdifFrameTypeGetComponent_MtrxS (SdifFrameTypeT *FrameType, SdifSignature MtrxS);
#include "SdifFrameType.h"
SdifComponentT* SdifFrameTypeGetComponent_MtrxS (SdifFrameTypeT *FrameType, SdifSignature MtrxS);
SdifComponentT* SdifFrameTypeGetComponent (SdifFrameTypeT *FrameType, char *NameC);
#include "SdifFrameType.h"
SdifComponentT* SdifFrameTypeGetComponent (SdifFrameTypeT *FrameType, char *NameC);
SdifComponentT* SdifFrameTypeGetNthComponent (SdifFrameTypeT *FrameType, SdifUInt4 NumC);
#include "SdifFrameType.h"
SdifComponentT* SdifFrameTypeGetNthComponent (SdifFrameTypeT *FrameType, SdifUInt4 NumC);
SdifFrameTypeT* SdifFrameTypePutComponent (SdifFrameTypeT *FrameType, SdifSignature MtrxS, char *NameC);
#include "SdifFrameType.h"
SdifFrameTypeT* SdifFrameTypePutComponent (SdifFrameTypeT *FrameType, SdifSignature MtrxS, char *NameC);
SdifFrameTypeT* SdifGetFrameType (SdifHashTableT *FrameTypeHT, SdifSignature FramS);
#include "SdifFrameType.h"
SdifFrameTypeT* SdifGetFrameType (SdifHashTableT *FrameTypeHT, SdifSignature FramS);
void SdifPutFrameType (SdifHashTableT *FrameTypeHT, SdifFrameTypeT *FrameType);
#include "SdifFrameType.h"
void SdifPutFrameType (SdifHashTableT *FrameTypeHT, SdifFrameTypeT *FrameType);
SdifUInt2 SdifExistUserFrameType (SdifHashTableT *FrameTypeHT);
#include "SdifFrameType.h"
SdifUInt2 SdifExistUserFrameType (SdifHashTableT *FrameTypeHT);
SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);
#include "SdifGlobals.h"
SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);
typedef enum SdifSignatureE SdifSignatureET;
#include "SdifGlobals.h"
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;
typedef enum SdifModifModeE SdifModifModeET;
#include "SdifGlobals.h"
typedef enum SdifModifModeE
{
eNoModif,
eCanModif
} SdifModifModeET;
typedef enum SdifDataTypeE SdifDataTypeET;
#include "SdifGlobals.h"
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;
typedef enum SdifDataTypeE SdifDataTypeET;
#include "SdifGlobals.h"
typedef enum SdifDataTypeE
{
eUnicode = 0,
eFloat4 = 1,
eFloat8 = 2,
eInt4 = 3,
eUInt4 = 4,
eChar = 5,
eInt2 = 6,
eUInt2 = 7,
eFloat4Old = 32
} SdifDataTypeET;
char* SdifSignatureToString(SdifSignature Signature);
#include "SdifGlobals.h"
char* SdifSignatureToString(SdifSignature Signature);
short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);
#include "SdifGlobals.h"
short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);
SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);
#include "SdifGlobals.h"
SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);
int SdifDataTypeKnown (SdifDataTypeET DataType);
#include "SdifGlobals.h"
int SdifDataTypeKnown (SdifDataTypeET DataType);
size_t SdifPaddingCalculate (size_t NbBytes);
#include "SdifGlobals.h"
size_t SdifPaddingCalculate (size_t NbBytes);
size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes);
#include "SdifGlobals.h"
size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes);
short SdifFloat8Equ(SdifFloat8 f1, SdifFloat8 f2);
#include "SdifGlobals.h"
short SdifFloat8Equ(SdifFloat8 f1, SdifFloat8 f2);
typedef char SdifChar;
#include "SdifHard_OS.h"
typedef char SdifChar;
typedef short SdifInt2;
#include "SdifHard_OS.h"
typedef short SdifInt2;
typedef unsigned short SdifUInt2;
#include "SdifHard_OS.h"
typedef unsigned short SdifUInt2;
typedef int SdifInt4;
#include "SdifHard_OS.h"
typedef int SdifInt4;
typedef unsigned int SdifUInt4;
#include "SdifHard_OS.h"
typedef unsigned int SdifUInt4;
typedef float SdifFloat4;
#include "SdifHard_OS.h"
typedef float SdifFloat4;
typedef double SdifFloat8;
#include "SdifHard_OS.h"
typedef double SdifFloat8;
typedef unsigned int SdifSignature;
#include "SdifHard_OS.h"
typedef unsigned int SdifSignature;
typedef enum SdifMachineE SdifMachineET;
#include "SdifHard_OS.h"
typedef enum SdifMachineE
{
eUndefinedMachine,
eBigEndian,
eLittleEndian,
eLittleEndianLittleConst,
eBigEndian64,
eLittleEndian64,
eLittleEndianLittleConst64,
ePDPEndian
} SdifMachineET;
SdifMachineET SdifGetMachineType(void);
#include "SdifHard_OS.h"
SdifMachineET SdifGetMachineType(void);
SdifMachineET SdifInitMachineType(void);
#include "SdifHard_OS.h"
SdifMachineET SdifInitMachineType(void);
void SdifLittleToBig(void *BigPtr, void *LittlePtr, size_t size);
#include "SdifHard_OS.h"
void SdifLittleToBig(void *BigPtr, void *LittlePtr, size_t size);
void SdifBigToLittle(void *InOutPtr, size_t size);
#include "SdifHard_OS.h"
void SdifBigToLittle(void *InOutPtr, size_t size);
int SdifStrLen (const char *s);
#include "SdifHard_OS.h"
int SdifStrLen (const char *s);
int SdifStrCmp (const char *s1, const char *s2);
#include "SdifHard_OS.h"
int SdifStrCmp (const char *s1, const char *s2);
int SdifStrEq(const char *s1, const char *s2);
#include "SdifHard_OS.h"
int SdifStrEq(const char *s1, const char *s2);
int SdifStrNCmp (const char *s1, const char *s2, unsigned int n);
#include "SdifHard_OS.h"
int SdifStrNCmp (const char *s1, const char *s2, unsigned int n);
char* SdifStrNCpy (char *s1, const char *s2, unsigned int n);
#include "SdifHard_OS.h"
char* SdifStrNCpy (char *s1, const char *s2, unsigned int n);
char* SdifCreateStrNCpy (const char* Source, size_t Size);
#include "SdifHard_OS.h"
char* SdifCreateStrNCpy (const char* Source, size_t Size);
void SdifKillStr (char* String);
#include "SdifHard_OS.h"
void SdifKillStr (char* String);
typedef enum SdifBinaryMode SdifBinaryModeET ;
#include "SdifHard_OS.h"
typedef enum SdifBinaryMode
{
eBinaryModeUnknown,
eBinaryModeWrite,
eBinaryModeRead,
eBinaryModeStdInput,
eBinaryModeStdOutput,
eBinaryModeStdError
} SdifBinaryModeET ;
void SdifSetStdIOBinary (void);
#include "SdifHard_OS.h"
void SdifSetStdIOBinary (void);
FILE* SdiffBinOpen (const char * Name, SdifBinaryModeET Mode);
#include "SdifHard_OS.h"
FILE* SdiffBinOpen (const char * Name, SdifBinaryModeET Mode);
SdifInt4 SdiffBinClose (FILE *f);
#include "SdifHard_OS.h"
SdifInt4 SdiffBinClose (FILE *f);
typedef enum SdifHashIndexTypeE SdifHashIndexTypeET;
#include "SdifHash.h"
typedef enum SdifHashIndexTypeE
{
eHashChar,
eHashInt4
} SdifHashIndexTypeET;
typedef union SdifHashIndexU SdifHashIndexUT;
#include "SdifHash.h"
typedef union SdifHashIndexU SdifHashIndexUT;
char* Char[1];
#include "SdifHash.h"
char* Char[1]; /* tab of one pointer to fixe union size at 4 or 8 bytes */
unsigned int Int4;
#include "SdifHash.h"
unsigned int Int4;
typedef struct SdifHashNS SdifHashNT;
#include "SdifHash.h"
typedef struct SdifHashNS SdifHashNT;
struct SdifHashNS ;
#include "SdifHash.h"
struct SdifHashNS
{
SdifHashNT *Next;
SdifHashIndexUT Index;
void* Data;
};
typedef struct SdifHashTableS SdifHashTableT;
#include "SdifHash.h"
typedef struct SdifHashTableS SdifHashTableT;
struct SdifHashTableS ;
#include "SdifHash.h"
struct SdifHashTableS
{
SdifHashNT* *Table;
unsigned int HashSize;
SdifHashIndexTypeET IndexType;
void (*Killer)(); /* no verification of arguments */
unsigned int NbOfData;
} ;
SdifHashTableT* SdifCreateHashTable(unsigned int HashSize, SdifHashIndexTypeET IndexType, void (*Killer)());
#include "SdifHash.h"
SdifHashTableT* SdifCreateHashTable(unsigned int HashSize, SdifHashIndexTypeET IndexType, void (*Killer)());
void SdifMakeEmptyHashTable (SdifHashTableT* HTable);
#include "SdifHash.h"
void SdifMakeEmptyHashTable (SdifHashTableT* HTable);
void SdifKillHashTable (SdifHashTableT* HTable);
#include "SdifHash.h"
void SdifKillHashTable (SdifHashTableT* HTable);
unsigned int SdifHashChar(const char* s, unsigned int nchar, unsigned int HashSize);
#include "SdifHash.h"
unsigned int SdifHashChar(const char* s, unsigned int nchar, unsigned int HashSize);
void* SdifHashTableSearchChar(SdifHashTableT* HTable, const char *s, unsigned int nchar);
#include "SdifHash.h"
void* SdifHashTableSearchChar(SdifHashTableT* HTable, const char *s, unsigned int nchar);
SdifHashTableT* SdifHashTablePutChar (SdifHashTableT* HTable, const char *s, unsigned int nchar, void* Data);
#include "SdifHash.h"
SdifHashTableT* SdifHashTablePutChar (SdifHashTableT* HTable, const char *s, unsigned int nchar, void* Data);
unsigned int SdifHashInt4(unsigned int i, unsigned int HashSize);
#include "SdifHash.h"
unsigned int SdifHashInt4(unsigned int i, unsigned int HashSize);
void* SdifHashTableSearchInt4(SdifHashTableT* HTable, unsigned int i);
#include "SdifHash.h"
void* SdifHashTableSearchInt4(SdifHashTableT* HTable, unsigned int i);
SdifHashTableT* SdifHashTablePutInt4 (SdifHashTableT* HTable, const unsigned int i, void* Data);
#include "SdifHash.h"
SdifHashTableT* SdifHashTablePutInt4 (SdifHashTableT* HTable, const unsigned int i, void* Data);
void* SdifHashTableSearch (SdifHashTableT* HTable, void *ptr, unsigned int nobj);
#include "SdifHash.h"
void* SdifHashTableSearch (SdifHashTableT* HTable, void *ptr, unsigned int nobj);
SdifHashTableT* SdifHashTablePut (SdifHashTableT* HTable, const void *ptr, unsigned int nobj, void* Data);
#include "SdifHash.h"
SdifHashTableT* SdifHashTablePut (SdifHashTableT* HTable, const void *ptr, unsigned int nobj, void* Data);
int SdifFReadNextSelectedFrameHeader (SdifFileT *file);
#include "SdifHighLevel.h"
int SdifFReadNextSelectedFrameHeader (SdifFileT *file);
SdifFWriteMatrixColumns (SdifFileT *file, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *columns []);
#include "SdifHighLevel.h"
SdifFWriteMatrixColumns (SdifFileT *file,
SdifSignature Signature,
SdifDataTypeET DataType,
SdifUInt4 NbRow,
SdifUInt4 NbCol,
void *columns []);
SdifFWriteTextMatrix (SdifFileT f, SdifSignature matrixsig, const char *str) ;
#include "SdifHighLevel.h"
SdifFWriteTextMatrix (SdifFileT f, SdifSignature matrixsig, const char *str)
;
typedef int (*SdifMatrixCallbackT) (SdifFileT *file, int nummatrix, void *userdata);
#include "SdifHighLevel.h"
typedef int (*SdifMatrixCallbackT) (SdifFileT *file,
int nummatrix,
void *userdata);
SdifReadSimple (char *filename, SdifMatrixCallbackT matrixfunc, void *userdata);
#include "SdifHighLevel.h"
SdifReadSimple (char *filename,
SdifMatrixCallbackT matrixfunc,
void *userdata);
SdifFReadMatrixAs_TYPE_ ();
#include "SdifHighLevel.h"
SdifFReadMatrixAs_TYPE_ ();
int SdifFReadMatrix (SdifFileT *file);
#include "SdifHighLevel.h"
int SdifFReadMatrix (SdifFileT *file);
int SdifFReadMatrixAs (SdifFileT *file, SdifDataTypeET as_type);
#include "SdifHighLevel.h"
int SdifFReadMatrixAs (SdifFileT *file, SdifDataTypeET as_type);
char *SdifFReadTextMatrix (SdifFileT *file);
#include "SdifHighLevel.h"
char *SdifFReadTextMatrix (SdifFileT *file);
int SdifFReadMatrixData (SdifFileT *file, void *target);
#include "SdifHighLevel.h"
int SdifFReadMatrixData (SdifFileT *file, void *target);
int SdifFReadMatrixDataAs (SdifFileT *file, void *target, SdifDataTypeET as_type);
#include "SdifHighLevel.h"
int SdifFReadMatrixDataAs (SdifFileT *file, void *target,
SdifDataTypeET as_type);
void *SdifFCurrMatrixData (SdifFileT *file) ;
#include "SdifHighLevel.h"
void *SdifFCurrMatrixData (SdifFileT *file)
;
void *SdifGetColumn ();
#include "SdifHighLevel.h"
void *SdifGetColumn ();
int SdifFCheckStatus (SdifFileT *file) ;
#include "SdifHighLevel.h"
int /*bool*/ SdifFCheckStatus (SdifFileT *file)
;
int SdifFCheckStatusPrint (SdifFileT *file) ;
#include "SdifHighLevel.h"
int /*bool*/ SdifFCheckStatusPrint (SdifFileT *file)
;
typedef void (*KillerFT) (void *);
#include "SdifList.h"
typedef void (*KillerFT) (void *);
typedef struct SdifListNS SdifListNT;
#include "SdifList.h"
typedef struct SdifListNS SdifListNT;
struct SdifListNS ;
#include "SdifList.h"
struct SdifListNS
{
SdifListNT *Next;
void* Data;
};
typedef struct SdifListNStockS SdifListNStockT;
#include "SdifList.h"
typedef struct SdifListNStockS SdifListNStockT;
struct SdifListNStockS ;
#include "SdifList.h"
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 */
};
void SdifInitListNStock (SdifListNStockT *Stock, unsigned int SizeOfOneStock);
#include "SdifList.h"
void SdifInitListNStock (SdifListNStockT *Stock, unsigned int SizeOfOneStock);
void SdifNewStock (SdifListNStockT *Stock);
#include "SdifList.h"
void SdifNewStock (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNodeFromTrash (SdifListNStockT *Stock);
#include "SdifList.h"
SdifListNT* SdifGetNewNodeFromTrash (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNodeFromStock (SdifListNStockT *Stock);
#include "SdifList.h"
SdifListNT* SdifGetNewNodeFromStock (SdifListNStockT *Stock);
SdifListNT* SdifGetNewNode (SdifListNStockT *Stock);
#include "SdifList.h"
SdifListNT* SdifGetNewNode (SdifListNStockT *Stock);
void SdifPutNodeInTrash (SdifListNStockT *Stock, SdifListNT* OldNode);
#include "SdifList.h"
void SdifPutNodeInTrash (SdifListNStockT *Stock, SdifListNT* OldNode);
SdifListNT* SdifKillListNStock (SdifListNT* OldStock);
#include "SdifList.h"
SdifListNT* SdifKillListNStock (SdifListNT* OldStock);
void SdifListNStockMakeEmpty (SdifListNStockT *Stock);
#include "SdifList.h"
void SdifListNStockMakeEmpty (SdifListNStockT *Stock);
SdifListNStockT* SdifListNodeStock (void);
#include "SdifList.h"
SdifListNStockT* SdifListNodeStock (void);
void SdifInitListNodeStock (unsigned int SizeOfOneStock);
#include "SdifList.h"
void SdifInitListNodeStock (unsigned int SizeOfOneStock);
void SdifDrainListNodeStock (void);
#include "SdifList.h"
void SdifDrainListNodeStock (void);
SdifListNT* SdifCreateListNode (SdifListNT *Next, void *Data);
#include "SdifList.h"
SdifListNT* SdifCreateListNode (SdifListNT *Next, void *Data);
SdifListNT* SdifKillListNode (SdifListNT *Node, KillerFT Killer);
#include "SdifList.h"
SdifListNT* SdifKillListNode (SdifListNT *Node, KillerFT Killer);
typedef struct SdifListS SdifListT;
#include "SdifList.h"
typedef struct SdifListS SdifListT;
typedef SdifListT *SdifListP;
#include "SdifList.h"
typedef SdifListT *SdifListP;
struct SdifListS ;
#include "SdifList.h"
struct SdifListS
{
/* fifo list */
SdifListNT *Head;
SdifListNT *Tail;
SdifListNT *Curr; /* pointer before the next */
void (*Killer)(); /* no verification of arguments */
unsigned int NbData;
} ;
SdifListT* SdifCreateList (KillerFT Killer);
#include "SdifList.h"
SdifListT* SdifCreateList (KillerFT Killer);
SdifListT* SdifKillListHead (SdifListT* List);
#include "SdifList.h"
SdifListT* SdifKillListHead (SdifListT* List);
SdifListT* SdifMakeEmptyList (SdifListT* List);
#include "SdifList.h"
SdifListT* SdifMakeEmptyList (SdifListT* List);
void SdifKillList (SdifListT* List);
#include "SdifList.h"
void SdifKillList (SdifListT* List);
void* SdifListGetHead (SdifListT* List);
#include "SdifList.h"
void* SdifListGetHead (SdifListT* List);
void* SdifListGetTail (SdifListT* List);
#include "SdifList.h"
void* SdifListGetTail (SdifListT* List);
int SdifListIsNext (SdifListT* List);
#include "SdifList.h"
int SdifListIsNext (SdifListT* List);
int SdifListIsEmpty (SdifListT* List);
#include "SdifList.h"
int SdifListIsEmpty (SdifListT* List);
int SdifListInitLoop (SdifListT* List);
#include "SdifList.h"
int SdifListInitLoop (SdifListT* List);
void* SdifListGetNext (SdifListT* List);
#include "SdifList.h"
void* SdifListGetNext (SdifListT* List);
void* SdifListGetCurr (SdifListT* List);
#include "SdifList.h"
void* SdifListGetCurr (SdifListT* List);
SdifListT* SdifListPutTail (SdifListT* List, void *pData);
#include "SdifList.h"
SdifListT* SdifListPutTail (SdifListT* List, void *pData);
SdifListT* SdifListPutHead (SdifListT* List, void *pData);
#include "SdifList.h"
SdifListT* SdifListPutHead (SdifListT* List, void *pData);
unsigned int SdifListGetNbData (SdifListT* List);
#include "SdifList.h"
unsigned int SdifListGetNbData (SdifListT* List);
typedef struct SdifMatrixHeaderS SdifMatrixHeaderT;
#include "SdifMatrix.h"
typedef struct SdifMatrixHeaderS SdifMatrixHeaderT;
struct SdifMatrixHeaderS ;
#include "SdifMatrix.h"
struct SdifMatrixHeaderS
{
SdifSignature Signature;
SdifDataTypeET DataType; /* Low level data type */
SdifUInt4 NbRow;
SdifUInt4 NbCol;
} ;
typedef union DataTypeU DataTypeUT;
#include "SdifMatrix.h"
typedef union DataTypeU DataTypeUT;
SdifFloat4 *Float4;
#include "SdifMatrix.h"
SdifFloat4 *Float4;
SdifFloat8 *Float8;
#include "SdifMatrix.h"
SdifFloat8 *Float8;
SdifInt2 *Int2 ;
#include "SdifMatrix.h"
SdifInt2 *Int2 ;
SdifInt4 *Int4 ;
#include "SdifMatrix.h"
SdifInt4 *Int4 ;
SdifUInt2 *UInt2 ;
#include "SdifMatrix.h"
SdifUInt2 *UInt2 ;
SdifUInt4 *UInt4 ;
#include "SdifMatrix.h"
SdifUInt4 *UInt4 ;
SdifChar *Char ;
#include "SdifMatrix.h"
SdifChar *Char ;
void *Void ;
#include "SdifMatrix.h"
void *Void ; /* generic pointer */
typedef struct SdifOneRowS SdifOneRowT;
#include "SdifMatrix.h"
typedef struct SdifOneRowS SdifOneRowT;
struct SdifOneRowS ;
#include "SdifMatrix.h"
struct SdifOneRowS
{
SdifDataTypeET DataType;
SdifUInt4 NbData;
DataTypeUT Data;
SdifUInt4 NbGranuleAlloc;
} ;
typedef struct SdifMatrixDataS SdifMatrixDataT;
#include "SdifMatrix.h"
typedef struct SdifMatrixDataS SdifMatrixDataT;
struct SdifMatrixDataS ;
#include "SdifMatrix.h"
struct SdifMatrixDataS
{
SdifMatrixHeaderT *Header;
SdifOneRowT **Rows;
SdifUInt4 Size;
} ;
SdifMatrixHeaderT* SdifCreateMatrixHeader (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
#include "SdifMatrix.h"
SdifMatrixHeaderT* SdifCreateMatrixHeader (SdifSignature Signature,
SdifDataTypeET DataType,
SdifUInt4 NbRow,
SdifUInt4 NbCol);
SdifMatrixHeaderT* SdifCreateMatrixHeaderEmpty (void);
#include "SdifMatrix.h"
SdifMatrixHeaderT* SdifCreateMatrixHeaderEmpty (void);
void SdifKillMatrixHeader (SdifMatrixHeaderT *MatrixHeader);
#include "SdifMatrix.h"
void SdifKillMatrixHeader (SdifMatrixHeaderT *MatrixHeader);
SdifOneRowT* SdifCreateOneRow (SdifDataTypeET DataType, SdifUInt4 NbGranuleAlloc);
#include "SdifMatrix.h"
SdifOneRowT* SdifCreateOneRow (SdifDataTypeET DataType, SdifUInt4 NbGranuleAlloc);
SdifOneRowT* SdifReInitOneRow (SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData);
#include "SdifMatrix.h"
SdifOneRowT* SdifReInitOneRow (SdifOneRowT *OneRow, SdifDataTypeET DataType, SdifUInt4 NbData);
void SdifKillOneRow (SdifOneRowT *OneRow);
#include "SdifMatrix.h"
void SdifKillOneRow (SdifOneRowT *OneRow);
SdifOneRowT* SdifOneRowPutValue (SdifOneRowT *OneRow, SdifUInt4 numCol, SdifFloat8 Value);
#include "SdifMatrix.h"
SdifOneRowT* SdifOneRowPutValue (SdifOneRowT *OneRow, SdifUInt4 numCol, SdifFloat8 Value);
SdifFloat8 SdifOneRowGetValue (SdifOneRowT *OneRow, SdifUInt4 numCol);
#include "SdifMatrix.h"
SdifFloat8 SdifOneRowGetValue (SdifOneRowT *OneRow, SdifUInt4 numCol);
SdifFloat8 SdifOneRowGetValueColName (SdifOneRowT *OneRow, SdifMatrixTypeT *MatrixType, char * NameCD);
#include "SdifMatrix.h"
SdifFloat8 SdifOneRowGetValueColName (SdifOneRowT *OneRow, SdifMatrixTypeT *MatrixType, char * NameCD);
SdifMatrixDataT* SdifCreateMatrixData (SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);
#include "SdifMatrix.h"
SdifMatrixDataT* SdifCreateMatrixData (SdifSignature Signature, SdifDataTypeET DataType,
SdifUInt4 NbRow, SdifUInt4 NbCol);
void SdifKillMatrixData (SdifMatrixDataT *MatrixData);
#include "SdifMatrix.h"
void SdifKillMatrixData (SdifMatrixDataT *MatrixData);
SdifMatrixDataT* SdifMatrixDataPutValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol, SdifFloat8 Value);
#include "SdifMatrix.h"
SdifMatrixDataT* SdifMatrixDataPutValue (SdifMatrixDataT *MatrixData,
SdifUInt4 numRow, SdifUInt4 numCol, SdifFloat8 Value);
SdifFloat8 SdifMatrixDataGetValue (SdifMatrixDataT *MatrixData, SdifUInt4 numRow, SdifUInt4 numCol);
#include "SdifMatrix.h"
SdifFloat8 SdifMatrixDataGetValue (SdifMatrixDataT *MatrixData,
SdifUInt4 numRow, SdifUInt4 numCol);
typedef struct SdifColumnDefS SdifColumnDefT;
#include "SdifMatrixType.h"
typedef struct SdifColumnDefS SdifColumnDefT;
struct SdifColumnDefS ;
#include "SdifMatrixType.h"
struct SdifColumnDefS
{
char *Name;
SdifUInt4 Num;
} ;
typedef struct SdifMatrixTypeS SdifMatrixTypeT;
#include "SdifMatrixType.h"
typedef struct SdifMatrixTypeS SdifMatrixTypeT;
struct SdifMatrixTypeS ;
#include "SdifMatrixType.h"
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;
};
SdifColumnDefT* SdifCreateColumnDef (char *Name, unsigned int Num);
#include "SdifMatrixType.h"
SdifColumnDefT* SdifCreateColumnDef (char *Name, unsigned int Num);
void SdifKillColumnDef (void *ColumnDef);
#include "SdifMatrixType.h"
void SdifKillColumnDef (void *ColumnDef);
SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature, SdifMatrixTypeT *PredefinedMatrixType);
#include "SdifMatrixType.h"
SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature,
SdifMatrixTypeT *PredefinedMatrixType);
void SdifKillMatrixType (SdifMatrixTypeT *MatrixType);
#include "SdifMatrixType.h"
void SdifKillMatrixType (SdifMatrixTypeT *MatrixType);
SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
#include "SdifMatrixType.h"
SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
#include "SdifMatrixType.h"
SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
#include "SdifMatrixType.h"
SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);
SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);
#include "SdifMatrixType.h"
SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);
SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable, SdifSignature Signature);
#include "SdifMatrixType.h"
SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable,
SdifSignature Signature);
void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);
#include "SdifMatrixType.h"
void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);
SdifUInt2 SdifExistUserMatrixType(SdifHashTableT *MatrixTypesTable);
#include "SdifMatrixType.h"
SdifUInt2 SdifExistUserMatrixType(SdifHashTableT *MatrixTypesTable);
typedef struct SdifBlockNodeS SdifBlockNodeT;
#include "SdifMemory.h"
typedef struct SdifBlockNodeS SdifBlockNodeT;
struct SdifBlockNodeS ;
#include "SdifMemory.h"
struct SdifBlockNodeS
{
SdifBlockNodeT* Next;
char file[_SdifMrNameSize];
int line;
char type[_SdifMrNameSize];
void* ptr;
size_t size;
size_t nbobj;
};
typedef struct SdifBlockListS SdifBlockListT;
#include "SdifMemory.h"
typedef struct SdifBlockListS SdifBlockListT;
struct SdifBlockListS ;
#include "SdifMemory.h"
struct SdifBlockListS
{
SdifBlockNodeT* Alloc;
size_t BytesAlloc;
size_t BytesTotalAlloc;
size_t BytesDeAlloc;
};
char *SdifMrType;
#include "SdifMemory.h"
char *SdifMrType;
SdifBlockNodeT* SdifCreateBlockNode (SdifBlockNodeT* Next, char *file, int line, char* type, void* ptr, size_t size, size_t nobj);
#include "SdifMemory.h"
SdifBlockNodeT* SdifCreateBlockNode (SdifBlockNodeT* Next, char *file, int line, char* type, void* ptr, size_t size, size_t nobj);
SdifBlockNodeT* SdifKillBlockNode (SdifBlockNodeT* BlockNode);
#include "SdifMemory.h"
SdifBlockNodeT* SdifKillBlockNode (SdifBlockNodeT* BlockNode);
void SdifPrintBlockNode (int sizealloc, char* mess, SdifBlockNodeT* BlockNode);
#include "SdifMemory.h"
void SdifPrintBlockNode (int sizealloc, char* mess, SdifBlockNodeT* BlockNode);
void* SdifMr_alloc (SdifBlockListT* L, size_t size, size_t nobj);
#include "SdifMemory.h"
void* SdifMr_alloc (SdifBlockListT* L, size_t size, size_t nobj);
size_t SdifMr_free (SdifBlockListT* L, void* ptr);
#include "SdifMemory.h"
size_t SdifMr_free (SdifBlockListT* L, void* ptr);
void* SdifMr_realloc (SdifBlockListT* L, void* oldptr, size_t size, size_t nobj);
#include "SdifMemory.h"
void* SdifMr_realloc (SdifBlockListT* L, void* oldptr, size_t size, size_t nobj);
void SdifMrDrainBlockList (SdifBlockListT* L);
#include "SdifMemory.h"
void SdifMrDrainBlockList (SdifBlockListT* L);
typedef struct SdifNameValueS SdifNameValueT;
#include "SdifNameValue.h"
typedef struct SdifNameValueS SdifNameValueT;
struct SdifNameValueS ;
#include "SdifNameValue.h"
struct SdifNameValueS
{
char *Name;
char *Value;
} ;
SdifNameValueT* SdifCreateNameValue(const char *Name, const char *Value);
#include "SdifNameValue.h"
SdifNameValueT* SdifCreateNameValue(const char *Name, const char *Value);
void SdifKillNameValue(SdifNameValueT *NameValue);
#include "SdifNameValue.h"
void SdifKillNameValue(SdifNameValueT *NameValue);
typedef struct SdifNameValueTableS SdifNameValueTableT;
#include "SdifNameValue.h"
typedef struct SdifNameValueTableS SdifNameValueTableT;
struct SdifNameValueTableS ;
#include "SdifNameValue.h"
struct SdifNameValueTableS
{
SdifHashTableT* NVHT;
SdifUInt4 NumTable;
SdifUInt4 StreamID; /* id of stream the table belongs to */
} ;
SdifNameValueTableT* SdifCreateNameValueTable( SdifUInt4 StreamID, SdifUInt4 HashSize, SdifUInt4 NumTable);
#include "SdifNameValue.h"
SdifNameValueTableT* SdifCreateNameValueTable( SdifUInt4 StreamID,
SdifUInt4 HashSize,
SdifUInt4 NumTable);
void SdifKillNameValueTable (void* NVTable);
#include "SdifNameValue.h"
void SdifKillNameValueTable (void* NVTable);
SdifNameValueT* SdifNameValueTableGetNV (SdifNameValueTableT* NVTable, const char *Name);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValueTableGetNV (SdifNameValueTableT* NVTable, const char *Name);
SdifNameValueT* SdifNameValueTablePutNV (SdifNameValueTableT* NVTable, const char *Name, const char *Value);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValueTablePutNV (SdifNameValueTableT* NVTable, const char *Name, const char *Value);
SdifFloat8 SdifNameValueTableGetTime (SdifNameValueTableT* NVTable);
#include "SdifNameValue.h"
SdifFloat8 SdifNameValueTableGetTime (SdifNameValueTableT* NVTable);
SdifUInt4 SdifNameValueTableGetNumTable (SdifNameValueTableT* NVTable);
#include "SdifNameValue.h"
SdifUInt4 SdifNameValueTableGetNumTable (SdifNameValueTableT* NVTable);
SdifUInt4 SdifNameValueTableGetStreamID (SdifNameValueTableT* NVTable);
#include "SdifNameValue.h"
SdifUInt4 SdifNameValueTableGetStreamID (SdifNameValueTableT* NVTable);
typedef struct SdifNameValuesLS SdifNameValuesLT;
#include "SdifNameValue.h"
typedef struct SdifNameValuesLS SdifNameValuesLT;
struct SdifNameValuesLS ;
#include "SdifNameValue.h"
struct SdifNameValuesLS
{
SdifListT* NVTList;
SdifNameValueTableT* CurrNVT;
SdifUInt4 HashSize;
};
SdifNameValuesLT* SdifCreateNameValuesL (SdifUInt4 HashSize);
#include "SdifNameValue.h"
SdifNameValuesLT* SdifCreateNameValuesL (SdifUInt4 HashSize);
void SdifKillNameValuesL (SdifNameValuesLT *NameValuesL);
#include "SdifNameValue.h"
void SdifKillNameValuesL (SdifNameValuesLT *NameValuesL);
SdifNameValuesLT* SdifNameValuesLNewTable (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID);
#include "SdifNameValue.h"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);
SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);
#include "SdifNameValue.h"
SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);
SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name);
SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name);
SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
SdifUInt2 SdifNameValuesLIsNotEmpty (SdifNameValuesLT *NameValuesL);
#include "SdifNameValue.h"
SdifUInt2 SdifNameValuesLIsNotEmpty (SdifNameValuesLT *NameValuesL);
SdifNameValuesLT* SdifNameValuesLNewHT (SdifNameValuesLT *NameValuesL);
#include "SdifNameValue.h"
SdifNameValuesLT* SdifNameValuesLNewHT (SdifNameValuesLT *NameValuesL);
SdifHashTableT* SdifNameValuesLSetCurrHT(SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrHT);
#include "SdifNameValue.h"
SdifHashTableT* SdifNameValuesLSetCurrHT(SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrHT);
SdifNameValueT* SdifNameValuesLGetCurrHT(SdifNameValuesLT *NameValuesL, char *Name);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValuesLGetCurrHT(SdifNameValuesLT *NameValuesL, char *Name);
SdifNameValueT* SdifNameValuesLPutCurrHT(SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
#include "SdifNameValue.h"
SdifNameValueT* SdifNameValuesLPutCurrHT(SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);
SdifFrameTypeT* CreateF_1FOB(void);
#include "SdifPreTypes.h"
SdifFrameTypeT* CreateF_1FOB(void);
SdifFrameTypeT* CreateF_1REB(void);
#include "SdifPreTypes.h"
SdifFrameTypeT* CreateF_1REB(void);
SdifFrameTypeT* CreateF_1NOI(void);
#include "SdifPreTypes.h"
SdifFrameTypeT* CreateF_1NOI(void);
void SdifCreatePredefinedTypes(SdifHashTableT *MatrixTypesHT, SdifHashTableT *FrameTypesHT);
#include "SdifPreTypes.h"
void SdifCreatePredefinedTypes(SdifHashTableT *MatrixTypesHT,
SdifHashTableT *FrameTypesHT);
void SdifPrintMatrixType(FILE *fw, SdifMatrixTypeT *MatrixType);
#include "SdifPrint.h"
void SdifPrintMatrixType(FILE *fw, SdifMatrixTypeT *MatrixType);
void SdifPrintAllMatrixType(FILE *fw, SdifFileT *SdifF);
#include "SdifPrint.h"
void SdifPrintAllMatrixType(FILE *fw, SdifFileT *SdifF);
void SdifPrintFrameType(FILE *fw, SdifFrameTypeT *FrameType);
#include "SdifPrint.h"
void SdifPrintFrameType(FILE *fw, SdifFrameTypeT *FrameType);
void SdifPrintAllFrameType(FILE *fw, SdifFileT *SdifF);
#include "SdifPrint.h"
void SdifPrintAllFrameType(FILE *fw, SdifFileT *SdifF);
void SdifPrintMatrixHeader(FILE *f, SdifMatrixHeaderT *MatrixHeader);
#include "SdifPrint.h"
void SdifPrintMatrixHeader(FILE *f, SdifMatrixHeaderT *MatrixHeader);
void SdifPrintOneRow(FILE *f, SdifOneRowT *OneRow);
#include "SdifPrint.h"
void SdifPrintOneRow(FILE *f, SdifOneRowT *OneRow);
void SdifPrintMatrixRows(FILE* f, SdifMatrixDataT *MatrixData);
#include "SdifPrint.h"
void SdifPrintMatrixRows(FILE* f, SdifMatrixDataT *MatrixData);
void SdifPrintFrameHeader(FILE *f, SdifFrameHeaderT* FrameHeader);
#include "SdifPrint.h"
void SdifPrintFrameHeader(FILE *f, SdifFrameHeaderT* FrameHeader);
void SdifPrintAllType(FILE *fw, SdifFileT *SdifF);
#include "SdifPrint.h"
void SdifPrintAllType(FILE *fw, SdifFileT *SdifF);
size_t Sdiffread (void *ptr, size_t size, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
size_t Sdiffwrite (void *ptr, size_t size, size_t nobj, FILE *stream);
size_t SdiffReadChar (SdifChar *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadChar (SdifChar *ptr, size_t nobj, FILE *stream);
size_t SdiffReadInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
size_t SdiffReadFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffReadFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteChar (SdifChar *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteChar (SdifChar *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteInt2 (SdifInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteUInt2 (SdifUInt2 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteInt4 (SdifInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteUInt4 (SdifUInt4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteFloat4 (SdifFloat4 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteFloat8 (SdifFloat8 *ptr, size_t nobj, FILE *stream);
size_t SdiffWriteSignature (SdifSignature *Signature, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteSignature (SdifSignature *Signature, FILE *stream);
size_t SdiffWriteString (char* ptr, FILE *stream);
#include "SdifRWLowLevel.h"
size_t SdiffWriteString (char* ptr, FILE *stream);
size_t SdiffReadSpace (FILE* fr);
#include "SdifRWLowLevel.h"
size_t SdiffReadSpace (FILE* fr);
size_t SdiffReadSpacefromSdifString(SdifStringT *SdifString);
#include "SdifRWLowLevel.h"
size_t SdiffReadSpacefromSdifString(SdifStringT *SdifString);
int SdifIsAReservedChar (char c);
#include "SdifRWLowLevel.h"
int SdifIsAReservedChar (char c);
char *SdifStringToNV ( char *str);
#include "SdifRWLowLevel.h"
char *SdifStringToNV (/*in out*/ char *str);
int SdiffGetString (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead);
#include "SdifRWLowLevel.h"
int SdiffGetString (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead);
int SdiffGetSignature (FILE* fr, SdifSignature *Signature, size_t *NbCharRead);
#include "SdifRWLowLevel.h"
int SdiffGetSignature (FILE* fr, SdifSignature *Signature, size_t *NbCharRead);
int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);
#include "SdifRWLowLevel.h"
int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);
int SdiffGetWordUntil (FILE* fr, char* s, size_t ncMax, size_t *NbCharRead, char *CharsEnd);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
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);
#include "SdifRWLowLevel.h"
int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s,
size_t ncMax, char *CharsEnd);
int SdifSkipASCIIUntil (FILE* fr, size_t *NbCharRead, char *CharsEnd);
#include "SdifRWLowLevel.h"
int SdifSkipASCIIUntil (FILE* fr, size_t *NbCharRead, char *CharsEnd);
size_t SdiffScan_TYPE (FILE *stream, Sdif_TYPE *ptr, size_t nobj);
#include "SdifRWLowLevel.h"
size_t SdiffScan_TYPE (FILE *stream, Sdif_TYPE *ptr, size_t nobj);
size_t SdiffScanFloat4 (FILE *stream, SdifFloat4 *ptr, size_t nobj);
#include "SdifRWLowLevel.h"
size_t SdiffScanFloat4 (FILE *stream, SdifFloat4 *ptr, size_t nobj);
size_t SdiffScanFloat8 (FILE *stream, SdifFloat8 *ptr, size_t nobj);
#include "SdifRWLowLevel.h"
size_t SdiffScanFloat8 (FILE *stream, SdifFloat8 *ptr, size_t nobj);
SdifSignature SdifStringToSignature (char *str);
#include "SdifRWLowLevel.h"
SdifSignature SdifStringToSignature (char *str);
typedef enum SdifSelectTokens;
#include "SdifSelect.h"
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;
typedef struct SdifSelectElementIntT;
#include "SdifSelect.h"
typedef struct
{
int value, range;
SdifSelectTokens rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementIntT;
typedef struct SdifSelectElementRealT;
#include "SdifSelect.h"
typedef struct
{
double value, range;
SdifSelectTokens rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementRealT;
typedef union SdifSelectValueS SdifSelectValueT;
#include "SdifSelect.h"
typedef union SdifSelectValueS
{
int integer;
double real;
char *string;
SdifSignature signature;
} SdifSelectValueT;
typedef struct SdifSelectElementS SdifSelectElementT, *SdifSelectElementP;
#include "SdifSelect.h"
typedef struct SdifSelectElementS
{
SdifSelectValueT value;
SdifSelectValueT range;
SdifSelectTokens rangetype; /* 0 for not present, sst_range, sst_delta */
} SdifSelectElementT, *SdifSelectElementP;
typedef struct SdifSelectionT;
#include "SdifSelect.h"
typedef struct
{
char *filename, /* allocated / freed by
SdifInitSelection / SdifFreeSelection */
*basename; /* points into filename */
SdifListP stream, frame, matrix, column, row, time;
} SdifSelectionT;
char *SdifBaseName (const char* inPathFileName);
#include "SdifSelect.h"
char *SdifBaseName (const char* inPathFileName);
int SdifInitSelect (void);
#include "SdifSelect.h"
int SdifInitSelect (void);
SdifSelectionT *SdifCreateSelection (void);
#include "SdifSelect.h"
SdifSelectionT *SdifCreateSelection (void);
int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);
#include "SdifSelect.h"
int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);
int SdifFreeSelection (SdifSelectionT *sel);
#include "SdifSelect.h"
int SdifFreeSelection (SdifSelectionT *sel);
char *SdifSelectFindSelection (const char *filename);
#include "SdifSelect.h"
char *SdifSelectFindSelection (const char *filename);
char *SdifGetFilenameAndSelection ( const char *filename, SdifSelectionT *sel);
#include "SdifSelect.h"
char *SdifGetFilenameAndSelection (/*in*/ const char *filename,
/*out*/ SdifSelectionT *sel);
void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);
#include "SdifSelect.h"
void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);
void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);
#include "SdifSelect.h"
Int, Real, Signature, String, for
[] _datatype_ of:
int, double, SdifSignature, char *, respectively.
void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);
void SdifSelectAdd_TYPE_Range (SdifListT *list, _datatype_ value, SdifSelectTokens rt, _datatype_ range);
#include "SdifSelect.h"
Int, Real, Signature, String, for
[] _datatype_ of:
int, double, SdifSignature, char *, respectively.
void SdifSelectAdd_TYPE_Range (SdifListT *list,
_datatype_ value,
SdifSelectTokens rt,
_datatype_ range);
void SdifSelectAddIntRange (SdifListT *list, int value, SdifSelectTokens rt, int range) ;
#include "SdifSelect.h"
void SdifSelectAddIntRange (SdifListT *list, int value, SdifSelectTokens rt, int range) ;
void SdifSelectAddReal (SdifListT *list, double value) ;
#include "SdifSelect.h"
void SdifSelectAddReal (SdifListT *list, double value) ;
void SdifSelectAddRealRange (SdifListT *list, double value, SdifSelectTokens rt, double range) ;
#include "SdifSelect.h"
void SdifSelectAddRealRange (SdifListT *list, double value, SdifSelectTokens rt, double range) ;
void SdifSelectAddSignature (SdifListT *list, SdifSignature value) ;
#include "SdifSelect.h"
void SdifSelectAddSignature (SdifListT *list, SdifSignature value) ;
void SdifSelectAddSignatureRange (SdifListT *list, SdifSignature value, SdifSelectTokens rt, SdifSignature range) ;
#include "SdifSelect.h"
void SdifSelectAddSignatureRange (SdifListT *list, SdifSignature value, SdifSelectTokens rt, SdifSignature range) ;
void SdifSelectAddString (SdifListT *list, char * value) ;
#include "SdifSelect.h"
void SdifSelectAddString (SdifListT *list, char * value) ;
void SdifSelectAddStringRange (SdifListT *list, char * value, SdifSelectTokens rt, char * range) ;
#include "SdifSelect.h"
void SdifSelectAddStringRange (SdifListT *list, char * value, SdifSelectTokens rt, char * range) ;
int SdifSelectGetNextIntRange ( SdifListP list, SdifSelectElementIntT *range, int force_range);
#include "SdifSelect.h"
int SdifSelectGetNextIntRange (/*in*/ SdifListP list,
/*out*/ SdifSelectElementIntT *range,
/*in*/ int force_range);
int SdifSelectGetNextRealRange ( SdifListP list, SdifSelectElementRealT *range, int force_range);
#include "SdifSelect.h"
int SdifSelectGetNextRealRange (/*in*/ SdifListP list,
/*out*/ SdifSelectElementRealT *range,
/*in*/ int force_range);
SdifSignature SdifSelectGetNextSignature ( SdifListP list);
#include "SdifSelect.h"
SdifSignature SdifSelectGetNextSignature (/*in*/ SdifListP list);
char *SdifSelectGetNextString ( SdifListP list);
#include "SdifSelect.h"
char *SdifSelectGetNextString (/*in*/ SdifListP list);
int SdifSelectGetFirstInt (SdifListP l, int defval);
#include "SdifSelect.h"
int SdifSelectGetFirstInt (SdifListP l, int defval);
double SdifSelectGetFirstReal (SdifListP l, double defval);
#include "SdifSelect.h"
double SdifSelectGetFirstReal (SdifListP l, double defval);
char *SdifSelectGetFirstString (SdifListP l, char *defval);
#include "SdifSelect.h"
char *SdifSelectGetFirstString (SdifListP l, char *defval);
SdifSignature SdifSelectGetFirstSignature (SdifListP l, SdifSignature defval);
#include "SdifSelect.h"
SdifSignature SdifSelectGetFirstSignature (SdifListP l, SdifSignature defval);
int SdifSelectTestIntRange (SdifSelectElementT *elem, int cand);
#include "SdifSelect.h"
int SdifSelectTestIntRange (SdifSelectElementT *elem, int cand);
int SdifSelectTestRealRange (SdifSelectElementT *elem, double cand);
#include "SdifSelect.h"
int SdifSelectTestRealRange (SdifSelectElementT *elem, double cand);
int SdifSelectTestInt (SdifListT *list, int cand);
#include "SdifSelect.h"
int SdifSelectTestInt (SdifListT *list, int cand);
int SdifSelectTestReal (SdifListT *list, double cand);
#include "SdifSelect.h"
int SdifSelectTestReal (SdifListT *list, double cand);
int SdifSelectTestSignature (SdifListT *list, const SdifSignature cand);
#include "SdifSelect.h"
int SdifSelectTestSignature (SdifListT *list, const SdifSignature cand);
int SdifSelectTestString (SdifListT *list, const char *cand);
#include "SdifSelect.h"
int SdifSelectTestString (SdifListT *list, const char *cand);
typedef struct SdifFileS SdifFileT;
#include "SdifSelect.h"
typedef struct SdifFileS SdifFileT;
int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);
#include "SdifSelect.h"
int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);
int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);
#include "SdifSelect.h"
int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);
int SdifFCurrFrameIsSelected (SdifFileT *file);
#include "SdifSelect.h"
int SdifFCurrFrameIsSelected (SdifFileT *file);
int SdifFCurrMatrixIsSelected (SdifFileT *file);
#include "SdifSelect.h"
int SdifFCurrMatrixIsSelected (SdifFileT *file);
typedef struct SdifSignatureTabS SdifSignatureTabT;
#include "SdifSignatureTab.h"
typedef struct SdifSignatureTabS SdifSignatureTabT;
struct SdifSignatureTabS ;
#include "SdifSignatureTab.h"
struct SdifSignatureTabS
{
SdifUInt4 NbSignMax;
SdifUInt4 NbSign;
SdifSignature* Tab;
};
SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);
#include "SdifSignatureTab.h"
SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);
void SdifKillSignatureTab (SdifSignatureTabT *SignTab);
#include "SdifSignatureTab.h"
void SdifKillSignatureTab (SdifSignatureTabT *SignTab);
SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);
#include "SdifSignatureTab.h"
SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab,
const SdifUInt4 NewNbSignMax);
SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);
#include "SdifSignatureTab.h"
SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab,
const SdifUInt4 NewNbSignMax);
SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);
#include "SdifSignatureTab.h"
SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab,
const SdifSignature Sign);
SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);
#include "SdifSignatureTab.h"
SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab,
const SdifSignature Sign);
SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, const int index);
#include "SdifSignatureTab.h"
SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab,
const int index);
SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab, const SdifSignature Sign);
#include "SdifSignatureTab.h"
SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab,
const SdifSignature Sign);
int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, const SdifSignature Sign);
#include "SdifSignatureTab.h"
int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab,
const SdifSignature Sign);
typedef struct SdifStreamIDS SdifStreamIDT;
#include "SdifStreamID.h"
typedef struct SdifStreamIDS SdifStreamIDT;
struct SdifStreamIDS ;
#include "SdifStreamID.h"
struct SdifStreamIDS
{
SdifUInt4 NumID;
char *Source;
char *TreeWay; /* for the moment or to be general*/
} ;
typedef struct SdifStreamIDTableS SdifStreamIDTableT;
#include "SdifStreamID.h"
typedef struct SdifStreamIDTableS SdifStreamIDTableT;
struct SdifStreamIDTableS ;
#include "SdifStreamID.h"
struct SdifStreamIDTableS
{
SdifHashTableT* SIDHT;
SdifUInt4 StreamID;
SdifFloat8 Time; /* always _SdifNoTime */
} ;
SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay);
#include "SdifStreamID.h"
void ConsOneStreamID(SdifFileT *SdifF,
int NumID,
char *PatchType,
int NumPatch,
char *ObjType,
int NumObj,
int NbSubObj,
float StartTime,
float EndTime)
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);
void SdifKillStreamID(SdifStreamIDT *StreamID);
#include "SdifStreamID.h"
void SdifKillStreamID(SdifStreamIDT *StreamID);
SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize);
#include "SdifStreamID.h"
SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize);
void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable);
#include "SdifStreamID.h"
void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable);
SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID, char *Source, char *TreeWay);
#include "SdifStreamID.h"
SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable,
SdifUInt4 NumID,
char *Source,
char *TreeWay);
SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID);
#include "SdifStreamID.h"
SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable,
SdifUInt4 NumID);
SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable);
#include "SdifStreamID.h"
SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable);
SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID);
#include "SdifStreamID.h"
SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID);
char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID);
#include "SdifStreamID.h"
char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID);
char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID);
#include "SdifStreamID.h"
char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID);
typedef struct SdifStringS SdifStringT;
#include "SdifString.h"
typedef struct SdifStringS SdifStringT;
struct SdifStringS ;
#include "SdifString.h"
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 */
};
SdifStringT * SdifStringNew(void);
#include "SdifString.h"
SdifStringT * SdifStringNew(void);
void SdifStringFree(SdifStringT * SdifString);
#include "SdifString.h"
void SdifStringFree(SdifStringT * SdifString);
int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);
#include "SdifString.h"
int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);
int SdifStringGetC(SdifStringT * SdifString);
#include "SdifString.h"
int SdifStringGetC(SdifStringT * SdifString);
int SdifStringUngetC(SdifStringT * SdifString);
#include "SdifString.h"
int SdifStringUngetC(SdifStringT * SdifString);
int SdifStringIsEOS(SdifStringT *SdifString);
#include "SdifString.h"
int SdifStringIsEOS(SdifStringT *SdifString);
SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature);
#include "SdifTest.h"
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);
SdifFrameTypeT* SdifTestFrameType (SdifFileT *SdifF, SdifSignature Signature);
#include "SdifTest.h"
SdifFrameTypeT* SdifTestFrameType (SdifFileT *SdifF, SdifSignature Signature);
int SdifFTestMatrixWithFrameHeader (SdifFileT* SdifF);
#include "SdifTest.h"
int SdifFTestMatrixWithFrameHeader (SdifFileT* SdifF);
int SdifFTestDataType (SdifFileT* SdifF);
#include "SdifTest.h"
int SdifFTestDataType (SdifFileT* SdifF);
int SdifFTestNbColumns (SdifFileT* SdifF);
#include "SdifTest.h"
int SdifFTestNbColumns (SdifFileT* SdifF);
int SdifFTestNotEmptyMatrix (SdifFileT* SdifF);
#include "SdifTest.h"
int SdifFTestNotEmptyMatrix (SdifFileT* SdifF);
int SdifFTestMatrixHeader (SdifFileT* SdifF);
#include "SdifTest.h"
int SdifFTestMatrixHeader (SdifFileT* SdifF);
SdifColumnDefT* SdifTestColumnDef (SdifFileT *SdifF, SdifMatrixTypeT *MtrxT, char *NameCD);
#include "SdifTest.h"
SdifColumnDefT* SdifTestColumnDef (SdifFileT *SdifF, SdifMatrixTypeT *MtrxT, char *NameCD);
SdifComponentT* SdifTestComponent (SdifFileT* SdifF, SdifFrameTypeT *FramT, char *NameCD);
#include "SdifTest.h"
SdifComponentT* SdifTestComponent (SdifFileT* SdifF, SdifFrameTypeT *FramT, char *NameCD);
int SdifTestSignature (SdifFileT *SdifF, int CharEnd, SdifSignature Signature, char *Mess);
#include "SdifTest.h"
int SdifTestSignature (SdifFileT *SdifF, int CharEnd, SdifSignature Signature, char *Mess);
int SdifTestCharEnd (SdifFileT *SdifF, int CharEnd, char MustBe, char *StringRead, int ErrCondition, char *Mess);
#include "SdifTest.h"
int SdifTestCharEnd (SdifFileT *SdifF, int CharEnd, char MustBe,
char *StringRead, int ErrCondition, char *Mess);
int SdifTestMatrixTypeModifMode (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);
#include "SdifTest.h"
int SdifTestMatrixTypeModifMode (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType);
int SdifTestFrameTypeModifMode (SdifFileT *SdifF, SdifFrameTypeT *FrameType);
#include "SdifTest.h"
int SdifTestFrameTypeModifMode (SdifFileT *SdifF, SdifFrameTypeT *FrameType);
size_t SdifFTextConvMatrixData (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvMatrixData (SdifFileT *SdifF);
size_t SdifFTextConvMatrix (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvMatrix (SdifFileT *SdifF);
size_t SdifFTextConvFrameData (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvFrameData (SdifFileT *SdifF);
size_t SdifFTextConvFrameHeader (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvFrameHeader (SdifFileT *SdifF);
size_t SdifFTextConvFrame (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvFrame (SdifFileT *SdifF);
size_t SdifFTextConvAllFrame (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvAllFrame (SdifFileT *SdifF);
size_t SdifFTextConvFramesChunk (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConvFramesChunk (SdifFileT *SdifF);
size_t SdifFTextConv (SdifFileT *SdifF);
#include "SdifTextConv.h"
size_t SdifFTextConv (SdifFileT *SdifF);
size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);
#include "SdifTextConv.h"
size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);
typedef struct SdifTimePositionS SdifTimePositionT;
#include "SdifTimePosition.h"
typedef struct SdifTimePositionS SdifTimePositionT;
struct SdifTimePositionS ;
#include "SdifTimePosition.h"
struct SdifTimePositionS
{
SdifFloat8 Time;
SdiffPosT Position;
} ;
SdifTimePositionT* SdifCreateTimePosition(SdifFloat8 Time, SdiffPosT Position);
#include "SdifTimePosition.h"
SdifTimePositionT* SdifCreateTimePosition(SdifFloat8 Time, SdiffPosT Position);
void SdifKillTimePosition(void* TimePosition);
#include "SdifTimePosition.h"
void SdifKillTimePosition(void* TimePosition);
typedef struct SdifTimePositionLS SdifTimePositionLT;
#include "SdifTimePosition.h"
typedef struct SdifTimePositionLS SdifTimePositionLT;
struct SdifTimePositionLS ;
#include "SdifTimePosition.h"
struct SdifTimePositionLS
{
SdifListT* TimePosList;
} ;
SdifTimePositionLT* SdifCreateTimePositionL(void);
#include "SdifTimePosition.h"
SdifTimePositionLT* SdifCreateTimePositionL(void);
void SdifKillTimePositionL (SdifTimePositionLT *TimePositionL);
#include "SdifTimePosition.h"
void SdifKillTimePositionL (SdifTimePositionLT *TimePositionL);
SdifTimePositionLT* SdifTimePositionLPutTail(SdifTimePositionLT* TimePositionL, SdifFloat8 Time, SdiffPosT Position);
#include "SdifTimePosition.h"
SdifTimePositionLT* SdifTimePositionLPutTail(SdifTimePositionLT* TimePositionL,
SdifFloat8 Time, SdiffPosT Position);
SdifTimePositionT* SdifTimePositionLGetTail(SdifTimePositionLT* TimePositionL);
#include "SdifTimePosition.h"
SdifTimePositionT* SdifTimePositionLGetTail(SdifTimePositionLT* TimePositionL);
Generated from source by the Cocoon utilities on Tue Aug 22 21:54:55 2000
.