IUF-SDK-3
Interventional Ultrasound Library
iufFile.h
Go to the documentation of this file.
1 #include "iufHistoryNode.h"
2 
3 #ifndef IUFLIBRARY_IUFFILE_H
4 #define IUFLIBRARY_IUFFILE_H
5 
6 // ADT
7 typedef struct IufFile IufFile;
9 typedef IufFile *iuf_t;
10 #define IUFI_INVALID (iuf_t) NULL
11 
16 (
17  char *pFilename
18 );
19 
23 int iufFileDelete
24 (
25  iuf_t file
26 );
27 
32 (
33  iuf_t reference,
34  iuf_t actual
35 );
36 
41 (
42  iuf_t file
43 );
44 
48 const char *iufFileGetType
49 (
50  iuf_t file
51 );
52 
57 (
58  iuf_t file,
60 );
61 #endif //IUFLIBRARY_IUFFILE_H
iuhn_t iufFileGetHistoryTree(iuf_t file)
Gets the history node of the IufFile.
Definition: iufFile.c:88
Definition: iufFile.c:7
const char * iufFileGetType(iuf_t file)
Gets the type label of the IufFile.
Definition: iufFile.c:101
Definition: iufHistoryNodeADT.h:4
int iufFileDelete(iuf_t file)
Deletes an IufFile object. returns IUF_E_OK when successful and IUF_ERR_VALUE otherwise.
Definition: iufFile.c:15
iuf_t iufFileLoad(char *pFilename)
Create an IufFile from the file pFilename.
Definition: iufFile.c:50
IufFile * iuf_t
Definition: iufFile.h:9
iuhn_t history
Definition: iufFile.c:9
int iufFileSetHistoryTree(iuf_t file, iuhn_t history)
Sets the IufHistoryNode of the IufFile.
Definition: iufFile.c:115
int iufFileCompare(iuf_t reference, iuf_t actual)
Compares two IufFile objects with each other. returns IUF_TRUE when the two files are equal and IUF_F...
Definition: iufFile.c:38