File size: 422 Bytes
158b61b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- 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);
  };
}