hpx/asio/map_hostnames.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace util
struct map_hostnames

Public Types

typedef hpx::function<std::string(std::string const&)> transform_function_type

Public Functions

map_hostnames(bool debug = false)
void use_suffix(std::string const &suffix)
void use_prefix(std::string const &prefix)
void use_transform(transform_function_type const &f)
std::string map(std::string host_name, std::uint16_t port) const

Private Members

transform_function_type transform_
std::string suffix_
std::string prefix_
bool debug_