56 #include "../Entity.h"
57 using namespace ::br::pucrio::telemidia::ncl;
59 #include "../interfaces/Anchor.h"
60 #include "../interfaces/PropertyAnchor.h"
61 using namespace ::br::pucrio::telemidia::ncl::interfaces;
67 namespace components {
73 vector<Anchor*> anchorList;
74 vector<PropertyAnchor*> originalPAnchors;
81 bool hasProperty(
string propName);
84 void copyProperties(
Node* node);
85 void setParentComposition(
void* composition);
86 void* getParentComposition();
87 vector<Node*>* getPerspective();
88 virtual bool addAnchor(Anchor *anchor);
89 virtual bool addAnchor(
int index, Anchor *anchor);
90 Anchor* getAnchor(
string anchorId);
91 Anchor* getAnchor(
int index);
93 vector<Anchor*>* getAnchors();
94 vector<PropertyAnchor*>* getOriginalPropertyAnchors();
96 PropertyAnchor* getPropertyAnchor(
string propertyName);
98 int indexOfAnchor(Anchor *anchor);
99 virtual bool removeAnchor(
int index);
100 virtual bool removeAnchor(Anchor *anchor);