int | SdifCheckFileFormat (const char *name); |
SdifSignature | SdifCheckFileFramesTab (const char *name, const SdifSignatureTabT *frames); |
int | SdifCheckFileFramesIndex (const char *name, const SdifSignature *frames); |
SdifSignature | SdifCheckNextFrame (SdifFileT *in, const SdifSignatureTabT *frames, int *index); |
SdifFileT* | SdifFTryOpen (const char *Name, SdifFileModeET Mode); |
size_t | SdifFConvToTextMatrixData (SdifFileT *SdifF); |
size_t | SdifFConvToTextMatrixHeader (SdifFileT *SdifF); |
size_t | SdifFConvToTextMatrix (SdifFileT *SdifF); |
size_t | SdifFConvToTextFrameData (SdifFileT *SdifF); |
size_t | SdifFConvToTextFrameHeader (SdifFileT *SdifF); |
size_t | SdifFConvToTextFrame (SdifFileT *SdifF); |
size_t | SdifFConvToTextAllFrame (SdifFileT *SdifF); |
size_t | SdifFConvToText (SdifFileT *SdifF); |
size_t | SdifToText (SdifFileT *SdifF, char *TextStreamName); |
|
| // Error Handling |
SdifErrorT* | SdifCreateError (SdifErrorTagET Tag, SdifErrorLevelET Level, const char* UserMess); |
void | SdifKillError (void *Error); |
SdifErrorLT* | SdifCreateErrorL (SdifFileT* SdifF); |
void | SdifKillErrorL (SdifErrorLT *ErrorL); |
SdifUInt4 | SdifInsertTailError (SdifErrorLT* ErrorL, int ErrorCount [], SdifErrorTagET Tag, const char* UserMess); |
SdifErrorT* | SdifLastError (SdifErrorLT *ErrorL); |
SdifErrorTagET | SdifLastErrorTag (SdifErrorLT *ErrorL); |
SdifUInt4 | SdifFError (SdifFileT* SdifF, SdifErrorTagET ErrorTag, const char *UserMess, const char *file, const int line); |
SdifInt4 | SdifFsPrintError (char* oErrMess, SdifFileT* SdifF, SdifErrorT* Error, const char *LibFile, int LibLine); |
void | SdifEnableErrorOutput (void); |
void | SdifDisableErrorOutput (void); |
void | SdifSetExitFunc (SdifExitFuncT func); |
void | SdifErrorWarning(SdifErrorEnum Error, const void *ErrorMess); |
int | SdifFGetSignature (SdifFileT *SdifF, size_t *NbCharRead); |
int | SdifFGetOneNameValue (SdifFileT *SdifF, int Verbose, size_t *NbCharRead); |
size_t | SdifFGetNameValueLCurrNVT(SdifFileT *SdifF, int Verbose); |
int | SdifFNameValueLCurrNVTfromString (SdifFileT *SdifF, char *str); |
size_t | SdifFGetOneMatrixType (SdifFileT *SdifF, int Verbose); |
size_t | SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); |
int | SdifFGetOneComponent (SdifFileT *SdifF, int Verbose, SdifSignature *MatrixSignature, char *ComponentName, size_t *NbCharRead); |
int | SdifFGetOneComponentfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString, SdifSignature *MatrixSignature, char *ComponentName); |
size_t | SdifFGetOneFrameType (SdifFileT *SdifF, int Verbose); |
size_t | SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); |
size_t | SdifFGetAllType (SdifFileT *SdifF, int Verbose); |
size_t | SdifFGetAllTypefromSdifString (SdifFileT *SdifF, SdifStringT *SdifString); |
int | SdifFGetOneStreamID (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead); |
int | SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); |
size_t | SdifFGetAllStreamID (SdifFileT *SdifF, int Verbose); |
size_t | SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); |
|
| // * obsolete |
size_t | SdifFGetNameValueCurrHT (SdifFileT *SdifF, int Verbose); |
size_t | SdifFPrintGeneralHeader (SdifFileT *SdifF); |
size_t | SdifFPrintNameValueLCurrNVT (SdifFileT *SdifF); |
size_t | SdifFPrintAllNameValueNVT (SdifFileT *SdifF); |
size_t | SdifFPrintAllType (SdifFileT *SdifF); |
size_t | SdifFPrintAllStreamID (SdifFileT *SdifF); |
size_t | SdifFPrintAllASCIIChunks (SdifFileT *SdifF); |
size_t | SdifFPrintMatrixHeader (SdifFileT *SdifF); |
size_t | SdifFPrintFrameHeader (SdifFileT *SdifF); |
size_t | SdifFPrintOneRow (SdifFileT *SdifF); |
size_t | SdifFPrintMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType); |
size_t | SdifFPrintFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType); |
|
| // * obsolete |
size_t | SdifFPrintNameValueCurrHT (SdifFileT *SdifF); |
size_t | SdifFPrintAllNameValueHT (SdifFileT *SdifF); |
size_t | SdifFPutOneNameValue (SdifFileT *SdifF, int Verbose, SdifNameValueT *NameValue); |
size_t | SdifFPutNameValueLCurrNVT (SdifFileT *SdifF, int Verbose); |
int | SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString); |
size_t | SdifFPutOneMatrixType (SdifFileT *SdifF, int Verbose, SdifMatrixTypeT *MatrixType); |
int | SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString); |
size_t | SdifFPutAllMatrixType (SdifFileT *SdifF, int Verbose); |
int | SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring); |
size_t | SdifFPutOneComponent(SdifFileT *SdifF, int Verbose, SdifComponentT *Component); |
int | SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString); |
size_t | SdifFPutOneFrameType(SdifFileT *SdifF, int Verbose, SdifFrameTypeT *FrameType); |
int | SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString); |
size_t | SdifFPutAllFrameType (SdifFileT *SdifF, int Verbose); |
int | SdifFAllFrameTypeToSdifString (SdifFileT *SdifF, SdifStringT *SdifString); |
size_t | SdifFPutAllType (SdifFileT *SdifF, int Verbose); |
size_t | SdifFPutOneStreamID (SdifFileT *SdifF, int Verbose, SdifStreamIDT *StreamID); |
int | SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID); |
size_t | SdifFPutAllStreamID (SdifFileT *SdifF, int Verbose); |
int | SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString); |
|
| // * obsolete |
size_t | SdifFPutNameValueCurrHT (SdifFileT *SdifF, int Verbose); |
size_t | SdifFReadGeneralHeader (SdifFileT *SdifF); |
size_t | SdifFReadChunkSize (SdifFileT *SdifF); |
size_t | SdifFReadNameValueLCurrNVT(SdifFileT *SdifF); |
size_t | SdifFReadAllType (SdifFileT *SdifF); |
size_t | SdifFReadAllStreamID (SdifFileT *SdifF); |
size_t | SdifFReadAllASCIIChunks (SdifFileT *SdifF); |
size_t | SdifFReadMatrixHeader (SdifFileT *SdifF); |
size_t | SdifFReadOneRow (SdifFileT *SdifF); |
size_t | SdifFReadFrameHeader (SdifFileT *SdifF); |
size_t | SdifFSkipMatrix (SdifFileT *SdifF); |
|
| // obsolete |
size_t | SdifSkipMatrix (SdifFileT *SdifF); |
size_t | SdifFSkipMatrixData (SdifFileT *SdifF); |
|
| // obsolete |
size_t | SdifSkipMatrixData (SdifFileT *SdifF); |
size_t | SdifFSkipFrameData (SdifFileT *SdifF); |
|
| // obsolete |
size_t | SdifSkipFrameData (SdifFileT *SdifF); |
size_t | SdifFReadPadding (SdifFileT *SdifF, size_t Padding); |
size_t | SdifFReadUndeterminatedPadding (SdifFileT *SdifF); |
size_t | SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes); |
size_t | SdifFReadOneMatrixType (SdifFileT *SdifF); |
size_t | SdifFReadOneFrameType (SdifFileT *SdifF); |
size_t | SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString); |
size_t | SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString); |
|
| // * obsolete |
size_t | SdifFReadNameValueCurrHT (SdifFileT *SdifF); |
size_t | SdifFScanGeneralHeader (SdifFileT *SdifF); |
size_t | SdifFScanNameValueLCurrNVT (SdifFileT *SdifF); |
size_t | SdifFScanAllType (SdifFileT *SdifF); |
size_t | SdifFScanAllStreamID (SdifFileT *SdifF); |
size_t | SdifFScanAllASCIIChunks (SdifFileT *SdifF); |
void | SdifFScanMatrixHeader (SdifFileT *SdifF); |
void | SdifFScanFrameHeader (SdifFileT *SdifF); |
void | SdifFScanOneRow (SdifFileT *SdifF); |
size_t | SdifFScanMatrixType (SdifFileT *SdifF); |
size_t | SdifFScanFrameType (SdifFileT *SdifF); |
|
| // * obsolete |
size_t | SdifFScanNameValueCurrHT (SdifFileT *SdifF); |
size_t | SdifFWriteGeneralHeader (SdifFileT *SdifF); |
size_t | SdifFWriteChunkHeader (SdifFileT *SdifF, SdifSignature ChunkSignature, size_t ChunkSize); |
size_t | SdifFWriteNameValueLCurrNVT (SdifFileT *SdifF); |
size_t | SdifFWriteAllNameValueNVT (SdifFileT *SdifF); |
size_t | SdifFWriteOneNameValue (SdifFileT *SdifF, SdifNameValueT *NameValue); |
size_t | SdifFWriteOneMatrixType (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType); |
size_t | SdifFWriteOneComponent (SdifFileT *SdifF, SdifComponentT *Component); |
size_t | SdifFWriteOneFrameType (SdifFileT *SdifF, SdifFrameTypeT *FrameType); |
size_t | SdifFWriteOneStreamID (SdifFileT *SdifF, SdifStreamIDT *StreamID); |
size_t | SdifFWriteAllMatrixType (SdifFileT* SdifF); |
size_t | SdifFWriteAllFrameType (SdifFileT *SdifF); |
size_t | SdifFWriteAllType (SdifFileT *SdifF); |
size_t | SdifFWriteAllStreamID (SdifFileT *SdifF); |
size_t | SdifFWriteAllASCIIChunks (SdifFileT *SdifF); |
size_t | SdifFWriteMatrixHeader (SdifFileT *SdifF); |
size_t | SdifFWriteOneRow (SdifFileT *SdifF); |
size_t | SdifFWriteMatrixData (SdifFileT *SdifF, void *Data); |
size_t | SdifFWriteMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data); |
size_t | SdifFWriteTextMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Length, char *Data); |
size_t | SdifAsciiToUTF8 (char *ascii_in, char *utf8_out); |
size_t | SdifFWritePadding (SdifFileT *SdifF, size_t Padding); |
size_t | SdifFWriteFrameHeader (SdifFileT *SdifF); |
void | SdifUpdateChunkSize (SdifFileT *SdifF, size_t ChunkSize); |
int | SdifUpdateFrameHeader (SdifFileT *SdifF, size_t ChunkSize, SdifInt4 NumMatrix); |
size_t | SdifFWriteFrameAndOneMatrix (SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data); |
size_t | SdifSizeOfFrameHeader (void); |
size_t | SdifSizeOfMatrix (SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol); |
size_t | SdifFWriteTextFrame(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, char *str, size_t length); |
size_t | SdifFWriteTextFrameSdifString(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifStringT *SdifString); |
|
| // * obsolete |
size_t | SdifFWriteNameValueCurrHT (SdifFileT *SdifF); |
size_t | SdifFWriteAllNameValueHT (SdifFileT *SdifF); |
|
| // Opening and Closing of Files |
|
| // DOC: |
SdifFileT* | SdifFOpen (const char *Name, SdifFileModeET Mode); |
SdifFileT* | SdifOpenFile (const char *Name, SdifFileModeET Mode); |
SdifFileT* | SdifFOpenText (SdifFileT *SdifF, const char* Name, SdifFileModeET Mode); |
|
| // DOC: |
void | SdifFClose (SdifFileT *SdifF); |
void | SdifCloseFile (SdifFileT *SdifF); |
SdifFrameHeaderT* | SdifFCreateCurrFramH (SdifFileT *SdifF, SdifSignature Signature); |
SdifMatrixHeaderT* | SdifFCreateCurrMtrxH (SdifFileT *SdifF); |
FILE* | SdifFGetFILE_SwitchVerbose (SdifFileT *SdifF, int Verbose); |
void | SdifTakeCodedPredefinedTypes (SdifFileT *SdifF); |
void | SdifFLoadPredefinedTypes (SdifFileT *SdifF, char *TypesFileName); |
|
| // Init/Deinit of the Library |
void | SdifGenInit (char *PredefinedTypesFile); |
void | SdifGenInitCond (char *PredefinedTypesFile); |
void | SdifGenKill (void); |
void | SdifPrintVersion(void); |
|
| // Current Header Access Functions |
SdifFrameHeaderT* | SdifFSetCurrFrameHeader (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time); |
SdifMatrixHeaderT* | SdifFSetCurrMatrixHeader (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol); |
SdifOneRowT* | SdifFSetCurrOneRow (SdifFileT *SdifF, void *Values); |
SdifOneRowT* | SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol, SdifFloat8 Value); |
SdifFloat8 | SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol); |
SdifFloat8 | SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD); |
SdifSignature | SdifFCurrSignature (SdifFileT *SdifF); |
SdifSignature | SdifFCleanCurrSignature (SdifFileT *SdifF); |
SdifSignature | SdifFCurrFrameSignature (SdifFileT *SdifF); |
SdifSignature | SdifFCurrMatrixSignature (SdifFileT *SdifF); |
SdifOneRowT* | SdifFCurrOneRow (SdifFileT *SdifF); |
void* | SdifFCurrOneRowData (SdifFileT *SdifF); |
SdifUInt4 | SdifFCurrNbCol (SdifFileT *SdifF); |
SdifUInt4 | SdifFCurrNbRow (SdifFileT *SdifF); |
SdifDataTypeET | SdifFCurrDataType (SdifFileT *SdifF); |
SdifUInt4 | SdifFCurrNbMatrix (SdifFileT *SdifF); |
SdifUInt4 | SdifFCurrID (SdifFileT *SdifF); |
SdifFloat8 | SdifFCurrTime (SdifFileT *SdifF); |
|
| // File Data Access Functions |
SdifNameValuesLT * | SdifFNameValueList (SdifFileT *file); |
int | SdifFNameValueNum (SdifFileT *file); |
SdifStreamIDTableT * | SdifFStreamIDTable (SdifFileT *file); |
int | SdifFAddUserData (SdifFileT *file, void *data); |
void * | SdifFGetUserData (SdifFileT *file, int index); |
SdifFileT* | SdifFReInitMtrxUsed (SdifFileT *SdifF); |
SdifFileT* | SdifFPutInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign); |
SdifSignature | SdifFIsInMtrxUsed (SdifFileT *SdifF, SdifSignature Sign); |
|
| // Error flag for file |
int | SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto); |
SdifErrorT* | SdifFLastError (SdifFileT *SdifF); |
SdifErrorTagET | SdifFLastErrorTag (SdifFileT *SdifF); |
SdifFrameHeaderT* | SdifCreateFrameHeader(SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time); |
|