ContributionNode.hh

Go to the documentation of this file.
00001 #ifndef CONTRIBUTION_NODE_HH
00002 #define CONTRIBUTION_NODE_HH
00003 
00004 // Copyright (c) 2002-2005 The University of Cincinnati.
00005 // All rights reserved.
00006 
00007 // You may modify, distribute, and use the software contained in this
00008 // package under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE"
00009 // version 2, June 1991. A copy of this license agreement can be found in
00010 // the file "LGPL", distributed with this archive.
00011 
00012 // Authors: Vinod Chamarty                    chamarv@ececs.uc.edu
00013 
00014 #include "tyvis/VHDLType.hh"
00015 #include "tyvis/Terminal.hh"
00016 #include "tyvis/Quantity.hh"
00017 #include "tyvis/QuantityNode.hh"
00018 
00019 class quantityNode;
00020 
00027 class contributionNode {
00028 
00029 public:
00030 
00032   contributionNode();
00033 
00035   ~contributionNode();
00036 
00040   void setTerminal(const Terminal& term);
00041 
00043   quantityNode* getNode();
00044 
00046   Terminal getTerminal();
00047 
00049   int getNoOfQtys();
00050 
00054   void insertQty(VHDLType *qty);
00055 
00058   void traverse();
00059 
00063   void setContribution();
00064 
00065 protected:
00066 
00067 private:
00068 
00070   Terminal terminal;
00071 
00074   quantityNode *ptrToQuantityNode;
00075 
00077   int noOfQtys;
00078 
00079 };
00080 #endif
00081 

Generated on Fri Mar 31 11:05:08 2006 for Tyvis by  doxygen 1.4.6