#include <senf/Socket/Protocols/UN/UNAddressing.hh>
UNSocketAddress wraps the standard sockaddr_un datatype. It provides simple accessor methods to access the path.
Definition at line 51 of file UNAddressing.hh.
Public Member Functions |
|
UNSocketAddress () | |
UNSocketAddress (std::string const &path) | |
Construct an address constant from given path. |
|
UNSocketAddress (const UNSocketAddress &other) | |
UNSocketAddress & | operator= (const UNSocketAddress &other) |
std::string | path () const |
Return path as string. |
|
void | path (std::string const &path) |
Static Public Attributes |
|
static short const | addressFamily = AF_UNIX |
Related Functions |
|
(Note that these are not member functions.) |
|
std::ostream & | operator<< (std::ostream &os, UNSocketAddress const &addr) |
Write path to os. |
senf::UNSocketAddress:: | ||||
UNSocketAddress | () | |||
Definition at line 36 of file UNAddressing.cci.
senf::UNSocketAddress:: | ||||
UNSocketAddress | ( | std::string const & | path | ) |
Construct an address constant from given path.
Definition at line 40 of file UNAddressing.cci.
senf::UNSocketAddress:: | ||||
UNSocketAddress | ( | const UNSocketAddress & | other | ) |
Definition at line 46 of file UNAddressing.cci.
senf::UNSocketAddress & senf::UNSocketAddress:: | ||||
operator= | ( | const UNSocketAddress & | other | ) |
Definition at line 50 of file UNAddressing.cci.
void senf::UNSocketAddress:: | ||||
path | ( | std::string const & | path | ) |
Definition at line 35 of file UNAddressing.cc.
std::string senf::UNSocketAddress:: | ||||
path | () | |||
Return path as string.
Definition at line 56 of file UNAddressing.cci.
std::ostream & | ||||
operator<< | ( | std::ostream & | os, | |
UNSocketAddress const & | addr | ) | ||
Write path to os.
short const senf::UNSocketAddress::addressFamily = AF_UNIX | ||||
[static] | ||||
Definition at line 55 of file UNAddressing.hh.