Base class for all visitors that save a schema. More...
#include <VisitorSaveSchema.hxx>
Public Member Functions | |
VisitorSaveSchema (ComposedNode *root) | |
virtual | ~VisitorSaveSchema () |
void | openFileSchema (std::string xmlDump) throw (Exception) |
void | closeFileSchema () |
virtual void | visitBloc (Bloc *node) |
virtual void | visitElementaryNode (ElementaryNode *node) |
virtual void | visitForEachLoop (ForEachLoop *node) |
virtual void | visitOptimizerLoop (OptimizerLoop *node) |
virtual void | visitDynParaLoop (DynParaLoop *node) |
virtual void | visitForLoop (ForLoop *node) |
virtual void | visitInlineNode (InlineNode *node) |
virtual void | visitInlineFuncNode (InlineFuncNode *node) |
virtual void | visitLoop (Loop *node) |
virtual void | visitProc (Proc *node) |
virtual void | visitServiceNode (ServiceNode *node) |
virtual void | visitServerNode (ServerNode *node) |
virtual void | visitServiceInlineNode (ServiceInlineNode *node) |
virtual void | visitSwitch (Switch *node) |
virtual void | visitWhileLoop (WhileLoop *node) |
virtual void | visitPresetNode (DataNode *node) |
virtual void | visitOutNode (DataNode *node) |
virtual void | visitStudyInNode (DataNode *node) |
virtual void | visitStudyOutNode (DataNode *node) |
Public Member Functions inherited from YACS::ENGINE::Visitor | |
Visitor (ComposedNode *root) | |
Protected Member Functions | |
virtual void | writeProperties (Node *node) |
virtual void | dumpTypeCode (TypeCode *type, std::set< std::string > &typeNames, std::map< std::string, TypeCode * > &typeMap, int depth) |
virtual void | writeTypeCodes (Proc *proc) |
virtual void | writeContainers (Proc *proc) |
virtual void | writeComponentInstances (Proc *proc) |
virtual void | writeInputPorts (Node *node) |
virtual void | writeInputDataStreamPorts (Node *node) |
virtual void | writeOutputPorts (Node *node) |
virtual void | writeOutputDataStreamPorts (Node *node) |
virtual void | writeControls (ComposedNode *node) |
virtual void | writeSimpleDataLinks (ComposedNode *node) |
virtual void | writeSimpleStreamLinks (ComposedNode *node) |
virtual void | writeParameters (Proc *proc) |
virtual void | writeParametersNode (ComposedNode *proc, Node *node) |
virtual void | beginCase (Node *node) |
virtual void | endCase (Node *node) |
std::set< Node * > | getAllNodes (ComposedNode *node) |
int | depthNode (Node *node) |
std::string | indent (int val) |
Protected Member Functions inherited from YACS::ENGINE::Visitor | |
std::map< std::string, std::string > | getNodeProperties (Node *node) |
std::map< std::string, TypeCode * > | getTypeCodeMap (Proc *proc) |
std::map< std::string, Container * > | getContainerMap (Proc *proc) |
std::list< TypeCodeObjref * > | getListOfBases (TypeCodeObjref *objref) |
Protected Attributes | |
std::ofstream | _out |
std::map< int, std::string > | _nodeStateName |
std::map< std::string, Container * > | _containerMap |
std::map< ComponentInstance *, std::string > | _componentInstanceMap |
ComposedNode * | _root |
std::multimap< int, DataLinkInfo > | _mapOfDLtoCreate |
std::multimap< int, StreamLinkInfo > | _mapOfSLtoCreate |
Protected Attributes inherited from YACS::ENGINE::Visitor | |
ComposedNode * | _root |
Base class for all visitors that save a schema.
Can be specialized in runtime.
Definition at line 59 of file VisitorSaveSchema.hxx.
VisitorSaveSchema::VisitorSaveSchema | ( | ComposedNode * | root | ) |
Definition at line 61 of file VisitorSaveSchema.cxx.
|
virtual |
|
protectedvirtual |
Definition at line 1106 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::Switch::getRankOfNode(), YACS::ENGINE::Switch::ID_FOR_DEFAULT_NODE, and indent().
Referenced by visitBloc(), visitElementaryNode(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitProc(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), and visitWhileLoop().
void VisitorSaveSchema::closeFileSchema | ( | ) |
Definition at line 85 of file VisitorSaveSchema.cxx.
References _out.
Referenced by main(), YACS::HMI::GenericGui::onExportSchema(), YACS::HMI::GenericGui::onExportSchemaAs(), YACS::ENGINE::SchemaSave::save(), YACS::ENGINE::SalomeProc::saveSchema(), and YACS::ENGINE::Proc::saveSchema().
|
protected |
Definition at line 1134 of file VisitorSaveSchema.cxx.
References _root, YACS::ENGINE::Node::getFather(), and YACS::ENGINE::Node::getNumId().
Referenced by beginCase(), endCase(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), visitWhileLoop(), writeComponentInstances(), writeContainers(), writeControls(), YACS::ENGINE::VisitorSaveSalomeSchema::writeDataNodeParameters(), writeInputDataStreamPorts(), writeInputPorts(), YACS::ENGINE::VisitorSaveSalomeSchema::writeOutNodeParameters(), writeOutputDataStreamPorts(), writeOutputPorts(), writeProperties(), writeSimpleDataLinks(), writeSimpleStreamLinks(), YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyInNodeParameters(), YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyOutNodeParameters(), and writeTypeCodes().
|
protectedvirtual |
Definition at line 532 of file VisitorSaveSchema.cxx.
References _out, YACS::ENGINE::Array, YACS::ENGINE::Bool, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::Double, YACS::ENGINE::Visitor::getListOfBases(), CORBAEngineTest::i, YACS::ENGINE::TypeCodeObjref::id(), indent(), YACS::ENGINE::Int, YACS::ENGINE::TypeCode::kind(), YACS::ENGINE::TypeCodeStruct::memberCount(), YACS::ENGINE::TypeCodeStruct::memberName(), YACS::ENGINE::TypeCodeStruct::memberType(), YACS::ENGINE::TypeCode::name(), YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, YACS::ENGINE::Struct, and YASSERT.
Referenced by writeTypeCodes().
|
protectedvirtual |
Definition at line 1120 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::Switch::getRankOfNode(), YACS::ENGINE::Switch::ID_FOR_DEFAULT_NODE, and indent().
Referenced by visitBloc(), visitElementaryNode(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitProc(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), and visitWhileLoop().
|
protected |
Definition at line 1046 of file VisitorSaveSchema.cxx.
References YACS::ENGINE::ComposedNode::edGetDirectDescendants(), and PMMLBasicsTestLauncher::ret.
Referenced by writeParameters(), and YACS::HMI::VisitorSaveGuiSchema::writePresentation().
|
inlineprotected |
Definition at line 105 of file VisitorSaveSchema.hxx.
Referenced by beginCase(), dumpTypeCode(), endCase(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), visitWhileLoop(), writeComponentInstances(), writeContainers(), writeControls(), YACS::ENGINE::VisitorSaveSalomeSchema::writeDataNodeParameters(), writeInputDataStreamPorts(), writeInputPorts(), YACS::HMI::VisitorSaveGuiSchema::writeItem(), YACS::ENGINE::VisitorSaveSalomeSchema::writeOutNodeParameters(), writeOutputDataStreamPorts(), writeOutputPorts(), writeParametersNode(), writeProperties(), writeSimpleDataLinks(), writeSimpleStreamLinks(), YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyInNodeParameters(), and YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyOutNodeParameters().
void VisitorSaveSchema::openFileSchema | ( | std::string | xmlDump | ) | throw (Exception) |
Definition at line 74 of file VisitorSaveSchema.cxx.
Referenced by main(), YACS::HMI::GenericGui::onExportSchema(), YACS::HMI::GenericGui::onExportSchemaAs(), YACS::ENGINE::SchemaSave::save(), YACS::ENGINE::SalomeProc::saveSchema(), and YACS::ENGINE::Proc::saveSchema().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 92 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), indent(), writeControls(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 175 of file VisitorSaveSchema.cxx.
References _out, _root, YACS::ENGINE::Node::accept(), DEBTRACE, depthNode(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::DynParaLoop::getExecNode(), YACS::ENGINE::DynParaLoop::getFinalizeNode(), YACS::ENGINE::DynParaLoop::getInitNode(), and indent().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 112 of file VisitorSaveSchema.cxx.
References _root, beginCase(), DEBTRACE, endCase(), YACS::ENGINE::ComposedNode::getChildName(), writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 125 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, YACS::ENGINE::DynParaLoop::edGetNbOfBranchesPort(), YACS::ENGINE::DynParaLoop::edGetSamplePort(), YACS::ENGINE::DataPort::edGetType(), endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::AnyInputPort::getIntValue(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), YACS::ENGINE::TypeCode::name(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 198 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, YACS::ENGINE::ForLoop::edGetNbOfTimesInputPort(), endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::AnyInputPort::getIntValue(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 257 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::InlineNode::getExecutionMode(), YACS::ENGINE::InlineFuncNode::getFname(), YACS::ENGINE::Container::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::InlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), indent(), YACS::ENGINE::InlineNode::LOCAL_STR, writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 220 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::InlineNode::getExecutionMode(), YACS::ENGINE::Container::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::InlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), indent(), YACS::ENGINE::InlineNode::LOCAL_STR, writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 296 of file VisitorSaveSchema.cxx.
References _root, beginCase(), DEBTRACE, depthNode(), endCase(), YACS::ENGINE::ComposedNode::getChildName(), writeControls(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 150 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, YACS::ENGINE::DynParaLoop::edGetNbOfBranchesPort(), endCase(), YACS::ENGINE::OptimizerLoop::getAlgLib(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::AnyInputPort::getIntValue(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), YACS::ENGINE::OptimizerLoop::getSymbol(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Reimplemented in YACS::ENGINE::VisitorSaveSalomeSchema.
Definition at line 458 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Reimplemented in YACS::ENGINE::VisitorSaveSalomeSchema.
Definition at line 452 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 310 of file VisitorSaveSchema.cxx.
References _out, beginCase(), DEBTRACE, endCase(), YACS::ENGINE::ComposedNode::getName(), writeComponentInstances(), writeContainers(), writeControls(), writeParameters(), writeProperties(), writeSimpleDataLinks(), writeSimpleStreamLinks(), and writeTypeCodes().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 387 of file VisitorSaveSchema.cxx.
References _containerMap, _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::InlineFuncNode::getFname(), YACS::ENGINE::Node::getName(), YACS::ENGINE::InlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), indent(), writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 424 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::ServiceNode::getComponent(), YACS::ENGINE::ComponentInstance::getFileRepr(), YACS::ENGINE::ServiceNode::getMethod(), YACS::ENGINE::Node::getName(), YACS::ENGINE::ServiceInlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), indent(), writeInputPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 328 of file VisitorSaveSchema.cxx.
References _componentInstanceMap, _containerMap, _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::ServiceNode::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::ENGINE::ComponentInstance::getFileRepr(), YACS::ENGINE::ComponentInstance::getInstanceName(), YACS::ENGINE::ServiceNode::getKind(), YACS::ENGINE::ServiceNode::getMethod(), YACS::ENGINE::Node::getName(), YACS::ENGINE::ServiceNode::getRef(), YACS::ENGINE::ElementaryNode::getState(), indent(), YACS::ENGINE::ComponentInstance::isAnonymous(), writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Reimplemented in YACS::ENGINE::VisitorSaveSalomeSchema.
Definition at line 464 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Reimplemented in YACS::ENGINE::VisitorSaveSalomeSchema.
Definition at line 470 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 477 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, YACS::ENGINE::Switch::edGetConditionPort(), endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::AnyInputPort::getIntValue(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), writeControls(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 500 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getState(), indent(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
protectedvirtual |
Definition at line 666 of file VisitorSaveSchema.cxx.
References _out, YACS::ENGINE::Proc::componentInstanceMap, depthNode(), YACS::ENGINE::ComponentInstance::getCompoName(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::ENGINE::ComponentInstance::getInstanceName(), YACS::ENGINE::Container::getName(), YACS::ENGINE::PropertyInterface::getProperties(), indent(), and YACS::ENGINE::ComponentInstance::isAnonymous().
Referenced by visitProc().
|
protectedvirtual |
Definition at line 694 of file VisitorSaveSchema.cxx.
References _containerMap, _out, YACS::ENGINE::Container::AOC_ENTRY, depthNode(), YACS::ENGINE::Visitor::getContainerMap(), indent(), YACS::ENGINE::HomogeneousPoolContainer::INITIALIZE_SCRIPT_KEY, and YACS::ENGINE::Container::KIND_ENTRY.
Referenced by visitProc().
|
protectedvirtual |
Definition at line 793 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::ComposedNode::edGetDirectDescendants(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::Node::getNumId(), indent(), and YACS::ENGINE::ComposedNode::isInMyDescendance().
Referenced by visitBloc(), visitLoop(), visitProc(), and visitSwitch().
|
protectedvirtual |
Definition at line 738 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getSetOfInputDataStreamPort(), and indent().
Referenced by visitElementaryNode(), visitInlineFuncNode(), visitInlineNode(), visitServerNode(), and visitServiceNode().
|
protectedvirtual |
Definition at line 727 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getSetOfInputPort(), and indent().
Referenced by visitElementaryNode(), visitInlineFuncNode(), visitInlineNode(), visitServerNode(), visitServiceInlineNode(), and visitServiceNode().
|
protectedvirtual |
Definition at line 771 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getSetOfOutputDataStreamPort(), and indent().
Referenced by visitElementaryNode(), visitInlineFuncNode(), visitInlineNode(), visitServerNode(), and visitServiceNode().
|
protectedvirtual |
Definition at line 760 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Node::getSetOfOutputPort(), and indent().
Referenced by visitElementaryNode(), visitInlineFuncNode(), visitInlineNode(), visitServerNode(), visitServiceInlineNode(), and visitServiceNode().
|
protectedvirtual |
Definition at line 1068 of file VisitorSaveSchema.cxx.
References getAllNodes(), and writeParametersNode().
Referenced by visitProc().
|
protectedvirtual |
Definition at line 1081 of file VisitorSaveSchema.cxx.
References _out, YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getLocalInputPorts(), indent(), and YACS::Exception::what().
Referenced by writeParameters().
|
protectedvirtual |
Definition at line 520 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Visitor::getNodeProperties(), and indent().
Referenced by visitBloc(), visitElementaryNode(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitProc(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), and visitWhileLoop().
|
protectedvirtual |
Write simple data links from and to direct children of node (grand children already done). First, for all output ports of direct children, write links where the input port is inside the node scope. Keep in memory the links where the input port is outside the node scope. Second, retreive links where the output port is inside the scope, using the links kept in memory and not yet written.
Definition at line 834 of file VisitorSaveSchema.cxx.
References _mapOfDLtoCreate, _out, DEBTRACE, depthNode(), YACS::ENGINE::ComposedNode::edGetDirectDescendants(), YACS::ENGINE::OutputPort::edSetInPort(), YACS::ENGINE::Node::getChildByName(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getFather(), YACS::ENGINE::Node::getLocalOutputPorts(), YACS::ENGINE::DataPort::getName(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Port::getNode(), YACS::ENGINE::Port::getNumId(), YACS::ENGINE::Node::getNumId(), indent(), YACS::ENGINE::ComposedNode::isInMyDescendance(), and YACS::ENGINE::ForEachLoop::NAME_OF_SPLITTERNODE.
Referenced by visitBloc(), visitForEachLoop(), visitForLoop(), visitLoop(), visitOptimizerLoop(), visitProc(), visitSwitch(), and visitWhileLoop().
|
protectedvirtual |
Definition at line 943 of file VisitorSaveSchema.cxx.
References _mapOfSLtoCreate, _out, DEBTRACE, depthNode(), YACS::ENGINE::ComposedNode::edGetDirectDescendants(), YACS::ENGINE::OutputDataStreamPort::edSetInPort(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::DataPort::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Port::getNode(), YACS::ENGINE::Port::getNumId(), YACS::ENGINE::Node::getNumId(), YACS::ENGINE::Node::getSetOfOutputDataStreamPort(), indent(), and YACS::ENGINE::ComposedNode::isInMyDescendance().
Referenced by visitBloc(), visitForEachLoop(), visitForLoop(), visitLoop(), visitOptimizerLoop(), visitProc(), visitSwitch(), and visitWhileLoop().
|
protectedvirtual |
Definition at line 651 of file VisitorSaveSchema.cxx.
References depthNode(), dumpTypeCode(), and YACS::ENGINE::Visitor::getTypeCodeMap().
Referenced by visitProc().
|
protected |
Definition at line 111 of file VisitorSaveSchema.hxx.
Referenced by visitServiceNode().
|
protected |
Definition at line 110 of file VisitorSaveSchema.hxx.
Referenced by visitServerNode(), visitServiceNode(), and writeContainers().
|
protected |
Definition at line 113 of file VisitorSaveSchema.hxx.
Referenced by writeSimpleDataLinks().
|
protected |
Definition at line 114 of file VisitorSaveSchema.hxx.
Referenced by writeSimpleStreamLinks().
|
protected |
Definition at line 109 of file VisitorSaveSchema.hxx.
|
protected |
Definition at line 106 of file VisitorSaveSchema.hxx.
Referenced by beginCase(), closeFileSchema(), dumpTypeCode(), endCase(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitProc(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), visitWhileLoop(), writeComponentInstances(), writeContainers(), writeControls(), YACS::ENGINE::VisitorSaveSalomeSchema::writeDataNodeParameters(), writeInputDataStreamPorts(), writeInputPorts(), YACS::HMI::VisitorSaveGuiSchema::writeItem(), YACS::ENGINE::VisitorSaveSalomeSchema::writeOutNodeParameters(), writeOutputDataStreamPorts(), writeOutputPorts(), writeParametersNode(), writeProperties(), writeSimpleDataLinks(), writeSimpleStreamLinks(), YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyInNodeParameters(), YACS::ENGINE::VisitorSaveSalomeSchema::writeStudyOutNodeParameters(), and ~VisitorSaveSchema().
|
protected |
Definition at line 112 of file VisitorSaveSchema.hxx.
Referenced by depthNode(), visitBloc(), visitDynParaLoop(), visitElementaryNode(), visitForEachLoop(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitPresetNode(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitStudyOutNode(), visitSwitch(), and visitWhileLoop().