fileops Class Reference

File version control class. More...

#include <fileops.h>

List of all members.

Static Public Member Functions

static void put_version (ogzstream &file, u_int16 version)
 Sets the version number of a file.
static bool get_version (igzstream &file, u_int16 min, u_int16 max, string name)


Detailed Description

File version control class.

Definition at line 313 of file fileops.h.


Member Function Documentation

void fileops::put_version ( ogzstream file,
u_int16  version 
) [static]

Sets the version number of a file.

Parameters:
file file where to write the version number.
version version number to write.

Definition at line 357 of file fileops.cc.

bool fileops::get_version ( igzstream file,
u_int16  min,
u_int16  max,
string  name 
) [static]

Parameters:
file file to check version.
min minimum expected version number.
max maximum expected version number.
name filename of the passed file.
Returns:
true if

Definition at line 365 of file fileops.cc.


The documentation for this class was generated from the following files:

Generated on Thu Jun 26 02:08:05 2008 for Adonthell by  doxygen 1.5.6