00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaConstraintGroupHeader.h 00004 // 00005 // This file contains the definition for the oaConstraintGroupHeader class and 00006 // its public supporting classes. The oaConstraintGroupHeader class implements 00007 // an object that holds information about a particular constraint group and the 00008 // set of constraint groups that use it in a given database. 00009 // 00010 // ***************************************************************************** 00011 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00012 // Integration Initiative, this material may not be copied, modified, 00013 // re-published, uploaded, executed, or distributed in any way, in any medium, 00014 // in whole or in part, without prior written permission from Cadence. 00015 // 00016 // Copyright 2002-2005 Cadence Design Systems, Inc. 00017 // All Rights Reserved. 00018 // 00019 // $Author: icftcm $ 00020 // $Revision: #1 $ 00021 // $Date: 2010/08/09 $ 00022 // $State: Exp $ 00023 // ***************************************************************************** 00024 // ***************************************************************************** 00025 00026 00027 00028 #if !defined(oaConstraintGroupHeader_P) 00029 #define oaConstraintGroupHeader_P 00030 00031 00032 00033 // ***************************************************************************** 00034 // Nested includes 00035 // ***************************************************************************** 00036 #include "oaConstraintGroup.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ***************************************************************************** 00048 // Forward Class Declarations 00049 // ***************************************************************************** 00050 class oaConstraintGroupMem; 00051 00052 00053 00054 // ***************************************************************************** 00055 // oaConstraintGroupHeader 00056 // ***************************************************************************** 00057 class OA_BASE_DLL_API oaConstraintGroupHeader : public oaObject { 00058 public: 00059 static oaConstraintGroupHeader *find(const oaObject *database, 00060 const oaString &name); 00061 00062 oaConstraintGroup *getConstraintGroup() const; 00063 void getName(oaString &name) const; 00064 00065 oaCollection<oaConstraintGroupMem, oaConstraintGroupHeader> getConstraintGroupMems() const; 00066 00067 oaBoolean isBound() const; 00068 00069 enum {dtIndex = oacBaseConstraintGroupHeaderDataType}; 00070 }; 00071 00072 00073 00074 // ***************************************************************************** 00075 // Traits 00076 // ***************************************************************************** 00077 template<> 00078 class oaTraits<oaConstraintGroupHeader> { 00079 public: 00080 typedef oaObject parentType; 00081 typedef oaConstraintGroupHeaderModTypeEnum modTypeType; 00082 enum {domain = oacNoDomain}; 00083 enum {isMultiDomain = false}; 00084 enum {dbType = oacBaseDBType}; 00085 enum {dtIndex = oacBaseConstraintGroupHeaderDataType}; 00086 enum {isConcrete = true}; 00087 enum {objectTypeEnumVal = oacConstraintGroupHeaderType}; 00088 enum {dataTypeEnumVal = oacBaseConstraintGroupHeaderDataType}; 00089 }; 00090 00091 00092 00093 END_OA_NAMESPACE 00094 00095 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.