#include <xmlrpc_value.hpp>
Definition at line 21 of file xmlrpc_value.hpp.
◆ XmlRpcValueGetParamAdapter()
cras::XmlRpcValueGetParamAdapter::XmlRpcValueGetParamAdapter |
( |
const ::XmlRpc::XmlRpcValue & |
baseParam, |
|
|
const ::std::string & |
baseNamespace |
|
) |
| |
|
explicit |
Create a GetParamAdapter that reads parameters from baseParam (which needs to be struct).
- Parameters
-
baseParam | The struct to read parameters from. |
baseNamespace | Any namespace prepended before the name of the created adapter in logs. |
- Exceptions
-
std::runtime_error | If baseParam is not a struct. |
◆ ~XmlRpcValueGetParamAdapter()
cras::XmlRpcValueGetParamAdapter::~XmlRpcValueGetParamAdapter |
( |
| ) |
|
|
override |
◆ getNamespace()
::std::string cras::XmlRpcValueGetParamAdapter::getNamespace |
( |
| ) |
const |
|
overridevirtualnoexcept |
Get the namespace of this adapter. It should somehow represent the source of the parameters.
- Returns
- The namespace.
Implements cras::GetParamAdapter.
◆ getNamespaced()
::std::shared_ptr<::cras::GetParamAdapter> cras::XmlRpcValueGetParamAdapter::getNamespaced |
( |
const ::std::string & |
ns | ) |
const |
|
overridenoexcept |
◆ getParam()
bool cras::XmlRpcValueGetParamAdapter::getParam |
( |
const ::std::string & |
name, |
|
|
::XmlRpc::XmlRpcValue & |
v |
|
) |
| const |
|
overridenoexcept |
◆ hasParam()
bool cras::XmlRpcValueGetParamAdapter::hasParam |
( |
const ::std::string & |
name | ) |
const |
|
overridenoexcept |
◆ baseNamespace
::std::string cras::XmlRpcValueGetParamAdapter::baseNamespace |
|
protected |
◆ baseParam
The documentation for this struct was generated from the following file: