• Main Page
  • Namespaces
  • Data Structures
  • Files
  • File List

/www/proggenOrg/dedupe/export/trunk/userinterface/cli/cli.h

Go to the documentation of this file.
00001 
00009 #ifndef ORG_PROGGEN_DEDUPE_CLI_CLI_H
00010 #define ORG_PROGGEN_DEDUPE_CLI_CLI_H
00011 
00012 #include <kernel.h>
00013 #include <ui.h>
00014 #include <boost/program_options.hpp>
00015 #include <boost/bind.hpp>
00016 #include <stdexcept>
00017 
00018 namespace Dedupe
00019 {
00023   namespace CLI
00024   {
00028     class Cli
00029     {
00030       public:
00031 
00039       Cli( int ac, char* av[],
00040            Dedupe::Core::Kernel &RunningKernel,
00041            std::ostream &Message );
00042 
00046       void Run();
00047 
00048       private:
00049       Dedupe::Core::Kernel &Kernel;
00050       std::ostream &MessageOut;
00051       boost::program_options::options_description OpDesc;
00052       boost::program_options::variables_map VarMap;
00053 
00054       bool Recursive, SupressUpdate;
00055       std::vector<Dedupe::FilePath> AddValues,
00056                                     DelValues,
00057                                     DupByHash,
00058                                     DupByFilename,
00059                                     DupByFilesize,
00060                                     DupByFiledate;
00061       Dedupe::FilePath Outputfile,
00062                        Inputfile;
00063 
00064     };
00065   }
00066 }
00067 
00068 #endif

Generated on Mon Mar 11 2013 12:04:52 for Dedupe by  doxygen 1.7.1