#include <VisitorSaveSalomeSchema.hxx>
Protected Member Functions | |
virtual void | writeDataNodeParameters (DataNode *node) |
virtual void | writeStudyInNodeParameters (DataNode *node) |
virtual void | writeOutNodeParameters (DataNode *node) |
virtual void | writeStudyOutNodeParameters (DataNode *node) |
Protected Member Functions inherited from YACS::ENGINE::VisitorSaveSchema | |
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) |
Additional Inherited Members | |
Protected Attributes inherited from YACS::ENGINE::VisitorSaveSchema | |
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 |
Definition at line 30 of file VisitorSaveSalomeSchema.hxx.
VisitorSaveSalomeSchema::VisitorSaveSalomeSchema | ( | ComposedNode * | root | ) |
Definition at line 42 of file VisitorSaveSalomeSchema.cxx.
|
virtual |
Definition at line 47 of file VisitorSaveSalomeSchema.cxx.
|
virtual |
Reimplemented from YACS::ENGINE::VisitorSaveSchema.
Definition at line 70 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::_root, YACS::ENGINE::VisitorSaveSchema::beginCase(), DEBTRACE, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::DISABLED, YACS::ENGINE::VisitorSaveSchema::endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::DataNode::getRef(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::VisitorSaveSchema::indent(), gui.CONNECTOR::ref(), writeOutNodeParameters(), and YACS::ENGINE::VisitorSaveSchema::writeProperties().
|
virtual |
Reimplemented from YACS::ENGINE::VisitorSaveSchema.
Definition at line 51 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::_root, YACS::ENGINE::VisitorSaveSchema::beginCase(), DEBTRACE, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::DISABLED, YACS::ENGINE::VisitorSaveSchema::endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::DataNode::getRef(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::VisitorSaveSchema::indent(), gui.CONNECTOR::ref(), writeDataNodeParameters(), and YACS::ENGINE::VisitorSaveSchema::writeProperties().
|
virtual |
Reimplemented from YACS::ENGINE::VisitorSaveSchema.
Definition at line 89 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::_root, YACS::ENGINE::VisitorSaveSchema::beginCase(), DEBTRACE, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::DISABLED, YACS::ENGINE::VisitorSaveSchema::endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::DataNode::getRef(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::VisitorSaveSchema::indent(), gui.CONNECTOR::ref(), YACS::ENGINE::VisitorSaveSchema::writeProperties(), and writeStudyInNodeParameters().
|
virtual |
Reimplemented from YACS::ENGINE::VisitorSaveSchema.
Definition at line 108 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::_root, YACS::ENGINE::VisitorSaveSchema::beginCase(), DEBTRACE, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::DISABLED, YACS::ENGINE::VisitorSaveSchema::endCase(), YACS::ENGINE::ComposedNode::getChildName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::DataNode::getRef(), YACS::ENGINE::ElementaryNode::getState(), YACS::ENGINE::VisitorSaveSchema::indent(), gui.CONNECTOR::ref(), YACS::ENGINE::VisitorSaveSchema::writeProperties(), and writeStudyOutNodeParameters().
|
protectedvirtual |
Definition at line 127 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::ENGINE::OutputPresetPort::getData(), YACS::ENGINE::ElementaryNode::getSetOfOutputPort(), YACS::ENGINE::VisitorSaveSchema::indent(), and YASSERT.
Referenced by visitPresetNode().
|
protectedvirtual |
Definition at line 156 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::ENGINE::ElementaryNode::getSetOfInputPort(), and YACS::ENGINE::VisitorSaveSchema::indent().
Referenced by visitOutNode().
|
protectedvirtual |
Definition at line 142 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::ENGINE::OutputStudyPort::getData(), YACS::ENGINE::ElementaryNode::getSetOfOutputPort(), YACS::ENGINE::VisitorSaveSchema::indent(), and YASSERT.
Referenced by visitStudyInNode().
|
protectedvirtual |
Definition at line 167 of file VisitorSaveSalomeSchema.cxx.
References YACS::ENGINE::VisitorSaveSchema::_out, YACS::ENGINE::VisitorSaveSchema::depthNode(), YACS::ENGINE::InputStudyPort::getData(), YACS::ENGINE::ElementaryNode::getSetOfInputPort(), YACS::ENGINE::VisitorSaveSchema::indent(), and YASSERT.
Referenced by visitStudyOutNode().