| 
    OpenCMISS-Iron Internal API Documentation
    
   | 
 

Go to the source code of this file.
Macros | |
| #define | INTEGERTYPE 1 | 
| #define | SHORTINTTYPE 2 | 
| #define | LONGINTTYPE 3 | 
| #define | FLOATTYPE 4 | 
| #define | DOUBLETYPE 5 | 
| #define | QUADRUPLETYPE 6 | 
| #define | CHARTYPE 7 | 
| #define | LOGICALTYPE 8 | 
| #define | COMPLEXTYPE 9 | 
| #define | DOUBLECOMPLEXTYPE 10 | 
| #define | QUADRUPLECOMPLEXTYPE 11 | 
| #define | MAXBINFILES 99 | 
| #define | SAMEENDIAN 0 | 
| #define | FLIPENDIAN 1 | 
Typedefs | |
| typedef int | logical | 
Functions | |
| void | BinaryCloseFile (int *fileid, int *err, char *error_string) | 
| void | BinaryOpenFile (int *fileid, char *filename, char *access_code, int *err, char *error_string) | 
| void | BinaryReadFile (int *fileid, int *endian, int *number_of_items, int *item_type, char *data, int *err, char *error_string) | 
| void | BinarySetFile (int *fileid, int *set_code, int *err, char *error_string) | 
| void | BinarySkipFile (int *fileid, int *number_of_bytes, int *err, char *error_string) | 
| void | BinaryWriteFile (int *fileid, int *endian, int *number_of_items, int *item_type, char *data, int *err, char *error_string) | 
| void | IsBinaryFileOpen (int *fileid, int *returncode, int *err, char *error_string) | 
| void | IsEndBinaryFile (int *fileid, int *returncode, int *err, char *error_string) | 
Variables | |
| FILE * | binaryfiles [MAXBINFILES] | 
| #define CHARTYPE 7 | 
Definition at line 119 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define COMPLEXTYPE 9 | 
Definition at line 121 of file binary_file_c.c.
| #define DOUBLECOMPLEXTYPE 10 | 
Definition at line 122 of file binary_file_c.c.
| #define DOUBLETYPE 5 | 
Definition at line 117 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define FLIPENDIAN 1 | 
Definition at line 129 of file binary_file_c.c.
| #define FLOATTYPE 4 | 
Definition at line 116 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define INTEGERTYPE 1 | 
Definition at line 113 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define LOGICALTYPE 8 | 
Definition at line 120 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define LONGINTTYPE 3 | 
Definition at line 115 of file binary_file_c.c.
| #define MAXBINFILES 99 | 
Definition at line 127 of file binary_file_c.c.
Referenced by BinaryCloseFile(), BinaryOpenFile(), BinaryReadFile(), BinarySetFile(), BinarySkipFile(), BinaryWriteFile(), IsBinaryFileOpen(), and IsEndBinaryFile().
| #define QUADRUPLECOMPLEXTYPE 11 | 
Definition at line 123 of file binary_file_c.c.
| #define QUADRUPLETYPE 6 | 
Definition at line 118 of file binary_file_c.c.
| #define SAMEENDIAN 0 | 
Definition at line 128 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| #define SHORTINTTYPE 2 | 
Definition at line 114 of file binary_file_c.c.
Referenced by BinaryReadFile(), and BinaryWriteFile().
| typedef int logical | 
Definition at line 133 of file binary_file_c.c.
| void BinaryCloseFile | ( | int * | fileid, | 
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 196 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| void BinaryOpenFile | ( | int * | fileid, | 
| char * | filename, | ||
| char * | access_code, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 228 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| void BinaryReadFile | ( | int * | fileid, | 
| int * | endian, | ||
| int * | number_of_items, | ||
| int * | item_type, | ||
| char * | data, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 266 of file binary_file_c.c.
References binaryfiles, CHARTYPE, DOUBLETYPE, FLOATTYPE, INTEGERTYPE, LOGICALTYPE, MAXBINFILES, SAMEENDIAN, and SHORTINTTYPE.
| void BinarySetFile | ( | int * | fileid, | 
| int * | set_code, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 376 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| void BinarySkipFile | ( | int * | fileid, | 
| int * | number_of_bytes, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 441 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| void BinaryWriteFile | ( | int * | fileid, | 
| int * | endian, | ||
| int * | number_of_items, | ||
| int * | item_type, | ||
| char * | data, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 484 of file binary_file_c.c.
References binaryfiles, CHARTYPE, DOUBLETYPE, FLOATTYPE, INTEGERTYPE, LOGICALTYPE, MAXBINFILES, SAMEENDIAN, and SHORTINTTYPE.
| void IsBinaryFileOpen | ( | int * | fileid, | 
| int * | returncode, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 588 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| void IsEndBinaryFile | ( | int * | fileid, | 
| int * | returncode, | ||
| int * | err, | ||
| char * | error_string | ||
| ) | 
Definition at line 622 of file binary_file_c.c.
References binaryfiles, and MAXBINFILES.
| FILE* binaryfiles[MAXBINFILES] | 
Definition at line 181 of file binary_file_c.c.
Referenced by BinaryCloseFile(), BinaryOpenFile(), BinaryReadFile(), BinarySetFile(), BinarySkipFile(), BinaryWriteFile(), IsBinaryFileOpen(), and IsEndBinaryFile().