7 #ifndef __operator_MetaGraph_h__ 8 #define __operator_MetaGraph_h__ 27 void set(
void* a_nativeNode,
String a_nodeName)
28 { m_nativeNode=a_nativeNode;
29 m_nodeName=a_nodeName; }
39 virtual U32 inputCount(
String a_nodeName)
const;
40 virtual String inputConnector(
String a_nodeName,U32 a_index)
const;
41 virtual BWORD hasInputConnector(
String a_nodeName,
42 String a_inputConnector)
const;
44 String a_inputConnector)
const;
45 virtual String inputNodeOutputConnector(
String a_nodeName,
46 String a_inputConnector)
const;
48 virtual U32 outputCount(
String a_nodeName)
const;
49 virtual String outputConnector(
String a_nodeName,U32 a_index)
const;
50 virtual BWORD hasOutputConnector(
String a_nodeName,
51 String a_outputConnector)
const;
53 String a_outputConnector)
const;
55 U32 inputCount(
const void* a_rNativeNode)
const;
56 String inputConnector(
const void* a_rNativeNode,
58 BWORD hasInputConnector(
const void* a_rNativeNode,
59 String a_inputConnector)
const;
60 void* inputNode(
const void* a_rNativeNode,
61 String a_inputConnector)
const;
63 U32 outputCount(
const void* a_rNativeNode)
const;
64 String outputConnector(
const void* a_rNativeNode,
66 BWORD hasOutputConnector(
const void* a_rNativeNode,
67 String a_outputConnector)
const;
68 void* outputNode(
const void* a_rNativeNode,
69 String a_outputConnector)
const;
73 BWORD addConnection(
String a_outputName,
String a_outputConnector,
75 BWORD removeConnection(
String a_inputName,
78 void add(
void* a_nativeNode,
String a_nodeName);
79 void addInput(
const void* a_nativeNode,
81 void addOutput(
const void* a_nativeNode,
83 BWORD addConnection(
void* a_outputNode,
String a_outputConnector,
84 void* a_inputNode,
String a_inputConnector);
85 BWORD removeConnection(
void* a_inputNode,
String a_inputConnector);
87 void dump(
void)
const;
88 String generateDot(
void)
const;
94 std::map< const void*, sp<MetaNode> > m_nodeMap;
95 std::map<String,const void*> m_voidMap;
96 std::map<const void*,String> m_nameMap;
kernel
Definition: namespace.dox:3
Node in a Directed Acyclic Graph.
Definition: DAGNode.h:18
Automatically reference-counted string container.
Definition: String.h:128
General graph navigation.
Definition: OperatorGraphI.h:20