50 #ifndef _CONTEXTNODE_H_
51 #define _CONTEXTNODE_H_
53 #include "../descriptor/GenericDescriptor.h"
54 using namespace ::br::pucrio::telemidia::ncl::descriptor;
56 #include "../link/Link.h"
57 #include "../link/LinkComposition.h"
58 using namespace ::br::pucrio::telemidia::ncl::link;
60 #include "NodeEntity.h"
61 #include "IllegalNodeTypeException.h"
62 #include "CompositeNode.h"
73 namespace components {
76 map<string, GenericDescriptor*> descriptorCollection;
85 bool instanceOf(
string className) {
86 return Entity::instanceOf(className);
89 bool addLink(Link* link);
90 bool addNode(
Node* node)
94 bool containsLink(Link* link);
95 virtual set<Link*>* getLinks();
96 Link* getLink(
string linkId);
97 GenericDescriptor* getNodeDescriptor(
Node *node);
99 bool removeLink(
string linkId);
100 bool removeLink(Link* link);
101 bool setNodeDescriptor(
103 GenericDescriptor* descriptor);
111 #endif //_CONTEXTNODE_H_
Definition: IllegalNodeTypeException.h:60
Definition: CompositeNode.h:72
Definition: ContextNode.h:74