oaOccModuleInst.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaOccModuleInst.h
00004 //
00005 // This file contains the definition for the oaOccModuleInst class. This class
00006 // class is a base for occurrences of instances of a module master.
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 2003-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(oaOccModuleInst_P)
00027 #define oaOccModuleInst_P
00028 
00029 
00030 
00031 // *****************************************************************************
00032 // Nested includes
00033 // *****************************************************************************
00034 #include "oaModModuleInst.h"
00035 #include "oaOccInst.h"
00036 #include "oaOccModuleInstHeader.h"
00037 
00038 
00039 
00040 // *****************************************************************************
00041 // Declare and define types in the OpenAccess namespace.
00042 // *****************************************************************************
00043 BEGIN_OA_NAMESPACE
00044 
00045 
00046 
00047 // *****************************************************************************
00048 // oaOccModuleInst
00049 // *****************************************************************************
00050 class OA_DESIGN_DLL_API oaOccModuleInst : public oaOccInst {
00051 public:
00052     oaModule                *getMaster() const;
00053     oaOccModuleInstHeader   *getHeader() const;
00054     oaModModuleInst         *getModInst() const;
00055 };
00056 
00057 
00058 
00059 // *****************************************************************************
00060 // oaOccModuleBitInst
00061 // *****************************************************************************
00062 class OA_DESIGN_DLL_API oaOccModuleBitInst : public oaOccModuleInst {
00063 public:
00064 };
00065 
00066 
00067 
00068 // *****************************************************************************
00069 // Design Traits.
00070 // *****************************************************************************
00071 template<>
00072 class oaTraits<oaOccModuleInst> {
00073 public:
00074     typedef oaInstModTypeEnum   modTypeType;
00075     typedef oaOccInst           parentType;
00076     enum {dtIndex = oacInstDataType};
00077     enum {dataTypeEnumVal = oacInstDataType};
00078     enum {domain = oacOccDomain};
00079     enum {isMultiDomain = true};
00080     enum {dbType = oacDesignDBType};
00081     enum {isConcrete = false};
00082     enum {abstractTypeEnumVal = oacOccModuleInstType};
00083 };
00084 
00085 template<>
00086 class oaTraits<oaOccModuleBitInst> {
00087 public:
00088     typedef oaInstModTypeEnum   modTypeType;
00089     typedef oaOccModuleInst     parentType;
00090     enum {dtIndex = oacInstDataType};
00091     enum {dataTypeEnumVal = oacInstDataType};
00092     enum {domain = oacOccDomain};
00093     enum {isMultiDomain = true};
00094     enum {dbType = oacDesignDBType};
00095     enum {isConcrete = false};
00096     enum {abstractTypeEnumVal = oacOccModuleBitInstType};
00097 };
00098 
00099 
00100 
00101 END_OA_NAMESPACE
00102 
00103 #endif

Return to top of page