2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef NET_UN_CONFIG_CONFIGADDRESS_H
21#define NET_UN_CONFIG_CONFIGADDRESS_H
23#include "net/config/ConfigAddressLocal.h"
24#include "net/config/ConfigAddressRemote.h"
25#include "net/config/ConfigAddressReverse.h"
26#include "net/un/SocketAddress.h"
28namespace net::config {
32#ifndef DOXYGEN_SHOULD_SKIP_THIS
42namespace net::un::config {
44 template <
template <
typename SocketAddressT>
typename ConfigAddressTypeT>
47 using Super = ConfigAddressTypeT<SocketAddress>;
53 template <
template <
typename SocketAddressT>
typename ConfigAddressTypeT>
54 class ConfigAddress :
public ConfigAddressTypeT<net::un::SocketAddress> {
56 using Super = ConfigAddressTypeT<net::un::SocketAddress>;
60 const std::string& addressOptionName,
61 const std::string& addressOptionDescription);
64 SocketAddress*
init()
final;
86extern template class net::un::config::ConfigAddress<net::config::ConfigAddressLocal>;
87extern template class net::un::config::ConfigAddress<net::config::ConfigAddressRemote>;
88extern template class net::un::config::ConfigAddressReverse<net::config::ConfigAddressReverse>;
ConfigAddress & setSunPath(const std::string &sunPath)
SocketAddress * init() final
ConfigAddress & sunPathRequired(bool required=true)
ConfigAddress(net::config::ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription)
ConfigAddress & setSocketAddress(const SocketAddress &socketAddress)
std::string getSunPath() const