Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ stringToProxy()

template<typename Prx = ObjectPrx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
std::optional< Prx > Ice::Communicator::stringToProxy ( std::string_view str) const
inline

Converts a stringified proxy into a proxy.

Template Parameters
PrxThe type of the proxy to return.
Parameters
strThe stringified proxy to convert into a proxy.
Returns
The proxy, or nullopt if str is an empty string.
Exceptions
ParseExceptionThrown when str is not a valid proxy string.
See also
proxyToString

Definition at line 85 of file Communicator.h.