![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members /BdbApplication/BdbDomainDBFS.hh
Go to the documentation of this file.00001 #if !defined(BDBDOMAINDBFS_HH) 00002 #define BDBDOMAINDBFS_HH 00003 //-------------------------------------------------------------------------- 00004 // File and Version Information: 00005 // $Id: BdbDomainDBFS.hh,v 1.1 2000/11/15 05:58:28 patton Exp $ 00006 // 00007 // Description: 00008 // Class BdbDomainDBFS: 00009 // 00010 // Environment: 00011 // Software developed for the BaBar Detector at the SLAC B-Factory. 00012 // 00013 // Author List: 00014 // Simon Patton Stripped from origianl BdbDomain code 00015 // 00016 // Copyright Information: 00017 // Copyright (C) 1999 LBNL 00018 // 00019 //------------------------------------------------------------------------ 00020 00021 //------------- 00022 // C Headers -- 00023 //------------- 00024 extern "C" { 00025 } 00026 00027 //--------------- 00028 // C++ Headers -- 00029 //--------------- 00030 00031 //----------------- 00032 // BaBar Headers -- 00033 //----------------- 00034 #include "BaBar/BaBar.hh" 00035 00036 //------------------------------- 00037 // Collaborating Class Headers -- 00038 //------------------------------- 00039 #include "BdbApplication/BdbDomainAuth.hh" 00040 00041 //------------------------------------ 00042 // Collaborating Class Declarations -- 00043 //------------------------------------ 00044 class BdbDomainName ; 00045 class BdbAbsFSNamesStr ; 00046 00047 //---------------------- 00048 // Base Class Headers -- 00049 //---------------------- 00050 00051 // --------------------- 00052 // -- Class Interface -- 00053 // --------------------- 00054 00055 /** 00056 * The BdbDomainDBFS class is ... 00057 */ 00058 class BdbDomainDBFS 00059 { 00060 // friend classes and functions 00061 00062 public: 00063 00064 // Typedefs, consts, and enums 00065 00066 // Constructors and destructor 00067 00068 /** 00069 * Constructs an instanace of this class. 00070 */ 00071 BdbDomainDBFS( BdbDomainName& domainName , 00072 BdbDomainAuth& domainAuth ) ; 00073 00074 /** 00075 * Destroys this instance. 00076 */ 00077 virtual ~BdbDomainDBFS() ; 00078 00079 // Selectors (const) 00080 00081 // Modifiers 00082 00083 /** 00084 ** Set the placement strategy object 00085 **/ 00086 void setStrategyObj(BdbAbsFSNamesStr* obj) ; 00087 00088 // Basic support for the DB file system names 00089 char* getDBFSDomainRelativePath( ) ; 00090 00091 char* getDBFSRelativePath ( BdbDomainAuth::AuthLevels theAuthLevel=BdbDomainAuth::IllegalAuth, 00092 const char* const theAuthName=0 ); 00093 char* getDBFSNamePrefix ( BdbDomainAuth::AuthLevels theAuthLevel=BdbDomainAuth::IllegalAuth, 00094 const char* const theAuthName=0 ); 00095 char* getDBFSNameExtension ( BdbDomainAuth::AuthLevels theAuthLevel=BdbDomainAuth::IllegalAuth, 00096 const char* const theAuthName=0 ); 00097 bool getDBFSUseComponentSubDir( BdbDomainAuth::AuthLevels theAuthLevel=BdbDomainAuth::IllegalAuth, 00098 const char* const theAuthName=0 ); 00099 // Static Member Functions 00100 00101 protected: 00102 00103 // Selectors (const) 00104 00105 // Modifiers 00106 00107 private: 00108 00109 // Constructors 00110 /** stops default */ 00111 BdbDomainDBFS() ; 00112 00113 /** stops default */ 00114 BdbDomainDBFS( const BdbDomainDBFS& aRhs ) ; 00115 00116 // Operators 00117 /** stops default */ 00118 const BdbDomainDBFS& operator=( const BdbDomainDBFS& aRhs ) ; 00119 00120 // Selectors (const) 00121 00122 // Modifiers 00123 00124 // Static Member Functions 00125 00126 // Data Members 00127 BdbDomainName* _domainName ; 00128 BdbDomainAuth* _domainAuth ; 00129 BdbAbsFSNamesStr* _fsStrategy ; 00130 00131 // Static Data Members 00132 } ; 00133 00134 // inline function definitions 00135 00136 #endif // BDBDOMAINDBFS_HH
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002