Main Page   Modules   Compound List   File List   Compound Members   File Members  

Fixed Size Vector I/O
[Fixed Size Vectors]


Functions

Gan_Bool gan_vec2_print (Gan_Vector2 *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec2_fwrite (FILE *fp, Gan_Vector2 *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec2_fread (FILE *fp, Gan_Vector2 *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec2_fprint (FILE *fp, Gan_Vector2 *p, const char *prefix, int indent, const char *fmt)
 Print 2-vector to file.

Gan_Bool gan_vec2_fscanf (FILE *fp, Gan_Vector2 *p, char *prefix, int prefix_len)
 Read 2-vector from file.

Gan_Bool gan_vec2f_print (Gan_Vector2_f *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec2f_fwrite (FILE *fp, Gan_Vector2_f *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec2f_fread (FILE *fp, Gan_Vector2_f *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec2f_fprint (FILE *fp, Gan_Vector2_f *p, const char *prefix, int indent, const char *fmt)
 Print 2-vector to file.

Gan_Bool gan_vec2f_fscanf (FILE *fp, Gan_Vector2_f *p, char *prefix, int prefix_len)
 Read 2-vector from file.

Gan_Bool gan_vec3_print (Gan_Vector3 *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec3_fwrite (FILE *fp, Gan_Vector3 *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec3_fread (FILE *fp, Gan_Vector3 *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec3_fprint (FILE *fp, Gan_Vector3 *p, const char *prefix, int indent, const char *fmt)
 Print 3-vector to file.

Gan_Bool gan_vec3_fscanf (FILE *fp, Gan_Vector3 *p, char *prefix, int prefix_len)
 Read 3-vector from file.

Gan_Bool gan_vec3f_print (Gan_Vector3_f *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec3f_fwrite (FILE *fp, Gan_Vector3_f *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec3f_fread (FILE *fp, Gan_Vector3_f *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec3f_fprint (FILE *fp, Gan_Vector3_f *p, const char *prefix, int indent, const char *fmt)
 Print 3-vector to file.

Gan_Bool gan_vec3f_fscanf (FILE *fp, Gan_Vector3_f *p, char *prefix, int prefix_len)
 Read 3-vector from file.

Gan_Bool gan_vec4_print (Gan_Vector4 *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec4_fwrite (FILE *fp, Gan_Vector4 *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec4_fread (FILE *fp, Gan_Vector4 *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec4_fprint (FILE *fp, Gan_Vector4 *p, const char *prefix, int indent, const char *fmt)
 Print 4-vector to file.

Gan_Bool gan_vec4_fscanf (FILE *fp, Gan_Vector4 *p, char *prefix, int prefix_len)
 Read 4-vector from file.

Gan_Bool gan_vec4f_print (Gan_Vector4_f *p, const char *prefix, int indent, const char *fmt)
 Print fixed size vector to standard output.

Gan_Bool gan_vec4f_fwrite (FILE *fp, Gan_Vector4_f *p, gan_ui32 magic_number)
 Write fixed size vector to file stream.

Gan_Bool gan_vec4f_fread (FILE *fp, Gan_Vector4_f *p, gan_ui32 *magic_number)
 Read fixed size vector from file stream.

Gan_Bool gan_vec4f_fprint (FILE *fp, Gan_Vector4_f *p, const char *prefix, int indent, const char *fmt)
 Print 4-vector to file.

Gan_Bool gan_vec4f_fscanf (FILE *fp, Gan_Vector4_f *p, char *prefix, int prefix_len)
 Read 4-vector from file.


Function Documentation

Gan_Bool gan_vec2_fprint FILE *    fp,
Gan_Vector2   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 2-vector to file.

Print 2-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2_fread FILE *    fp,
Gan_Vector2   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2_fscanf FILE *    fp,
Gan_Vector2   p,
char *    prefix,
int    prefix_len
 

Read 2-vector from file.

Read 2-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2_fwrite FILE *    fp,
Gan_Vector2   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2_print Gan_Vector2   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2f_fprint FILE *    fp,
Gan_Vector2_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 2-vector to file.

Print 2-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2f_fread FILE *    fp,
Gan_Vector2_f   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2f_fscanf FILE *    fp,
Gan_Vector2_f   p,
char *    prefix,
int    prefix_len
 

Read 2-vector from file.

Read 2-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2f_fwrite FILE *    fp,
Gan_Vector2_f   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec2f_print Gan_Vector2_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3_fprint FILE *    fp,
Gan_Vector3   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 3-vector to file.

Print 3-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3_fread FILE *    fp,
Gan_Vector3   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3_fscanf FILE *    fp,
Gan_Vector3   p,
char *    prefix,
int    prefix_len
 

Read 3-vector from file.

Read 3-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3_fwrite FILE *    fp,
Gan_Vector3   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3_print Gan_Vector3   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3f_fprint FILE *    fp,
Gan_Vector3_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 3-vector to file.

Print 3-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3f_fread FILE *    fp,
Gan_Vector3_f   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3f_fscanf FILE *    fp,
Gan_Vector3_f   p,
char *    prefix,
int    prefix_len
 

Read 3-vector from file.

Read 3-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3f_fwrite FILE *    fp,
Gan_Vector3_f   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec3f_print Gan_Vector3_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4_fprint FILE *    fp,
Gan_Vector4   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 4-vector to file.

Print 4-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4_fread FILE *    fp,
Gan_Vector4   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4_fscanf FILE *    fp,
Gan_Vector4   p,
char *    prefix,
int    prefix_len
 

Read 4-vector from file.

Read 4-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4_fwrite FILE *    fp,
Gan_Vector4   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4_print Gan_Vector4   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4f_fprint FILE *    fp,
Gan_Vector4_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print 4-vector to file.

Print 4-vector p to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4f_fread FILE *    fp,
Gan_Vector4_f   p,
gan_ui32 *    magic_number
 

Read fixed size vector from file stream.

Read fixed size vector p from file stream fp, prefixed by a number written into the magic_number pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4f_fscanf FILE *    fp,
Gan_Vector4_f   p,
char *    prefix,
int    prefix_len
 

Read 4-vector from file.

Read 4-vector p from file pointer fp. The prefix string for the vector is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4f_fwrite FILE *    fp,
Gan_Vector4_f   p,
gan_ui32    magic_number
 

Write fixed size vector to file stream.

Write fixed size vector p to file stream fp, prefixed with magic_number to identify the matrix for later reading.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_vec4f_print Gan_Vector4_f   p,
const char *    prefix,
int    indent,
const char *    fmt
 

Print fixed size vector to standard output.

Print fixed size vector p to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.


Generated on Mon Oct 13 16:14:51 2003 by doxygen1.3-rc1