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

Model::CanRaise Class Reference

#include <CanRaise.hpp>

Inheritance diagram for Model::CanRaise:

OMF::Association List of all members.

Detailed Description

The CanRaise 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< Operation,
Exception > 
Link

Public Member Functions

virtual ~CanRaise ()
void add (Operation *operation, Exception *except)
virtual void add (OMF::ModelObject *end1, OMF::ModelObject *end2)
void remove (Operation *operation, Exception *except)
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

CanRaise & instance (const std::string &name="")

Protected Member Functions

 CanRaise ()
Association & init (const std::string &name)
void addLink (Link *link)
void removeLink (Link *link)


Member Typedef Documentation

typedef OMF::BasicLink<Operation, Exception> Model::CanRaise::Link
 


Constructor & Destructor Documentation

Model::CanRaise::CanRaise (   )  [protected]
 

virtual Model::CanRaise::~CanRaise (   )  [virtual]
 


Member Function Documentation

virtual void Model::CanRaise::add (  OMF::ModelObject *  end1,
OMF::ModelObject *  end2
)  [virtual]
 

Add a link to the link set.

Reimplemented from OMF::Association.

void Model::CanRaise::add (  Operation *  operation,
Exception *  except
) 
 

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.

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

Remove a link from the link set.

Reimplemented from OMF::Association.

void Model::CanRaise::remove (  Operation *  operation,
Exception *  except
) 
 

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