7 #ifndef __math_DAGNode_h__ 8 #define __math_DAGNode_h__ 24 class Connection:
public Handled<Connection>
29 const String a_childConnector,
30 const String a_parentConnector):
32 m_hpParent(a_hpParent),
33 m_childConnector(a_childConnector),
34 m_parentConnector(a_parentConnector) {}
36 virtual ~Connection(
void) {}
39 {
return a_spOther->m_spChild.raw()==
44 String& childConnector(
void) {
return m_childConnector; }
45 String& parentConnector(
void) {
return m_parentConnector; }
57 void addParentConnector(
const String a_connector);
58 void addChildConnector(
const String a_connector);
63 U32 parentConnectorCount(
void)
const;
64 U32 childConnectorCount(
void)
const;
67 String parentConnector(U32 a_index);
68 String childConnector(U32 a_index);
70 BWORD hasParentConnector(
String a_connector);
71 BWORD hasChildConnector(
String a_connector);
74 String a_remoteConnector=
"");
77 BWORD detach(
String a_localConnector);
78 void validate(
void)
const;
83 U32 parentConnectionCount(
void)
const;
84 U32 childConnectionCount(
void)
const;
101 std::map< String, hp<Connection> > m_parentMap;
102 std::map< String, sp<Connection> > m_childMap;
Fully Bidirectional Doubly-Linked List.
Definition: List.h:496
kernel
Definition: namespace.dox:3
Node in a Directed Acyclic Graph.
Definition: DAGNode.h:18
BWORD operator==(const DualString &s1, const DualString &s2)
Compare two DualString's.
Definition: DualString.h:208
Automatically reference-counted string container.
Definition: String.h:128
Type-specific Iterator for an fe::List <>
Definition: List.h:618
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Base class providing an fe::Handle to the derived class.
Definition: Handled.h:209
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192