Adonthell
0.4
|
File version control class. More...
#include <fileops.h>
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) |
void fileops::put_version | ( | ogzstream & | file, |
u_int16 | version | ||
) | [static] |
Sets the version number of a file.
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] |
file | file to check version. |
min | minimum expected version number. |
max | maximum expected version number. |
name | filename of the passed file. |
Definition at line 365 of file fileops.cc.