50 #ifndef _NODEENTITY_H_
51 #define _NODEENTITY_H_
53 #include "../interfaces/Anchor.h"
54 #include "../interfaces/LambdaAnchor.h"
55 using namespace ::br::pucrio::telemidia::ncl::interfaces;
57 #include "../reuse/ReferNode.h"
58 using namespace ::br::pucrio::telemidia::ncl::reuse;
63 #include "../descriptor/GenericDescriptor.h"
64 using namespace ::br::pucrio::telemidia::ncl::descriptor;
75 namespace components {
78 GenericDescriptor* descriptor;
82 set<ReferNode*> instSameInstances;
83 set<ReferNode*> gradSameInstances;
89 LambdaAnchor* getLambdaAnchor();
90 GenericDescriptor* getDescriptor();
91 void setDescriptor(GenericDescriptor* someDescriptor);
93 void setContent(
Content* content);
94 bool addAnchor(Anchor *anchor);
95 bool addAnchor(
int index, Anchor* anchor);
96 void setId(
string id);
97 bool removeAnchor(
int index);
98 bool removeAnchor(Anchor *anchor);
99 set<ReferNode*>* getInstSameInstances();
100 set<ReferNode*>* getGradSameInstances();
101 bool addSameInstance(ReferNode* node);
102 void removeSameInstance(ReferNode* node);
110 #endif //_NODEENTITY_H_
Definition: NodeEntity.h:76