00001 #ifndef DISTRIBUTIONSTRATEGY_H
00002 #define DISTRIBUTIONSTRATEGY_H
00003
00004 #include <vector>
00005 #include <list>
00006 #include <string>
00007
00008 #include "Connection.h"
00009
00016 class DistributionStrategy {
00017 public:
00018
00019
00025 DistributionStrategy(Connection* aConnection,string aPath) { }
00026
00030 virtual ~DistributionStrategy() { }
00031
00032
00033
00038 virtual std::list<string> findMatching(const std::list<std::vector<std::string > > aFilters) = 0;
00039
00040 protected:
00041
00042 Connection * mConnec;
00043
00044 string mPath;
00045
00049 DistributionStrategy() { }
00050
00051 };
00052
00053 #endif