Utilisation Ecriture:
Remarque: Pendant la definition d'un nouveau record, on n'a pas le droit d'utiliser d'autres fonctions. Utilisation en Lecture:
Remarque: On peut lire un tag dans un ordre different de l'ecriture
Un fichier TGF contient: header,subheader,des IFD,des records
enum ifd_tags [private] |
enum open_mode |
Tgf | ( | ) | [inline] |
~Tgf | ( | ) | [inline] |
int ReadHeader | ( | ) | [private] |
int WriteHeader | ( | ) | [private] |
int IfdRead | ( | long | offset | ) | [private] |
int IfdReadAll | ( | long | offset | ) | [private] |
int IfdWrite | ( | long | offset | ) | [private] |
int ReadOffsets | ( | ) | [private] |
int Flush | ( | ) | [private] |
int open | ( | const char * | name, | |
open_mode | mode = old | |||
) |
void close | ( | ) | [inline] |
int LengthSubHeader | ( | ) | [inline] |
void WriteSubHeader | ( | ) | [inline] |
void ReadSubHeader | ( | ) | [inline] |
int good | ( | ) | [inline] |
int RecordsNumber | ( | ) | [inline] |
int CreateRecord | ( | ) |
int SetRecord | ( | int | num | ) |
int DeleteRecord | ( | int | num | ) |
long GetTagLength | ( | int | Tag | ) |
int SeekWrite | ( | short | t, | |
long | NumberBytes | |||
) |
int FieldWrite | ( | short | t, | |
const char * | pointeur, | |||
long | NumberBytes | |||
) |
int FieldWrite | ( | short | t, | |
const char | c | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const short | i | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const int | i | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const long | l | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const float | f | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const double | d | |||
) | [inline] |
int FieldWrite | ( | short | t, | |
const char * | str | |||
) | [inline] |
int SeekRead | ( | short | t, | |
long | NumberBytes | |||
) |
int FieldRead | ( | short | t, | |
char * | pointeur, | |||
long | NumberBytes | |||
) |
int SeekRead | ( | short | t | ) | [inline] |
int FieldRead | ( | short | t, | |
char * | pointeur | |||
) | [inline] |
int FieldRead | ( | short | t, | |
char & | c | |||
) | [inline] |
int FieldRead | ( | short | t, | |
short & | i | |||
) | [inline] |
int FieldRead | ( | short | t, | |
int & | i | |||
) | [inline] |
int FieldRead | ( | short | t, | |
long & | l | |||
) | [inline] |
int FieldRead | ( | short | t, | |
float & | f | |||
) | [inline] |
int FieldRead | ( | short | t, | |
double & | d | |||
) | [inline] |
StructHeader Header [private] |
int IsOpen [private] |
int IsGood [private] |
int new_ifd [private] |
int new_data [private] |
int seek [private] |
long CurrentIfdOffset [private] |
long offset_new_data [private] |
char SubHeader[17] |
T_STD fstream stream |