xml configuration dom parsing finished, still missing connection to filter factory...
[metaproxy-moved-to-github.git] / src / filter_factory.hpp
index 902c84d..7ad4e19 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_factory.hpp,v 1.2 2005-10-29 17:58:14 marc Exp $
+/* $Id: filter_factory.hpp,v 1.4 2005-10-31 09:40:18 marc Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -19,9 +19,6 @@
 namespace yp2 {
 
     namespace filter {
-
-        
-
     
     class FilterFactoryException : public std::runtime_error {
     public:
@@ -36,6 +33,8 @@ namespace yp2 {
             typedef yp2::filter::Base* (*CreateFilterCallback)();
             /// true if registration ok
 
+            FilterFactory(){};
+
             bool add_creator(std::string fi, CreateFilterCallback cfc);
             /// true if unregistration ok
 
@@ -49,6 +48,12 @@ namespace yp2 {
             typedef std::map<std::string, CreateFilterCallback> CallbackMap;
             CallbackMap m_fcm;
 
+        private:
+            /// disabled because class is singleton
+            FilterFactory(const FilterFactory &);
+            
+            /// disabled because class is singleton
+            FilterFactory& operator=(const FilterFactory &);
         };
         
     }