Version: 8.3.0
Main Page
Related Pages
Packages
Data Structures
Files
File List
Globals
SALOME_ModuleCatalog_Handler.hxx
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2
//
3
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5
//
6
// This library is free software; you can redistribute it and/or
7
// modify it under the terms of the GNU Lesser General Public
8
// License as published by the Free Software Foundation; either
9
// version 2.1 of the License, or (at your option) any later version.
10
//
11
// This library is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
// Lesser General Public License for more details.
15
//
16
// You should have received a copy of the GNU Lesser General Public
17
// License along with this library; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
//
20
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
//
22
23
// SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
24
// File : SALOME_ModuleCatalog_Handler.hxx
25
// Author : Estelle Deville
26
// Module : SALOME
27
// $Header$
28
//
29
#ifndef SALOME_CATALOG_HANDLER_H
30
#define SALOME_CATALOG_HANDLER_H
31
32
#include "
SALOME_ModuleCatalog.hxx
"
33
34
#include "
SALOME_ModuleCatalog_Parser.hxx
"
35
36
#include <string>
37
#include <stack>
38
#include <map>
39
40
#include <libxml/parser.h>
41
42
#ifdef WIN32
43
#pragma warning(disable:4251) // Warning DLL Interface ...
44
#endif
45
46
class
MODULECATALOG_EXPORT
SALOME_ModuleCatalog_Handler
47
{
48
public
:
50
SALOME_ModuleCatalog_Handler
(
ParserPathPrefixes
& pathList,
ParserComponents
& moduleList,
ParserTypes
& typeMap,
TypeList
& typeList);
51
53
virtual
~
SALOME_ModuleCatalog_Handler
();
54
55
void
ProcessXmlDocument(xmlDocPtr theDoc);
56
57
private
:
58
59
const
char
*
test_path_prefix_name
;
60
const
char
*
test_computer_name
;
61
const
char
*
test_computer_list
;
62
const
char
*
test_path_prefix
;
63
const
char
*
test_path_prefix_list
;
64
65
const
char
*
test_component_name
;
66
const
char
*
test_component_username
;
67
const
char
*
test_component_type
;
68
const
char
*
test_component_multistudy
;
69
const
char
*
test_component_icon
;
70
const
char
*
test_component_impltype
;
71
const
char
*
test_component_implname
;
72
const
char
*
test_component_version
;
73
const
char
*
test_component_comment
;
74
75
const
char
*
test_interface_name
;
76
77
const
char
*
test_service_name
;
78
const
char
*
test_defaultservice
;
79
const
char
*
test_typeofnode
;
80
81
const
char
*
test_inParameter_type
;
82
const
char
*
test_inParameter_name
;
83
const
char
*
test_inParameter
;
84
const
char
*
test_inParameter_list
;
85
86
const
char
*
test_outParameter_type
;
87
const
char
*
test_outParameter_name
;
88
const
char
*
test_outParameter
;
89
const
char
*
test_outParameter_list
;
90
91
const
char
*
test_inDataStreamParameter_type
;
92
const
char
*
test_inDataStreamParameter_name
;
93
const
char
*
test_inDataStreamParameter_dependency
;
94
const
char
*
test_inDataStreamParameter
;
95
const
char
*
test_inDataStreamParameter_list
;
96
97
const
char
*
test_outDataStreamParameter_type
;
98
const
char
*
test_outDataStreamParameter_name
;
99
const
char
*
test_outDataStreamParameter_dependency
;
100
const
char
*
test_outDataStreamParameter
;
101
const
char
*
test_outDataStreamParameter_list
;
102
103
const
char
*
test_service
;
104
const
char
*
test_service_list
;
105
const
char
*
test_interface_list
;
106
const
char
*
test_constraint
;
107
108
const
char
*
test_component_list
;
109
const
char
*
test_component
;
110
111
ParserPathPrefix
_pathPrefix
;
112
113
ParserComponent
_aModule
;
114
115
ParserPathPrefixes
&
_pathList
;
116
ParserComponents
&
_moduleList
;
117
118
ParserInterfaces
_interfaceList
;
119
ParserInterface
_aInterface
;
120
121
ParserServices
_serviceList
;
122
ParserService
_aService
;
123
124
ParserParameters
_inParamList
;
125
ParserParameter
_inParam
;
126
127
ParserParameters
_outParamList
;
128
ParserParameter
_outParam
;
129
130
ParserDataStreamParameters
_inDataStreamParamList
;
131
ParserDataStreamParameter
_inDataStreamParam
;
132
133
ParserDataStreamParameters
_outDataStreamParamList
;
134
ParserDataStreamParameter
_outDataStreamParam
;
135
136
ParserTypes
&
_typeMap
;
137
TypeList
&
_typeList
;
138
139
ParserSequences
_sequenceMap
;
140
ParserObjrefs
_objrefMap
;
141
ParserStructs
_structMap
;
142
};
143
144
#endif // SALOME_CATALOG_HANDLER_H
src
ModuleCatalog
SALOME_ModuleCatalog_Handler.hxx
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS