#include <Aliases.hpp>
Inheritance diagram for Model::Aliases:
Defined in [3.5.1].
Public Types | |
typedef OMF::BasicLink< Import, Namespace > | Link |
Public Member Functions | |
virtual | ~Aliases () |
void | add (Import *importer, Namespace *imported) |
virtual void | add (OMF::ModelObject *end1, OMF::ModelObject *end2) |
void | remove (Import *importer, Namespace *imported) |
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 | |
Aliases & | instance (const std::string &name="") |
Protected Member Functions | |
Aliases () | |
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. |