1 // File: SALOME_ModuleCatalog_Parser.hxx
2 // Created: Tue June 25 2001
3 // Author: Estelle Deville
5 // Copyright : CEA/DEN/DMSS/LGLS
8 #ifndef SALOME_CATALOG_PARSER_H
9 #define SALOME_CATALOG_PARSER_H
15 struct ParserPathPrefix
18 vector<string> ListOfComputer ;
21 typedef vector<ParserPathPrefix> ListOfParserPathPrefix ;
23 enum ParserComponentType {GEOM, MESH, Med, SOLVER, DATA, VISU, SUPERV, OTHER} ;
25 struct ParserServParam
27 string ParserParamtype;
28 string ParserParamname;
31 typedef vector<ParserServParam> ListOfParserServicesParameter;
35 string ParserServiceName;
36 ListOfParserServicesParameter ParserServiceinParameter;
37 ListOfParserServicesParameter ParserServiceoutParameter;
38 bool ParserServicebydefault;
41 typedef vector<ParserService> ListOfParserServices ;
43 struct ParserDefInterface
45 string Parserinterfacename ;
46 ListOfParserServices Parserinterfaceservicelist ;
49 typedef vector<ParserDefInterface> ListOfDefinitionInterface;
51 struct ParserComponent
53 string Parsercomponentname;
54 ParserComponentType Parsercomponenttype;
55 bool Parsercomponentmultistudy ;
56 string Parsercomponenticone;
57 ListOfDefinitionInterface ParserListInterface;
58 string Parserconstraint ;
61 typedef vector<ParserComponent> ListOfParserComponent ;
63 #ifdef WRITE_CATA_COMPONENT
64 // contains all the paths and the computers defined in the catalog
65 ListOfParserPathPrefix _pathlist;
67 // contains all the modules defined in the catalog
68 ListOfParserComponent _modulelist;
70 extern ListOfParserPathPrefix _pathlist;
71 extern ListOfParserComponent _modulelist;
76 #endif // SALOME_CATALOG_PARSER_H