CMS 3D CMS Logo

List of all members | Static Public Member Functions | Private Member Functions | Static Private Attributes | Friends
AutoLibraryLoader Class Reference

#include <AutoLibraryLoader.h>

Static Public Member Functions

static void enable ()
 enable automatic library loading More...
 
static void loadAll ()
 load all known libraries holding dictionaries More...
 

Private Member Functions

 AutoLibraryLoader ()
 
 AutoLibraryLoader (const AutoLibraryLoader &)
 
const AutoLibraryLoaderoperator= (const AutoLibraryLoader &)
 

Static Private Attributes

static bool enabled_
 

Friends

class DummyClassToStopCompilerWarning
 

Detailed Description

ROOT helper class which can automatically load the proper shared library when ROOT needs a new class dictionary

Author
Chris Jones, Cornell

Definition at line 14 of file AutoLibraryLoader.h.

Constructor & Destructor Documentation

AutoLibraryLoader::AutoLibraryLoader ( )
private

Definition at line 31 of file AutoLibraryLoader.cc.

31  {
32 }
AutoLibraryLoader::AutoLibraryLoader ( const AutoLibraryLoader )
private

Member Function Documentation

void AutoLibraryLoader::enable ( )
static

enable automatic library loading

Definition at line 40 of file AutoLibraryLoader.cc.

References MessageLogger_cfi::cerr, and FWLiteEnabler::enable().

40  {
41  std::cerr << "WARNING: AutoLibraryloader::enable() and AutoLibraryLoader.h are deprecated.\n" <<
42  "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
44 }
static void enable()
enable automatic library loading
void AutoLibraryLoader::loadAll ( )
static

load all known libraries holding dictionaries

Definition at line 47 of file AutoLibraryLoader.cc.

References MessageLogger_cfi::cerr, and FWLiteEnabler::enable().

48 {
49  std::cerr << "WARNING: AutoLibraryloader::loadAll() and AutoLibraryLoader.h are deprecated.\n" <<
50  "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
52 }
static void enable()
enable automatic library loading
const AutoLibraryLoader& AutoLibraryLoader::operator= ( const AutoLibraryLoader )
private

Friends And Related Function Documentation

friend class DummyClassToStopCompilerWarning
friend

Definition at line 15 of file AutoLibraryLoader.h.

Member Data Documentation

bool AutoLibraryLoader::enabled_
staticprivate

Definition at line 24 of file AutoLibraryLoader.h.