00001 #ifndef _vuFILEHELPER_H_ 00002 #define _vuFILEHELPER_H_ 00003 00004 #include "vuString.h" 00005 #include <stdio.h> 00006 00007 class vuFileHelper 00008 { 00009 public: 00013 static vuString getFileType(const char* filename); 00014 private: 00017 static vuString getdatFileType(const char* filename); 00019 static int getTwoByte(FILE* file); 00022 static vuString getvuFileType(const char* filename); 00024 static char getType(FILE *file); 00030 static char getGeometry(FILE *file); 00032 static char getModality(FILE *file); 00034 static char getDimension(FILE *file); 00036 static char getImplementation(FILE *file); 00038 static char _getKindOfLightfield(FILE *file); 00041 static char _getFieldsDataType(FILE *file); 00042 }; 00043 00044 #endif