Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/BdbCondAdmin/BdbCondDdOprReverseDatabases.hh

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 //
00003 // File and Version Information:
00004 //      $Id: BdbCondDdOprReverseDatabases.hh,v 1.2 2002/06/21 18:48:38 ryd Exp $
00005 //
00006 // Description:
00007 //      Class BdbCondDdOprReverseDatabases. This class implements an interactive
00008 //      operation printing the reverse list of dependences between
00009 //      the database files itself and their "client" containers..
00010 //
00011 // Environment:
00012 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00013 //
00014 // Author List:
00015 //      Igor A. Gaponenko           Original Author
00016 //
00017 // Copyright Information:
00018 //      Copyright (C) 1999          Lawrence Berkeley Laboratory
00019 //
00020 //-----------------------------------------------------------------------------
00021 
00022 #ifndef BDBCONDDDOPRREVERSEDATABASES_HH
00023 #define BDBCONDDDOPRREVERSEDATABASES_HH
00024 
00025 //-----------------
00026 // BaBar Headers --
00027 //-----------------
00028 
00029 #include "BaBar/BaBar.hh"
00030 #include <string>
00031 #include <vector>
00032 
00033 //-------------------------------
00034 // Collaborating Class Headers --
00035 //-------------------------------
00036 
00037 #include "BdbCondAdmin/BdbCondOpr.hh"
00038 #include "BdbCondAdmin/BdbCondDdDetector.hh"
00039 
00040 //              ---------------------
00041 //              -- Class Interface --
00042 //              ---------------------
00043 
00044 class BdbCondDdOprReverseDatabases : public BdbCondOpr,
00045                                      public BdbCondDdDetector {
00046 
00047 public:
00048 
00049   // Static selectors
00050 
00051     static const char* staticName( );
00052 
00053 public:
00054 
00055   // Constructor
00056 
00057     BdbCondDdOprReverseDatabases( BdbCondTrans* transaction );
00058 
00059   // Destructor
00060 
00061     virtual ~BdbCondDdOprReverseDatabases( );
00062 
00063   // Operations
00064 
00065     virtual BdbStatus translate( const std::vector<std::string>& tokens );
00066     virtual BdbStatus operation( );
00067 
00068 private:
00069 
00070   // Default constructor is disabled.
00071 
00072     BdbCondDdOprReverseDatabases( );
00073 
00074 private:
00075 
00076   // Parameters of the operation
00077 
00078     std::vector<std::string> _keywords;
00079     std::vector<std::string> _detectors;
00080     bool _exclude;
00081 };
00082 
00083 #endif /* BDBCONDDDOPRREVERSEDATABASES_HH */

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002