Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Model::Aliases Class Reference

#include <Aliases.hpp>

Inheritance diagram for Model::Aliases:

OMF::Association List of all members.

Detailed Description

The Aliases association class implements the containment relation in the MOF. The first end is the container (the object implementing the contents reference) and the second is the contained element.

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 LinkSetlinks () const
bool exists (ModelObject *end1, ModelObject *end2) const
Linkfind (ModelObject *end1, ModelObject *end2) const

Static Public Member Functions

Aliasesinstance (const std::string &name="")

Protected Member Functions

 Aliases ()
Associationinit (const std::string &name)
void addLink (Link *link)
void removeLink (Link *link)


Member Typedef Documentation

typedef OMF::BasicLink<Import, Namespace> Model::Aliases::Link
 


Constructor & Destructor Documentation

Model::Aliases::Aliases  )  [protected]
 

virtual Model::Aliases::~Aliases  )  [virtual]
 


Member Function Documentation

virtual void Model::Aliases::add OMF::ModelObject end1,
OMF::ModelObject end2
[virtual]
 

Add a link to the link set.

Reimplemented from OMF::Association.

void Model::Aliases::add Import importer,
Namespace imported
 

Add a link to the link set.

void OMF::Association::addLink Link link  )  [protected, inherited]
 

Used to internally add a newly created link object.

bool OMF::Association::exists ModelObject end1,
ModelObject end2
const [inherited]
 

Check for link existence.

Link* OMF::Association::find ModelObject end1,
ModelObject end2
const [inherited]
 

Find the link between the two objects.

Association& OMF::Association::init const std::string &  name  )  [protected, inherited]
 

Called to initialize the association.

Aliases& Model::Aliases::instance const std::string &  name = ""  )  [static]
 

Return the singleton instance of this association.

const LinkSet& OMF::Association::links  )  const [inherited]
 

Return all the links.

const std::string& OMF::Association::name  )  const [inherited]
 

Return the name of the association.

virtual void Model::Aliases::remove OMF::ModelObject end1,
OMF::ModelObject end2
[virtual]
 

Remove a link from the link set.

Reimplemented from OMF::Association.

void Model::Aliases::remove Import importer,
Namespace imported
 

Remove a link from the link set.

void OMF::Association::removeLink Link link  )  [protected, inherited]
 

Used to internally remove a link object.


The documentation for this class was generated from the following file:
Generated on Fri Sep 10 13:07:34 2004 for OpenModelingFramework by doxygen 1.3.8