GenreflexMemberBuilder.h

Go to the documentation of this file.
00001 // @(#)root/reflex:$Id: GenreflexMemberBuilder.h 29355 2009-07-06 17:34:05Z axel $
00002 // Author: Axel Naumann, 2009
00003 
00004 // Copyright CERN, CH-1211 Geneva 23, 2004-2009, All rights reserved.
00005 //
00006 // Permission to use, copy, modify, and distribute this software for any
00007 // purpose is hereby granted without fee, provided that this copyright and
00008 // permissions notice appear in all copies and derivatives.
00009 //
00010 // This software is provided "as is" without express or implied warranty.
00011 
00012 #ifndef Reflex_GenreflexMemberBuilder
00013 #define Reflex_GenreflexMemberBuilder
00014 
00015 #include "Reflex/Builder/OnDemandBuilderForScope.h"
00016 
00017 namespace Reflex {
00018 class Class;
00019 
00020 class RFLX_API GenreflexMemberBuilder: public OnDemandBuilderForScope {
00021 public:
00022    typedef void (*SetupFunc_t)(Class* sb);
00023    GenreflexMemberBuilder(SetupFunc_t func): fFunc(func) {}
00024    virtual ~GenreflexMemberBuilder() {}
00025 
00026    void BuildAll();
00027 
00028 private:
00029    SetupFunc_t  fFunc;
00030 };
00031 } // namespace Reflex
00032 
00033 #endif // Reflex_OnDemandBuilder

Generated on Tue Jul 5 14:25:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1