Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:25

0001 // -*- C++ -*-
0002 //
0003 // Package:     LibraryLoader
0004 // Class  :     AutoLibraryLoader
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Original Author:
0010 //         Created:  Wed Nov 30 14:55:01 EST 2005
0011 //
0012 
0013 // system include files
0014 
0015 #include <iostream>
0016 // user include files
0017 #include "FWCore/FWLite/interface/AutoLibraryLoader.h"
0018 #include "FWCore/FWLite/interface/FWLiteEnabler.h"
0019 //
0020 // constants, enums and typedefs
0021 //
0022 
0023 //
0024 // static data member definitions
0025 //
0026 
0027 //
0028 // constructors and destructor
0029 //
0030 AutoLibraryLoader::AutoLibraryLoader() {}
0031 
0032 //
0033 // member functions
0034 //
0035 
0036 void AutoLibraryLoader::enable() {
0037   std::cerr << "WARNING: AutoLibraryloader::enable() and AutoLibraryLoader.h are deprecated.\n"
0038             << "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
0039   FWLiteEnabler::enable();
0040 }
0041 
0042 void AutoLibraryLoader::loadAll() {
0043   std::cerr << "WARNING: AutoLibraryloader::loadAll() and AutoLibraryLoader.h are deprecated.\n"
0044             << "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
0045   FWLiteEnabler::enable();
0046 }