Version: 8.3.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
YACS
Introduction
Features
Packages
Building
TODOs
Base classes
Engine
SALOME Runtime
XML file loader
GUI design
Python wrapping
PMMLlib C++ examples
Configuring and Installing PMML from sources
PMMLlib
PMMLlib Python examples
Modules
Namespaces
Classes
Files
File List
idl
src
bases
engine
Plugin
AbstractPoint.cxx
AbstractPoint.hxx
Any.cxx
Any.hxx
AnyInputPort.cxx
AnyInputPort.hxx
AnyOutputPort.cxx
AnyOutputPort.hxx
BagPoint.cxx
BagPoint.hxx
Bloc.cxx
Bloc.hxx
BlocPoint.cxx
BlocPoint.hxx
Catalog.cxx
Catalog.hxx
ComponentDefinition.cxx
ComponentDefinition.hxx
ComponentInstance.cxx
ComponentInstance.hxx
ComposedNode.cxx
ComposedNode.hxx
ConditionInputPort.cxx
ConditionInputPort.hxx
Container.cxx
Container.hxx
ConversionException.cxx
ConversionException.hxx
DataFlowPort.cxx
DataFlowPort.hxx
DataNode.cxx
DataNode.hxx
DataPort.cxx
DataPort.hxx
DataStreamPort.cxx
DataStreamPort.hxx
DeploymentTree.cxx
DeploymentTree.hxx
Dispatcher.cxx
Dispatcher.hxx
DynParaLoop.cxx
DynParaLoop.hxx
ElementaryNode.cxx
ElementaryNode.hxx
ElementaryPoint.cxx
ElementaryPoint.hxx
Executor.cxx
Executor.hxx
ForEachLoop.cxx
ForEachLoop.hxx
ForkBlocPoint.cxx
ForkBlocPoint.hxx
ForLoop.cxx
ForLoop.hxx
HomogeneousPoolContainer.cxx
HomogeneousPoolContainer.hxx
InGate.cxx
InGate.hxx
InlineNode.cxx
InlineNode.hxx
InPort.cxx
InPort.hxx
InPropertyPort.cxx
InPropertyPort.hxx
InputDataStreamPort.cxx
InputDataStreamPort.hxx
InputPort.cxx
InputPort.hxx
InvalidExtractionException.cxx
InvalidExtractionException.hxx
LinkedBlocPoint.cxx
LinkedBlocPoint.hxx
LinkInfo.cxx
LinkInfo.hxx
Logger.cxx
Logger.hxx
LogRecord.cxx
LogRecord.hxx
Loop.cxx
Loop.hxx
Node.cxx
Node.hxx
OptimizerAlg.cxx
OptimizerAlg.hxx
OptimizerLoop.cxx
OptimizerLoop.hxx
OutGate.cxx
OutGate.hxx
OutPort.cxx
OutPort.hxx
OutputDataStreamPort.cxx
OutputDataStreamPort.hxx
OutputPort.cxx
OutputPort.hxx
Pool.cxx
Pool.hxx
Port.cxx
Port.hxx
Proc.cxx
Proc.hxx
PropertyInterface.cxx
PropertyInterface.hxx
RefCounter.cxx
RefCounter.hxx
Runtime.cxx
Runtime.hxx
Scheduler.cxx
Scheduler.hxx
ServerNode.cxx
ServerNode.hxx
ServiceInlineNode.cxx
ServiceInlineNode.hxx
ServiceNode.cxx
ServiceNode.hxx
SetOfPoints.cxx
SetOfPoints.hxx
SharedPtr.hxx
StaticDefinedComposedNode.cxx
StaticDefinedComposedNode.hxx
Switch.cxx
Switch.hxx
Task.cxx
Task.hxx
TypeCode.cxx
TypeCode.hxx
Visitor.cxx
Visitor.hxx
VisitorSaveSchema.cxx
VisitorSaveSchema.hxx
VisitorSaveState.cxx
VisitorSaveState.hxx
WhileLoop.cxx
WhileLoop.hxx
YACSlibEngineExport.hxx
genericgui
hmi
pmml
pyqt
runtime
salomegui
salomewrap
yacsloader
yacsorb
File Members
VisitorSaveState.hxx
Go to the documentation of this file.
1
// Copyright (C) 2006-2016 CEA/DEN, EDF R&D
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
#ifndef __VISITOR_SAVESTATE_HXX__
21
#define __VISITOR_SAVESTATE_HXX__
22
23
#include "
YACSlibEngineExport.hxx
"
24
#include "
Visitor.hxx
"
25
#include "
Exception.hxx
"
26
27
#include <fstream>
28
#include <string>
29
#include <map>
30
31
namespace
YACS
32
{
33
namespace
ENGINE
34
{
35
class
YACSLIBENGINE_EXPORT
VisitorSaveState
:
public
Visitor
36
{
37
public
:
38
VisitorSaveState
(
ComposedNode
*root);
39
virtual
~
VisitorSaveState
();
40
void
openFileDump(
const
std::string& xmlDump)
throw
(
Exception
);
41
void
closeFileDump();
42
virtual
void
visitBloc(
Bloc
*node);
43
virtual
void
visitElementaryNode(
ElementaryNode
*node);
44
virtual
void
visitForEachLoop(
ForEachLoop
*node);
45
virtual
void
visitOptimizerLoop(
OptimizerLoop
*node);
46
virtual
void
visitDynParaLoop(
DynParaLoop
*node);
47
virtual
void
visitForLoop(
ForLoop
*node);
48
virtual
void
visitInlineNode(
InlineNode
*node);
49
virtual
void
visitInlineFuncNode(
InlineFuncNode
*node);
50
virtual
void
visitLoop(
Loop
*node);
51
virtual
void
visitProc(
Proc
*node);
52
virtual
void
visitServiceNode(
ServiceNode
*node);
53
virtual
void
visitServerNode(
ServerNode
*node);
54
virtual
void
visitServiceInlineNode(
ServiceInlineNode
*node);
55
virtual
void
visitSwitch(
Switch
*node);
56
virtual
void
visitWhileLoop(
WhileLoop
*node);
57
virtual
void
visitPresetNode(
DataNode
*node);
58
virtual
void
visitOutNode(
DataNode
*node);
59
virtual
void
visitStudyInNode(
DataNode
*node);
60
virtual
void
visitStudyOutNode(
DataNode
*node);
61
62
protected
:
63
std::ofstream
_out
;
64
std::map<int, std::string>
_nodeStateName
;
65
};
66
}
67
}
68
#endif
src
engine
VisitorSaveState.hxx
Copyright © 2006-2017 CEA/DEN, EDF R&D