mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
19 lines
408 B
C++
19 lines
408 B
C++
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
|
#pragma once
|
|
#include "moses/xmlrpc-c.h"
|
|
#include <string>
|
|
#include <map>
|
|
namespace Moses
|
|
{
|
|
struct OptionsBaseClass
|
|
{
|
|
#ifdef HAVE_XMLRPC_C
|
|
virtual bool
|
|
update(std::map<std::string,xmlrpc_c::value>const& params);
|
|
#endif
|
|
bool
|
|
check(std::map<std::string, xmlrpc_c::value> const& param,
|
|
std::string const key);
|
|
};
|
|
}
|