00001 // OSB library ********************************************* -*- C++ -*- 00009 /* 00010 AUTHOR(S): Tang Boon Leong (tbl) 00011 00012 RCS information 00013 $Name: OSB_060808 $ 00014 $Revision: 1.8 $ 00015 00016 License 00017 OSB rating and billing library for communication networks 00018 Copyright (C) 2004, 2005, 2006 OSB systems 00019 00020 This file may be distributed and/or modify under the terms of the 00021 GNU General Public License (GPL) as published by the Free Software 00022 Foundation which is provided in the file LICENSE.GPL included in the 00023 packaging of this file. 00024 00025 The file is distributed in the hope that it will be useful, but WITHOUT 00026 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00027 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00028 for more details. 00029 00030 Holders of a OSB Commercial License may use this file under the terms 00031 and conditions of this commercial license. 00032 */ 00033 #ifndef _NUMBERANALYZERFACTORY_H_ 00034 #define _NUMBERANALYZERFACTORY_H_ 00035 00036 // ********************************************************************* 00037 // included header files 00038 // + standard includes 00039 00040 // + local headers 00041 #include "numberanalyzer01.h" 00042 00043 // ************************************************************************ 00044 // namespace extensions 00045 namespace OSB_LIB { 00046 00047 // ********************************************************************* 00048 // class definitions 00049 00050 // ***************************************************************** 00051 // NumberAnalyzerFactory 00060 class NumberAnalyzerFactory { 00061 public: 00094 static NumberAnalyzer::AutoPtr create( 00095 const NumberAnalyzer::NumberAnalyzerType& type, 00096 const NumberAnalyzer::Oid& oid = NumberAnalyzer::Oid() 00097 ); 00098 00099 private: 00101 NumberAnalyzerFactory(); 00103 NumberAnalyzerFactory(const NumberAnalyzerFactory&); 00104 }; 00105 00106 // ********************************************************************* 00107 // inline definitions 00108 00109 } // namespace OSB_LIB 00110 #endif // #ifndef _NUMBERANALYZERFACTORY_H_