Main Page   Namespace List   Alphabetical List   Data Structures   File List   Data Fields   Globals  

readfile.h

Go to the documentation of this file.
00001 
00002 //                          readFile.h                                  //
00003 //                         ------------                                 //
00004 //    begin                : Thu Sep 11 2003                            //
00005 //    copyright            : (C) 2003 by cbaudry (CEA/DSM/SPP)          //
00006 //    email                : cedric.baudry@tremplin-utc.fr              //
00008 
00010 //                                                                        //
00011 //   This program is free software; you can redistribute it and/or modify //
00012 //   it under the terms of the GNU General Public License as published by //
00013 //   the Free Software Foundation, version 2 of the License               //
00014 //                                                                        //
00016 
00017 #pragma once
00018 
00019 #include "structure.h"
00020 
00021 #define LMAX_FILENAME       50
00022 
00023 
00031 class ReadFile
00032 {
00033 private:
00034 
00035     static int readInt (int nbchar, char *s, int line);
00036     static double readDouble (int nbchar, char *s, int line);
00037     static char * readString (int nbchar, char *s, int line);
00038     static char *substr (char *str, unsigned int start, unsigned int end);
00039 
00040 public:
00041 
00042     static int parseVolumeNames (char name[], SCENE * scene);
00043     static int readModelisationFile (const char name[], SCENE * scene);
00044     static int addModelisationFile  (const char name[], SCENE * scene);
00045     static void displayData (SCENE * scene,int detail);
00046 
00047 };
00048 

Generated on Wed Feb 18 16:32:50 2004 for POVAMA by doxygen1.2.18