oaLibInterfaceAccess.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaLibInterfaceAccess.h
00004 //
00005 // This file contains the declaration of a templated class that is used for
00006 // gaining access to an underlying interface that an OA class contains.
00007 //
00008 //  InterfaceAccess
00009 //      This class should be specialized to grant access to an IBase interface
00010 //      associated with a class.
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 2004-2005 Cadence Design Systems, Inc.
00019 //                           All Rights Reserved.
00020 //
00021 //  $Author: icftcm $
00022 //  $Revision: #1 $
00023 //  $Date: 2010/08/09 $
00024 //  $State: Exp $
00025 // *****************************************************************************
00026 
00027 
00028 
00029 #if !defined(oaLibInterfaceAccess_P)
00030 #define oaLibInterfaceAccess_P
00031 
00032 
00033 
00034 // *****************************************************************************
00035 // Nested includes
00036 // *****************************************************************************
00037 #include "oaLib.h"
00038 #include "oaCommonInterfaceAccess.h"
00039 
00040 
00041 
00042 // *****************************************************************************
00043 // Declare and define types in the OpenAccess namespace.
00044 // *****************************************************************************
00045 BEGIN_OA_COMMON_NAMESPACE
00046 
00047 
00048 
00049 // ****************************************************************************
00050 // InterfaceAccess
00051 // ****************************************************************************
00052 template<>
00053 class OA_DM_DLL_API InterfaceAccess<oa::oaLib> {
00054 public:
00055     static void             getInterface(oa::oaLib  *object,
00056                                          IBase      *&base);
00057 };
00058 
00059 
00060 
00061 END_OA_COMMON_NAMESPACE
00062 
00063 #endif

Return to top of page