oaEvalTextLink.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaEvalTextLink.h
00004 //
00005 // This file contains the definitions for oaEvalTextLink class:
00006 //
00007 //  oaEvalTextLink
00008 //      This class is used as an container class for IEvalText. An IEvalText can
00009 //      be created in memory by the application or through eval text plug-in.
00010 //
00011 //
00012 // *****************************************************************************
00013 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00014 // Integration Initiative, this material may not be copied, modified,
00015 // re-published, uploaded, executed, or distributed in any way, in any medium,
00016 // in whole or in part, without prior written permission from Cadence.
00017 //
00018 //                Copyright 2003-2005 Cadence Design Systems, Inc.
00019 //                           All Rights Reserved.
00020 //
00021 //  $Author: icftcm $
00022 //  $Revision: #1 $
00023 //  $Date: 2010/08/09 $
00024 //  $State$
00025 // *****************************************************************************
00026 // *****************************************************************************
00027 
00028 
00029 
00030 #if !defined(oaEvalTextLink_P)
00031 #define oaEvalTextLink_P
00032 
00033 
00034 
00035 // *****************************************************************************
00036 // Nested includes
00037 // *****************************************************************************
00038 #include "oaDesignInterfaces.h"
00039 
00040 
00041 
00042 // *****************************************************************************
00043 // Declare and define types in the OpenAccess namespace.
00044 // *****************************************************************************
00045 BEGIN_OA_NAMESPACE
00046 
00047 
00048 
00049 // *****************************************************************************
00050 // oaEvalTextLink
00051 // *****************************************************************************
00052 class OA_DESIGN_DLL_API oaEvalTextLink {
00053 public:
00054     void                    destroy();
00055     IEvalText               *getIEvalText() const;
00056 
00057     static oaEvalTextLink   *find(const oaString &name);
00058     static oaEvalTextLink   *create(IEvalText *evalTextIn);
00059 
00060 private:
00061                             oaEvalTextLink(IEvalText *evalTextIn);
00062 
00063     IEvalText               *evalText;
00064     oaEvalTextLink          *next;
00065     static oaEvalTextLink   *first;
00066 
00067     friend class IEvalText;
00068 };
00069 
00070 
00071 
00072 END_OA_NAMESPACE
00073 
00074 #endif

Return to top of page