Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

connection.h

Go to the documentation of this file.
00001 /* connection.h */
00002 
00003 #ifndef __CONNECTION_H
00004 #define __CONNECTION_H
00005 
00006 #include "wire.h"
00007 #include "component.h"
00008 #include <vector>
00009 
00010 using namespace std;
00011 
00012 class Wire;
00013 
00014 
00019 class Connection{
00020  public:
00021   void add_wireend(WireEnd *w);
00022   void add_component(Component *c);
00023 
00024   void remove_wireend(WireEnd *w);
00025   void remove_component(Component *c);
00026 
00027  private:
00028   vector<WireEnd *> wireends;
00029   vector<Component *> components;
00030 
00031 };
00032 
00033 
00034 
00035 #endif

Generated on Wed Apr 23 10:42:33 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002