Alphabetical Class Index   Compound Members   File List  

HCtrlDB.h
00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
00002 //
00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
00004 // and considered a trade secret as defined under civil and criminal statutes.
00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
00006 // unauthorized use or misappropriation of its trade secrets.  Use of this information
00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
00009 
00010 // HDB.h : interface of the HDB class
00011 // serves as a wrapper class for an instance of the HOOPS database
00012 
00013 
00014 #ifndef _HCtrlDB_H
00015 #define _HCtrlDB_H
00016 
00017 #include "hc.h"
00018 #include "hdb.h"
00019 
00021 
00027 class HCtrlDB : public HDB
00028 {
00029         
00030 public:
00037                 HCtrlDB    (const char * pszDriverType, const char * pszInstanceBase);
00038                 HCtrlDB    (void);
00039                ~HCtrlDB    (void);
00043     void            Init ();
00044 
00049     static void     AddRef      (void); 
00054     static void     ReleaseRef  (void);
00055 
00059     static int      GetRefCount() { return m_nRefCount;} 
00060  
00061     static int         m_nRefCount;             
00062 };
00063 
00064 #endif
00065