![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: HbookTool.cpp,v 1.3 2007/05/24 14:41:22 hmd Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: $ 00004 // ============================================================================ 00005 // Include files 00006 // ============================================================================ 00007 // GaudiKernel 00008 // ============================================================================ 00009 #include "GaudiKernel/AlgTool.h" 00010 #include "GaudiKernel/ToolFactory.h" 00011 // ============================================================================ 00012 00013 // ============================================================================ 00025 // ============================================================================ 00026 00027 // ============================================================================ 00060 // ============================================================================ 00061 class HbookTool : public AlgTool 00062 { 00063 public: 00069 HbookTool 00070 ( const std::string& type , 00071 const std::string& name , 00072 const IInterface* parent ) 00073 : AlgTool( type , name , parent ) 00074 // 00075 , m_LRECL ( 1024 ) 00076 , m_NRECL ( -1 ) 00077 , m_MODE ( "P" ) 00078 { 00079 declareProperty ( "LRECL" , m_LRECL ) ; 00080 declareProperty ( "NRECL" , m_NRECL ) ; 00081 declareProperty ( "MODE" , m_MODE ) ; 00082 }; 00083 00084 virtual ~HbookTool(){}; 00085 00086 private: 00087 00088 int m_LRECL ; 00089 int m_NRECL ; 00090 std::string m_MODE ; 00091 00092 }; 00093 // =========================================================================== 00094 00095 // =========================================================================== 00096 DECLARE_TOOL_FACTORY(HbookTool) 00097 // ============================================================================