Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

parser.h

Go to the documentation of this file.
00001 00003 00004 // / 00005 // Projet : Générateur de cylindres généralisés / 00006 // / 00007 // Nom du fichier : parser.h / 00008 // / 00009 // Creation : 20/11/2005 / 00010 // / 00011 // Description : La classe Parser est abstraite. Elle regoupe les caractériques / 00012 // minimum et fonctionnelles pour un parser. / 00013 // VrmlParser et PgnParser hérite de Parser. / 00014 // / 00015 // / 00016 // Auteurs : - Guitteny Fabrice / 00017 // - Idiart Baptiste / 00018 // - Le Goff Erwan / 00019 // / 00021 00022 00023 #ifndef PARSER_H 00024 #define PARSER_H 00025 00026 #include <iostream> 00027 #include <string.h> 00028 #include <stdio.h> 00029 #include <fstream> 00030 #include <math.h> 00031 #include <vector> 00032 00033 #include "../primitives/point.h" 00034 #include "../interface/utilities.h" 00035 #include "utils.h" 00036 00037 00038 00039 using namespace std; 00040 00041 00042 00053 00054 // Classe Parser // 00056 00057 00058 class Parser 00059 { 00060 00061 protected : 00064 int nbPoints; 00067 int nbPolys; 00070 vector<Point3D*> pointsList; 00073 vector<int> referencesList; 00074 00075 public : 00082 virtual void setParameters(const int &nbPoints, const int &nbPolys, const vector<Point3D*> &pointsList, const vector<int> &referencesList); 00085 virtual ~Parser(); 00088 inline virtual int getNbPoints(){return nbPoints;} 00091 inline virtual int getNbPolys(){return nbPolys;} 00094 inline virtual vector<Point3D*> getPointsList(){return pointsList;} 00097 inline virtual vector<int> getReferencesList(){return referencesList;} 00098 }; 00099 00100 #endif

Generated on Tue Nov 29 21:58:58 2005 for CylinderGenerator by doxygen 1.3.7