00001 // -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- 00002 #pragma once 00003 #include "moses/xmlrpc-c.h" 00004 #include <string> 00005 #include <map> 00006 namespace Moses 00007 { 00008 struct OptionsBaseClass 00009 { 00010 #ifdef HAVE_XMLRPC_C 00011 virtual bool 00012 update(std::map<std::string,xmlrpc_c::value>const& params); 00013 #endif 00014 bool 00015 check(std::map<std::string, xmlrpc_c::value> const& param, 00016 std::string const key, bool dfltval); 00017 }; 00018 }