Version: 8.3.0
YACS::ENGINE::Visitor Class Referenceabstract

#include <Visitor.hxx>

Inheritance diagram for YACS::ENGINE::Visitor:
Collaboration diagram for YACS::ENGINE::Visitor:

Public Member Functions

 Visitor (ComposedNode *root)
 
virtual void visitBloc (Bloc *node)=0
 
virtual void visitElementaryNode (ElementaryNode *node)=0
 
virtual void visitForEachLoop (ForEachLoop *node)=0
 
virtual void visitOptimizerLoop (OptimizerLoop *node)=0
 
virtual void visitDynParaLoop (DynParaLoop *node)=0
 
virtual void visitForLoop (ForLoop *node)=0
 
virtual void visitInlineNode (InlineNode *node)=0
 
virtual void visitInlineFuncNode (InlineFuncNode *node)=0
 
virtual void visitLoop (Loop *node)=0
 
virtual void visitProc (Proc *node)=0
 
virtual void visitServiceNode (ServiceNode *node)=0
 
virtual void visitServerNode (ServerNode *node)=0
 
virtual void visitServiceInlineNode (ServiceInlineNode *node)=0
 
virtual void visitSwitch (Switch *node)=0
 
virtual void visitWhileLoop (WhileLoop *node)=0
 
virtual void visitPresetNode (DataNode *node)=0
 
virtual void visitOutNode (DataNode *node)=0
 
virtual void visitStudyInNode (DataNode *node)=0
 
virtual void visitStudyOutNode (DataNode *node)=0
 

Protected Member Functions

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

ComposedNode_root
 

Detailed Description

Definition at line 53 of file Visitor.hxx.

Constructor & Destructor Documentation

Visitor::Visitor ( ComposedNode root)

Definition at line 28 of file Visitor.cxx.

28  : _root(root)
29 {
30 }

Member Function Documentation

std::map< std::string, Container * > Visitor::getContainerMap ( Proc proc)
protected

Definition at line 42 of file Visitor.cxx.

References YACS::ENGINE::Proc::containerMap.

Referenced by YACS::ENGINE::VisitorSaveSchema::writeContainers().

43 {
44  return proc->containerMap;
45 }
std::list< TypeCodeObjref * > Visitor::getListOfBases ( TypeCodeObjref objref)
protected

Definition at line 47 of file Visitor.cxx.

References YACS::ENGINE::TypeCodeObjref::_listOfBases.

Referenced by YACS::ENGINE::VisitorSaveSchema::dumpTypeCode().

48 {
49  return objref->_listOfBases;
50 }
std::map< std::string, std::string > Visitor::getNodeProperties ( Node node)
protected

Definition at line 32 of file Visitor.cxx.

References YACS::ENGINE::Node::_propertyMap.

Referenced by YACS::ENGINE::VisitorSaveSchema::writeProperties().

33 {
34  return node->_propertyMap;
35 }
std::map< std::string, TypeCode * > Visitor::getTypeCodeMap ( Proc proc)
protected

Definition at line 37 of file Visitor.cxx.

References YACS::ENGINE::Proc::typeMap.

Referenced by YACS::ENGINE::VisitorSaveSchema::writeTypeCodes().

38 {
39  return proc->typeMap;
40 }
virtual void YACS::ENGINE::Visitor::visitBloc ( Bloc node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitDynParaLoop ( DynParaLoop node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitElementaryNode ( ElementaryNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitForEachLoop ( ForEachLoop node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitForLoop ( ForLoop node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitInlineFuncNode ( InlineFuncNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitInlineNode ( InlineNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitLoop ( Loop node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitOptimizerLoop ( OptimizerLoop node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitOutNode ( DataNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitPresetNode ( DataNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitProc ( Proc node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitServerNode ( ServerNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitServiceInlineNode ( ServiceInlineNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitServiceNode ( ServiceNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitStudyInNode ( DataNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitStudyOutNode ( DataNode node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitSwitch ( Switch node)
pure virtual
virtual void YACS::ENGINE::Visitor::visitWhileLoop ( WhileLoop node)
pure virtual

Member Data Documentation


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