DbmFileLocater Class Reference

#include <DbmFileLocater.h>

List of all members.

Public Member Functions

 DbmFileLocater ()
virtual ~DbmFileLocater ()
std::string Find (const std::string &fileName) const

Public Attributes

std::list< std::string > fDirectories

Detailed Description

Definition at line 25 of file DbmFileLocater.h.


Constructor & Destructor Documentation

DbmFileLocater::DbmFileLocater (  ) 

Definition at line 39 of file DbmFileLocater.cxx.

References gSystem(), Msg::kVerbose, LEA_CTOR, and MSG.

00040 {
00041 //
00042 //
00043 //  Purpose:  Default constructor
00044 //
00045 //  Arguments:  None.
00046 //
00047 //  Return:    n/a
00048 //
00049 //  Contact:   N. West
00050 //
00051 //  Specification:-
00052 //  =============
00053 //
00054 //  o  Create a DbmFileLocater.
00055 
00056 
00057 //  Program Notes:-
00058 //  =============
00059 
00060 //  None.
00061 
00062   LEA_CTOR    //Leak Checker
00063 
00064   MSG("Dbm", Msg::kVerbose) << "Creating DbmFileLocater" << endl;
00065   
00066   
00067 // Put current directory first in list.
00068   fDirectories.push_back(".");
00069 
00070 // Look up SRT private and public names and add them if defined.
00071   const char* str = gSystem->Getenv("SRT_PRIVATE_CONTEXT");
00072   if ( str ) fDirectories.push_back(str);
00073   str = gSystem->Getenv("SRT_PUBLIC_CONTEXT");
00074   if ( str ) fDirectories.push_back(str);
00075 
00076 }

DbmFileLocater::~DbmFileLocater (  )  [virtual]

Definition at line 80 of file DbmFileLocater.cxx.

References Msg::kVerbose, LEA_DTOR, and MSG.

00080                                 {
00081 //
00082 //
00083 //  Purpose: Destructor
00084 //
00085 //  Arguments: 
00086 //    None.
00087 //
00088 //  Return:    n/a
00089 //
00090 //  Contact:   N. West
00091 //
00092 //  Specification:-
00093 //  =============
00094 //
00095 //  o  Destroy DbmFileLocater.
00096 
00097 
00098 //  Program Notes:-
00099 //  =============
00100 
00101 //  None.
00102 
00103   LEA_DTOR    //Leak Checker
00104 
00105   MSG("Dbm", Msg::kVerbose) << "Destroying DbmFileLocater" << endl;
00106 
00107 }


Member Function Documentation

std::string DbmFileLocater::Find ( const std::string &  fileName  )  const

Member Data Documentation

std::list<std::string> DbmFileLocater::fDirectories

Definition at line 42 of file DbmFileLocater.h.


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1