X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FINetAddressing.hh;h=923389294ecec2d2b9489d5b7f06463001fa04d3;hb=33157146abaca548e145c577a0840cd1bd427789;hp=4a8deca6221ffdc9f888ec3d83d269253fd6dfc6;hpb=9ca82f3198ce01fa2daf50aa8f46e0eb630d275c;p=senf.git diff --git a/Socket/INetAddressing.hh b/Socket/INetAddressing.hh index 4a8deca..9233892 100644 --- a/Socket/INetAddressing.hh +++ b/Socket/INetAddressing.hh @@ -128,10 +128,20 @@ namespace senf { ///\name Structors and default members ///@{ - INet6Address(); - INet6Address(std::string const & addr); - INet6Address(char const * addr); - INet6Address(struct in6_addr const & addr); + INet6Address(); ///< Create empty address + INet6Address(std::string const & addr); ///< Create address from string representation + INet6Address(char const * addr); ///< Create address from string representation + INet6Address(struct in6_addr const & addr); ///< Create address from in6_addr + template + explicit INet6Address(Range const & range); ///< Create address from arbitrary raw data + /**< This constructor will copy 16 bytes from the given + range and interpret them as a IPv6 address in network + byte order. This constructor is used to read an + arbitrary address from it's binary representation. + + \param range arbitrary range, see Boost.Range + */ ///@} /////////////////////////////////////////////////////////////////////////// @@ -326,7 +336,7 @@ namespace senf { ///////////////////////////////hh.e//////////////////////////////////////// #include "INetAddressing.cci" -//#include "INetAddressing.ct" +#include "INetAddressing.ct" //#include "INetAddressing.cti" //#include "INetAddressing.mpp" #endif