00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaVersionComp.h 00004 // 00005 // This file contains the definition for the oaVersionComp classs. The 00006 // oaVersionComp class implements an enumerated use type that describes the 00007 // different capilities of a version control system. 00008 // 00009 // ***************************************************************************** 00010 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00011 // Integration Initiative, this material may not be copied, modified, 00012 // re-published, uploaded, executed, or distributed in any way, in any medium, 00013 // in whole or in part, without prior written permission from Cadence. 00014 // 00015 // Copyright 2002-2005 Cadence Design Systems, Inc. 00016 // All Rights Reserved. 00017 // 00018 // $Author: icftcm $ 00019 // $Revision: #1 $ 00020 // $Date: 2010/08/09 $ 00021 // $State: Exp $ 00022 // ***************************************************************************** 00023 // ***************************************************************************** 00024 00025 00026 00027 #if !defined(oaVersionComp_P) 00028 #define oaVersionComp_P 00029 00030 00031 00032 // ***************************************************************************** 00033 // Nested includes 00034 // ***************************************************************************** 00035 #include "oaPlugInDMTypes.h" 00036 #include "oaDMTypes.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 USE_OA_PLUGIN_NAMESPACE 00046 00047 // ***************************************************************************** 00048 // oaVersionComp 00049 // ***************************************************************************** 00050 class OA_DM_DLL_API oaVersionComp { 00051 public: 00052 oaVersionComp(oaVersionCompEnum valueIn); 00053 oaVersionComp(const oaString &name); 00054 ~oaVersionComp(); 00055 00056 const oaString &getName() const; 00057 00058 operator oaVersionCompEnum() const; 00059 00060 private: 00061 oaVersionCompEnum value; 00062 00063 static const oaString names[]; 00064 }; 00065 00066 00067 00068 END_OA_NAMESPACE 00069 00070 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.