X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80221Bundle%2FMIHPacket.hh;h=75ef61b90d3c592f7562db9e626a0228cac59382;hb=8502d8b79fadfa53715dc9f62e1bee34435fadb9;hp=e5083c546cb377170a8c084c2b0a88683915fb04;hpb=af5fee58087b479a8a346dc5f94047ec0c5f79cf;p=senf.git diff --git a/senf/Packets/80221Bundle/MIHPacket.hh b/senf/Packets/80221Bundle/MIHPacket.hh index e5083c5..75ef61b 100644 --- a/senf/Packets/80221Bundle/MIHPacket.hh +++ b/senf/Packets/80221Bundle/MIHPacket.hh @@ -60,12 +60,12 @@ namespace senf { public: enum Type { Empty, MACAddress, INet4Address, INet6Address, String, EUI64 }; - MIHFId(); - MIHFId(senf::MACAddress const & addr); - MIHFId(senf::INet4Address const & addr); - MIHFId(senf::INet6Address const & addr); - MIHFId(std::string const & addr); - MIHFId(senf::EUI64 const & addr); + MIHFId(); ///< Create empty instance. + MIHFId(senf::MACAddress const & addr); ///< Construct id with given MACAddress + MIHFId(senf::INet4Address const & addr); ///< Construct id with given INet4Address + MIHFId(senf::INet6Address const & addr); ///< Construct id with given INet6Address + MIHFId(std::string const & addr); ///< Construct id with given String + MIHFId(senf::EUI64 const & addr); ///< Construct id with given EUI64 Type type() const; bool operator==(MIHFId const & other) const; @@ -118,7 +118,8 @@ namespace senf { SENF_PARSER_INHERIT ( BaseTLVPacketParser ); SENF_PARSER_SKIP ( length(), 0 ); SENF_PARSER_FINALIZE ( MIHFId_TLVParser ); - + + public: std::string asString() const; void setString(std::string const &id); @@ -251,7 +252,6 @@ namespace senf { { # include SENF_PARSER() SENF_PARSER_LIST ( tlv_list, packetSize(), GenericTLVPacketParser ); - SENF_PARSER_FINALIZE ( MIHPayloadPacketParser ); };