00001 // 00002 // Copyright (c) 2000 by Tech Soft 3D, LLC. 00003 // The information contained herein is confidential and proprietary to 00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under 00005 // civil and criminal statutes. Tech Soft 3D shall pursue its civil 00006 // and criminal remedies in the event of unauthorized use or misappropriation 00007 // of its trade secrets. Use of this information by anyone other than 00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a 00009 // written non-disclosure agreement, expressly prescribing the scope and 00010 // manner of such use. 00011 // 00012 // $Id: _h_ctrl_d_b_8h_source.html,v 1.4.2.3 2012-02-08 08:13:36 stage Exp $ 00013 // 00014 00015 // HDB.h : interface of the HDB class 00016 // serves as a wrapper class for an instance of the HOOPS database 00017 00018 00019 #ifndef _HCtrlDB_H 00020 #define _HCtrlDB_H 00021 00022 #include "hc.h" 00023 #include "hdb.h" 00024 00026 00032 class HCtrlDB : public HDB 00033 { 00034 00035 public: 00042 HCtrlDB (const char * pszDriverType, const char * pszInstanceBase); 00043 HCtrlDB (void); 00044 ~HCtrlDB (void); 00048 void Init (); 00049 00054 static void AddRef (void); 00059 static void ReleaseRef (void); 00060 00064 static int GetRefCount() { return m_nRefCount;} 00065 00066 static int m_nRefCount; 00067 }; 00068 00069 #endif 00070