#include <Constrains.hpp>
Inheritance diagram for Model::Constrains:
Public Types | |
typedef OMF::BasicLink< Constraint, ModelElement > | Link |
Public Member Functions | |
virtual | ~Constrains () |
void | add (Constraint *constraint, ModelElement *constrainedElement) |
virtual void | add (OMF::ModelObject *end1, OMF::ModelObject *end2) |
void | remove (Constraint *constraint, ModelElement *constrainedElement) |
virtual void | remove (OMF::ModelObject *end1, OMF::ModelObject *end2) |
const std::string & | name () const |
const LinkSet & | links () const |
bool | exists (ModelObject *end1, ModelObject *end2) const |
Link * | find (ModelObject *end1, ModelObject *end2) const |
Static Public Member Functions | |
Constrains & | instance (const std::string &name="") |
Protected Member Functions | |
Constrains () | |
Association & | init (const std::string &name) |
void | addLink (Link *link) |
void | removeLink (Link *link) |
|
|
|
|
|
|
|
Add a link to the link set. Reimplemented from OMF::Association.
|
|
Add a link to the link set. |
|
Used to internally add a newly created link object. |
|
Check for link existence. |
|
Find the link between the two objects. |
|
Called to initialize the association. |
|
Return the singleton instance of this association. |
|
Return all the links. |
|
Return the name of the association. |
|
Remove a link from the link set. Reimplemented from OMF::Association.
|
|
Remove a link from the link set. |
|
Used to internally remove a link object. |