Adonthell  0.4
fileops Class Reference

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. More...
 
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
filefile where to write the version number.
versionversion 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
filefile to check version.
minminimum expected version number.
maxmaximum expected version number.
namefilename 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: