oaWaferCollection.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaWaferCollection.h
00004 //
00005 // This file contains the definitions for wafer collections & iterators
00006 // and their supporting classes.
00007 //
00008 // *****************************************************************************
00009 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00010 // Integration Initiative, this material may not be copied, modified,
00011 // re-published, uploaded, executed, or distributed in any way, in any medium,
00012 // in whole or in part, without prior written permission from Cadence.
00013 //
00014 //                Copyright 2004-2005 Cadence Design Systems, Inc.
00015 //                           All Rights Reserved.
00016 //
00017 //  $Author: icftcm $
00018 //  $Revision: #1 $
00019 //  $Date: 2010/08/09 $
00020 //  $State: Exp $
00021 // *****************************************************************************
00022 // *****************************************************************************
00023 
00024 
00025 
00026 #if !defined(oaWaferCollection_P)
00027 #define oaWaferCollection_P
00028 
00029 
00030 
00031 // *****************************************************************************
00032 // Nested includes
00033 // *****************************************************************************
00034 #include "oaBaseCollection.h"
00035 #include "oaWafer.h"
00036 
00037 
00038 
00039 // *****************************************************************************
00040 // Declare and define types in the OpenAccess namespace.
00041 // *****************************************************************************
00042 BEGIN_OA_NAMESPACE
00043 
00044 
00045 
00046 // *****************************************************************************
00047 // oaCollection<oaWafer, oaWafer>
00048 //
00049 // This is the specialized open wafer database collection definition and
00050 // its methods.
00051 // *****************************************************************************
00052 template<>
00053 class OA_WAFER_DLL_API oaCollection<oaWafer, oaWafer> : public oaDatabaseCollection {
00054 public:
00055                             oaCollection(oaUInt4 dbIDIn);
00056                             oaCollection(const oaCollection<oaWafer, oaWafer> &c);
00057 
00058     oaBoolean               includes(const oaWafer *db) const;
00059 };
00060 
00061 
00062 
00063 // *****************************************************************************
00064 // oaIter<oaWafer>
00065 //
00066 // This is the wafer specialization of oaIter<>.
00067 // *****************************************************************************
00068 template <>
00069 class OA_WAFER_DLL_API oaIter<oaWafer> : public oaDatabaseIter {
00070 public:
00071                             oaIter(const oaCollection<oaWafer, oaWafer> &c);
00072                             oaIter(const oaIter<oaWafer> &iterIn);
00073 
00074     oaWafer                 *getNext();
00075 };
00076 
00077 
00078 
00079 END_OA_NAMESPACE
00080 
00081 #endif

Return to top of page