Version: 9.15.0
MyVisitorPropagate Class Reference
Inheritance diagram for MyVisitorPropagate:
Collaboration diagram for MyVisitorPropagate:

Public Member Functions

 MyVisitorPropagate (ComposedNode *root)
 
void visitBloc (Bloc *node)
 
void visitElementaryNode (ElementaryNode *node)
 
void visitForEachLoop (ForEachLoop *node)
 
void visitForEachLoopDyn (ForEachLoopDyn *node)
 
void visitOptimizerLoop (OptimizerLoop *node)
 
void visitDynParaLoop (DynParaLoop *node)
 
void visitForLoop (ForLoop *node)
 
template<class NodeClass >
void visitNodeWithContainer (NodeClass *node)
 
void visitInlineNode (InlineNode *node)
 
void visitInlineFuncNode (InlineFuncNode *node)
 
void visitLoop (Loop *node)
 
void visitProc (Proc *node)
 
void visitServiceNode (ServiceNode *node)
 
void visitServerNode (ServerNode *node)
 
void visitServiceInlineNode (ServiceInlineNode *node)
 
void visitSwitch (Switch *node)
 
void visitWhileLoop (WhileLoop *node)
 
void visitPresetNode (DataNode *node)
 
void visitOutNode (DataNode *node)
 
void visitStudyInNode (DataNode *node)
 
void visitStudyOutNode (DataNode *node)
 
- Public Member Functions inherited from YACS::ENGINE::Visitor
 Visitor (ComposedNode *root)
 

Public Attributes

std::set< HomogeneousPoolContainer * > _cont2
 

Additional Inherited Members

- 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 inherited from YACS::ENGINE::Visitor
ComposedNode_root
 

Detailed Description

Definition at line 115 of file Bloc_impl.cxx.

Constructor & Destructor Documentation

◆ MyVisitorPropagate()

MyVisitorPropagate::MyVisitorPropagate ( ComposedNode root)
inline

Definition at line 118 of file Bloc_impl.cxx.

118 :Visitor(root) { }
Visitor(ComposedNode *root)
Definition: Visitor.cxx:28

Member Function Documentation

◆ visitBloc()

void MyVisitorPropagate::visitBloc ( Bloc node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 119 of file Bloc_impl.cxx.

119 { node->ComposedNode::accept(this); }

◆ visitDynParaLoop()

void MyVisitorPropagate::visitDynParaLoop ( DynParaLoop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 124 of file Bloc_impl.cxx.

124 { throw YACS::Exception(MSG); }
constexpr char MSG[]
Definition: Bloc_impl.cxx:114

References MSG.

◆ visitElementaryNode()

void MyVisitorPropagate::visitElementaryNode ( ElementaryNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 120 of file Bloc_impl.cxx.

120 { }

◆ visitForEachLoop()

void MyVisitorPropagate::visitForEachLoop ( ForEachLoop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 121 of file Bloc_impl.cxx.

121 { node->ComposedNode::accept(this); }

◆ visitForEachLoopDyn()

void MyVisitorPropagate::visitForEachLoopDyn ( ForEachLoopDyn node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 122 of file Bloc_impl.cxx.

122 { node->ComposedNode::accept(this); }

◆ visitForLoop()

void MyVisitorPropagate::visitForLoop ( ForLoop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 125 of file Bloc_impl.cxx.

125 { throw YACS::Exception(MSG); }

References MSG.

◆ visitInlineFuncNode()

void MyVisitorPropagate::visitInlineFuncNode ( InlineFuncNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 136 of file Bloc_impl.cxx.

136 { visitInlineNode(node); }
void visitInlineNode(InlineNode *node)
Definition: Bloc_impl.cxx:135

◆ visitInlineNode()

void MyVisitorPropagate::visitInlineNode ( InlineNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 135 of file Bloc_impl.cxx.

135 { this->visitNodeWithContainer<InlineNode>(node); }

◆ visitLoop()

void MyVisitorPropagate::visitLoop ( Loop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 137 of file Bloc_impl.cxx.

137 { throw YACS::Exception(MSG); }

References MSG.

◆ visitNodeWithContainer()

template<class NodeClass >
void MyVisitorPropagate::visitNodeWithContainer ( NodeClass *  node)
inline

Definition at line 127 of file Bloc_impl.cxx.

128  {
129  Container *cont(node->getContainer());
130  HomogeneousPoolContainer *cont2(dynamic_cast<HomogeneousPoolContainer *>(cont));
131  if(!cont2)
132  return ;
133  _cont2.insert(cont2);
134  }
std::set< HomogeneousPoolContainer * > _cont2
Definition: Bloc_impl.cxx:149

◆ visitOptimizerLoop()

void MyVisitorPropagate::visitOptimizerLoop ( OptimizerLoop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 123 of file Bloc_impl.cxx.

123 { throw YACS::Exception(MSG); }

References MSG.

◆ visitOutNode()

void MyVisitorPropagate::visitOutNode ( DataNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 145 of file Bloc_impl.cxx.

145 { throw YACS::Exception(MSG); }

References MSG.

◆ visitPresetNode()

void MyVisitorPropagate::visitPresetNode ( DataNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 144 of file Bloc_impl.cxx.

144 { throw YACS::Exception(MSG); }

References MSG.

◆ visitProc()

void MyVisitorPropagate::visitProc ( Proc node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 138 of file Bloc_impl.cxx.

138 { node->ComposedNode::accept(this); }

◆ visitServerNode()

void MyVisitorPropagate::visitServerNode ( ServerNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 140 of file Bloc_impl.cxx.

140 { visitInlineNode(node); }

◆ visitServiceInlineNode()

void MyVisitorPropagate::visitServiceInlineNode ( ServiceInlineNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 141 of file Bloc_impl.cxx.

141 { throw YACS::Exception(MSG); }

References MSG.

◆ visitServiceNode()

void MyVisitorPropagate::visitServiceNode ( ServiceNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 139 of file Bloc_impl.cxx.

139 { this->visitNodeWithContainer<ServiceNode>(node); }

◆ visitStudyInNode()

void MyVisitorPropagate::visitStudyInNode ( DataNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 146 of file Bloc_impl.cxx.

146 { throw YACS::Exception(MSG); }

References MSG.

◆ visitStudyOutNode()

void MyVisitorPropagate::visitStudyOutNode ( DataNode node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 147 of file Bloc_impl.cxx.

147 { throw YACS::Exception(MSG); }

References MSG.

◆ visitSwitch()

void MyVisitorPropagate::visitSwitch ( Switch node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 142 of file Bloc_impl.cxx.

142 { throw YACS::Exception(MSG); }

References MSG.

◆ visitWhileLoop()

void MyVisitorPropagate::visitWhileLoop ( WhileLoop node)
inlinevirtual

Implements YACS::ENGINE::Visitor.

Definition at line 143 of file Bloc_impl.cxx.

143 { throw YACS::Exception(MSG); }

References MSG.

Member Data Documentation

◆ _cont2

std::set< HomogeneousPoolContainer * > MyVisitorPropagate::_cont2

Definition at line 149 of file Bloc_impl.cxx.

Referenced by YACS::ENGINE::Bloc::propagePlayGround().


The documentation for this class was generated from the following file: