| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# AudFactory.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/AudFactory.h,v 1.8 2007/05/25 16:39:16 marcocle Exp $
    00002 #ifndef GAUDIKERNEL_AUDFACTORY_H
    00003 #define GAUDIKERNEL_AUDFACTORY_H
    00004
    00005 #include "Reflex/PluginService.h"
    00006
    00007 //---Specialization needed to overcome a problem with Reflex.....
    00008 #ifndef TYPEDISTILLER_STRING_SPECIALIZATION
    00009 #define TYPEDISTILLER_STRING_SPECIALIZATION
    00010 namespace ROOT {
    00011    namespace Reflex {
    00012       template<> class TypeDistiller<std::string> {
    00013       public:
    00014          static Type Get() {
    00015             return TypeBuilder("std::basic_string<char>");
    00016          }
    00017       };
    00018    }
    00019 }
    00020 #endif
    00021
    00022 #define DECLARE_AUDITOR(x)  /*dummy*/
    00023 #define DECLARE_NAMESPACE_AUDITOR(n,x)  /*dummy*/
    00024 #define DECLARE_AUDITOR_FACTORY(x) PLUGINSVC_FACTORY(x,IAuditor*(std::string, ISvcLocator*))
    00025 #define DECLARE_NAMESPACE_AUDITOR_FACTORY(n,x) using n::x; PLUGINSVC_FACTORY(x,IAuditor*(std::string, ISvcLocator*))
    00026
    00027 #endif // GAUDIKERNEL_AUDFACTORY_H