Expander.cpp

Go to the documentation of this file.
00001 
00002 #include "cafe/Expander.hpp"
00003 #include "cafe/Plugins.hpp"
00004 
00005 namespace cafe {
00006 
00007 
00008     //
00009     // Search for plugins in:
00010     //
00011     // $ROOTSYS/etc/.rootrc
00012     // ~/.rootrc
00013     // .rootrc
00014     //
00015     // add 
00016     //   TEnv env("${PACKAGE}/scripts/rootrc");
00017     //
00018     //  for every package 
00019     //
00020     // Plugin.Expander:   ^sam:      SAMExpander  cafe "cafe::SAMExpander(const char *)"
00021     // +Plugin.Expander:  ^listfile: ListExpander cafe "cafe::ListExpander(const char *)"
00022     // +Plugin.Expander:  *          FileExpander cafe "cafe::FileExpander(const char *)"
00023     //
00024 
00025     Expander::Expander()
00026     {
00027     }
00028 
00029     Expander::~Expander()
00030     {
00031     }
00032 
00033     Expander *Expander::create(const std::string& url)
00034     {
00035         Plugins *plugins = Plugins::instance();
00036         return plugins->load<Expander>("Expander", url, url);
00037     }
00038 
00039 }
00040 
00041 ClassImp(cafe::Expander)

Generated on Thu Apr 3 04:14:23 2008 for CAF by doxygen 1.3.4