2015-08-07 21:17:37 +03:00
|
|
|
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
|
|
|
#pragma once
|
2015-11-04 21:12:49 +03:00
|
|
|
#include "moses/xmlrpc-c.h"
|
2015-08-07 21:17:37 +03:00
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
namespace Moses
|
|
|
|
{
|
|
|
|
struct OptionsBaseClass
|
|
|
|
{
|
|
|
|
#ifdef HAVE_XMLRPC_C
|
|
|
|
virtual bool
|
|
|
|
update(std::map<std::string,xmlrpc_c::value>const& params);
|
2015-11-04 21:12:49 +03:00
|
|
|
#endif
|
2015-10-31 15:50:52 +03:00
|
|
|
bool
|
|
|
|
check(std::map<std::string, xmlrpc_c::value> const& param,
|
2015-11-23 19:59:39 +03:00
|
|
|
std::string const key, bool dfltval);
|
2015-08-07 21:17:37 +03:00
|
|
|
};
|
|
|
|
}
|