mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
19 lines
422 B
C++
19 lines
422 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, bool dfltval);
|
|
};
|
|
}
|