Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::DependencySet Class Reference

comma::DependencySet Class Reference

#include <DependencySet.h>

Collaboration diagram for comma::DependencySet:
Collaboration graph
[legend]

List of all members.

Public Types

typedef DependencySetIterator iterator

Public Member Functions

 DependencySet (const Domoid *domoid)
iterator begin () const
iterator end () const
const DomoidgetCapsule () const
unsigned getDependentID (iterator I) const
const DomainInstanceDeclgetDependent (unsigned ID) const
iterator find (const DomainInstanceDecl *instance) const
unsigned size () const

Detailed Description

This class analyzes the given capsule and generates a dependency set.

A dependency set is the collection of all externally referenced domain instances which a capsule references. Moreover, the set is ordered such that earlier instances do not depend on those which follow. Each instance is associated with a zero-based ID which can be used to index the set and test the ordering relation.

The information generated by this class is used by the runtime to build constructor functions (such functions need to elaborate the required domain instances in the order provided by dependency sets.).

Definition at line 90 of file DependencySet.h.


Member Typedef Documentation

Definition at line 100 of file DependencySet.h.


Constructor & Destructor Documentation

comma::DependencySet::DependencySet ( const Domoid domoid  )  [inline]

Definition at line 98 of file DependencySet.h.


Member Function Documentation

iterator comma::DependencySet::begin (  )  const [inline]

Definition at line 101 of file DependencySet.h.

iterator comma::DependencySet::end (  )  const [inline]

Definition at line 102 of file DependencySet.h.

DependencySet::iterator DependencySet::find ( const DomainInstanceDecl instance  )  const

Definition at line 303 of file DependencySet.cpp.

const Domoid* comma::DependencySet::getCapsule (  )  const [inline]

Definition at line 105 of file DependencySet.h.

const DomainInstanceDecl* comma::DependencySet::getDependent ( unsigned  ID  )  const [inline]

Definition at line 111 of file DependencySet.h.

unsigned comma::DependencySet::getDependentID ( iterator  I  )  const [inline]

Definition at line 107 of file DependencySet.h.

unsigned comma::DependencySet::size (  )  const [inline]

Definition at line 117 of file DependencySet.h.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1