Base class for all visitors that save a schema. More...
#include <VisitorSaveSchema.hxx>


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 1137 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(), visitForEachLoopDyn(), 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::HMI::GenericGui::onRunLoadedSchema(), YACS::ENGINE::SchemaSave::save(), YACS::ENGINE::Proc::saveSchema(), YACS::ENGINE::SalomeProc::saveSchema(), and YACS::ENGINE::VisitorSaveSalomeSchemaUnsafe().
|
protected |
Definition at line 1165 of file VisitorSaveSchema.cxx.
References _root, YACS::ENGINE::Node::getFather(), and YACS::ENGINE::Node::getNumId().
Referenced by beginCase(), endCase(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForEachLoopDyn(), 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 563 of file VisitorSaveSchema.cxx.
References _out, YACS::ENGINE::Array, YACS::ENGINE::Bool, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::Double, YACS::ENGINE::Visitor::getListOfBases(), yacsorb.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 1151 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(), visitForEachLoopDyn(), 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 1077 of file VisitorSaveSchema.cxx.
References YACS::ENGINE::ComposedNode::edGetDirectDescendants().
Referenced by writeParameters(), and YACS::HMI::VisitorSaveGuiSchema::writePresentation().
|
inlineprotected |
Definition at line 106 of file VisitorSaveSchema.hxx.
Referenced by beginCase(), dumpTypeCode(), endCase(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForEachLoopDyn(), 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 | ) |
Definition at line 74 of file VisitorSaveSchema.cxx.
References _out.
Referenced by main(), YACS::HMI::GenericGui::onExportSchema(), YACS::HMI::GenericGui::onExportSchemaAs(), YACS::HMI::GenericGui::onRunLoadedSchema(), YACS::ENGINE::SchemaSave::save(), YACS::ENGINE::Proc::saveSchema(), YACS::ENGINE::SalomeProc::saveSchema(), and YACS::ENGINE::VisitorSaveSalomeSchemaUnsafe().
|
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 200 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().
|
overridevirtual |
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::ComplexWeight::getSimpleLoopWeight(), YACS::ENGINE::Node::getState(), YACS::ENGINE::DynParaLoop::getWeight(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), YACS::ENGINE::TypeCode::name(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
overridevirtual |
Implements YACS::ENGINE::Visitor.
Definition at line 151 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, YACS::ENGINE::DynParaLoop::edGetSamplePort(), YACS::ENGINE::DataPort::edGetType(), endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::ComposedNode::getName(), YACS::ENGINE::ComplexWeight::getSimpleLoopWeight(), YACS::ENGINE::Node::getState(), YACS::ENGINE::DynParaLoop::getWeight(), indent(), YACS::ENGINE::TypeCode::name(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 223 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 285 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::ComplexWeight::getElementaryWeight(), YACS::ENGINE::InlineNode::getExecutionMode(), YACS::ENGINE::InlineFuncNode::getFname(), YACS::ENGINE::Container::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::InlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::ElementaryNode::getWeight(), indent(), YACS::ENGINE::InlineNode::LOCAL_STR, writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 245 of file VisitorSaveSchema.cxx.
References _out, _root, beginCase(), DEBTRACE, depthNode(), YACS::DISABLED, endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::ComplexWeight::getElementaryWeight(), YACS::ENGINE::InlineNode::getExecutionMode(), YACS::ENGINE::Container::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::InlineNode::getScript(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::ElementaryNode::getWeight(), indent(), YACS::ENGINE::InlineNode::LOCAL_STR, writeInputDataStreamPorts(), writeInputPorts(), writeOutputDataStreamPorts(), writeOutputPorts(), and writeProperties().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 327 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 174 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::ComplexWeight::getSimpleLoopWeight(), YACS::ENGINE::Node::getState(), YACS::ENGINE::OptimizerLoop::getSymbol(), YACS::ENGINE::DynParaLoop::getWeight(), indent(), YACS::ENGINE::AnyInputPort::isEmpty(), writeProperties(), writeSimpleDataLinks(), and writeSimpleStreamLinks().
|
virtual |
Implements YACS::ENGINE::Visitor.
Reimplemented in YACS::ENGINE::VisitorSaveSalomeSchema.
Definition at line 489 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 483 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 341 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 418 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 455 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 359 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 495 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 501 of file VisitorSaveSchema.cxx.
References _root, DEBTRACE, and YACS::ENGINE::ComposedNode::getChildName().
|
virtual |
Implements YACS::ENGINE::Visitor.
Definition at line 508 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 531 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 697 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 725 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 824 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 769 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 758 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 802 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 791 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 1099 of file VisitorSaveSchema.cxx.
References getAllNodes(), and writeParametersNode().
Referenced by visitProc().
|
protectedvirtual |
Definition at line 1112 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 551 of file VisitorSaveSchema.cxx.
References _out, depthNode(), YACS::ENGINE::Visitor::getNodeProperties(), and indent().
Referenced by visitBloc(), visitElementaryNode(), visitForEachLoop(), visitForEachLoopDyn(), 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 865 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::ComposedNode::getName(), YACS::ENGINE::DataPort::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Port::getNode(), YACS::ENGINE::Node::getNumId(), YACS::ENGINE::Port::getNumId(), indent(), YACS::ENGINE::ComposedNode::isInMyDescendance(), and YACS::ENGINE::ForEachLoopGen::NAME_OF_SPLITTERNODE.
Referenced by visitBloc(), visitForEachLoop(), visitForEachLoopDyn(), visitForLoop(), visitLoop(), visitOptimizerLoop(), visitProc(), visitSwitch(), and visitWhileLoop().
|
protectedvirtual |
Definition at line 974 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::Node::getNumId(), YACS::ENGINE::Port::getNumId(), YACS::ENGINE::Node::getSetOfOutputDataStreamPort(), indent(), and YACS::ENGINE::ComposedNode::isInMyDescendance().
Referenced by visitBloc(), visitForEachLoop(), visitForEachLoopDyn(), visitForLoop(), visitLoop(), visitOptimizerLoop(), visitProc(), visitSwitch(), and visitWhileLoop().
|
protectedvirtual |
Definition at line 682 of file VisitorSaveSchema.cxx.
References depthNode(), dumpTypeCode(), and YACS::ENGINE::Visitor::getTypeCodeMap().
Referenced by visitProc().
|
protected |
Definition at line 112 of file VisitorSaveSchema.hxx.
Referenced by visitServiceNode().
|
protected |
Definition at line 111 of file VisitorSaveSchema.hxx.
Referenced by visitServerNode(), visitServiceNode(), and writeContainers().
|
protected |
Definition at line 114 of file VisitorSaveSchema.hxx.
Referenced by writeSimpleDataLinks().
|
protected |
Definition at line 115 of file VisitorSaveSchema.hxx.
Referenced by writeSimpleStreamLinks().
|
protected |
Definition at line 110 of file VisitorSaveSchema.hxx.
|
protected |
Definition at line 109 of file VisitorSaveSchema.hxx.
Referenced by beginCase(), closeFileSchema(), dumpTypeCode(), endCase(), openFileSchema(), visitBloc(), visitDynParaLoop(), visitForEachLoop(), visitForEachLoopDyn(), 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 113 of file VisitorSaveSchema.hxx.
Referenced by depthNode(), visitBloc(), visitDynParaLoop(), visitElementaryNode(), visitForEachLoop(), visitForEachLoopDyn(), visitForLoop(), visitInlineFuncNode(), visitInlineNode(), visitLoop(), visitOptimizerLoop(), visitOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitOutNode(), visitPresetNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitPresetNode(), visitServerNode(), visitServiceInlineNode(), visitServiceNode(), visitStudyInNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyInNode(), visitStudyOutNode(), YACS::ENGINE::VisitorSaveSalomeSchema::visitStudyOutNode(), visitSwitch(), and visitWhileLoop().