From: tho Date: Wed, 7 Nov 2007 17:05:27 +0000 (+0000) Subject: some small doc fixes X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=10e64c7a79dcb1f1438dca8c1a949057cdcc7394;p=senf.git some small doc fixes git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@498 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/PacketType.hh b/Packets/PacketType.hh index e01db87..06c2a51 100644 --- a/Packets/PacketType.hh +++ b/Packets/PacketType.hh @@ -222,8 +222,8 @@ namespace senf { \code // Here 'SomeRegistryTag' is optional struct SimplePacketType - : public senf::PacketTypeBase - public senf:PacketTypeMixin + : public senf::PacketTypeBase, + public senf::PacketTypeMixin { typedef senf::PacketTypeMixin mixin; typedef senf::ConcretePacket packet; @@ -292,8 +292,8 @@ namespace senf { \code struct SimplePacketType - : public senf::PacketTypeBase - public senf:PacketTypeMixin + : public senf::PacketTypeBase, + public senf::PacketTypeMixin { typedef senf::PacketTypeMixin mixin; typedef senf::ConcretePacket packet; diff --git a/Packets/ParseVariant.hh b/Packets/ParseVariant.hh index e8593b5..9deb622 100644 --- a/Packets/ParseVariant.hh +++ b/Packets/ParseVariant.hh @@ -180,15 +180,15 @@ namespace senf { (senf::Parse_UInt32) ); senf::Parse_UInt8 uint8() const { return content().get<1>(); } - senf::Parse_UInt8 uint16() const { return content().get<2>(); } - senf::Parse_UInt8 uint24() const { return content().get<3>(); } - senf::Parse_UInt8 uint32() const { return content().get<4>(); } + senf::Parse_UInt16 uint16() const { return content().get<2>(); } + senf::Parse_UInt24 uint24() const { return content().get<3>(); } + senf::Parse_UInt32 uint32() const { return content().get<4>(); } void disable() const { content().init<0>(); } void set_uint8() const { content().init<1>(); } - void set_uint16() const { content().init<1>(); } - void set_uint24) const { content().init<1>(); } - void set_uint23() const { content().init<1>(); } + void set_uint16() const { content().init<2>(); } + void set_uint24) const { content().init<3>(); } + void set_uint23() const { content().init<4>(); } SENF_PARSER_FINALIZE(SomeParser); };