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

Model::IsOfType Class Reference

#include <IsOfType.hpp>

Inheritance diagram for Model::IsOfType:

OMF::Association List of all members.

Detailed Description

Defined in [3.5.4].


Public Types

typedef OMF::BasicLink< Classifier,
TypedElement
Link

Public Member Functions

virtual ~IsOfType ()
void add (Classifier *type, TypedElement *typedElement)
virtual void add (OMF::ModelObject *end1, OMF::ModelObject *end2)
void remove (Classifier *type, TypedElement *typedElement)
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

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

Protected Member Functions

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


Member Typedef Documentation

typedef OMF::BasicLink<Classifier, TypedElement> Model::IsOfType::Link
 


Constructor & Destructor Documentation

Model::IsOfType::IsOfType  )  [protected]
 

virtual Model::IsOfType::~IsOfType  )  [virtual]
 


Member Function Documentation

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

Add a link to the link set.

Reimplemented from OMF::Association.

void Model::IsOfType::add Classifier type,
TypedElement typedElement
 

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.

IsOfType& Model::IsOfType::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::IsOfType::remove OMF::ModelObject end1,
OMF::ModelObject end2
[virtual]
 

Remove a link from the link set.

Reimplemented from OMF::Association.

void Model::IsOfType::remove Classifier type,
TypedElement typedElement
 

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:36 2004 for OpenModelingFramework by doxygen 1.3.8