image added for tlv
tho [Fri, 19 Oct 2007 11:20:08 +0000 (11:20 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@469 270642c3-0616-0410-b53a-bc976706d245

Packets/DefaultBundle/IpV6Packet.test.cc
Packets/MPEGDVBBundle/SConscript
Packets/MPEGDVBBundle/TLV.dia [new file with mode: 0644]
Packets/MPEGDVBBundle/TLVPacket.cc
Packets/MPEGDVBBundle/TLVPacket.hh

index 57c8dc4..d19e050 100644 (file)
@@ -47,7 +47,6 @@ BOOST_AUTO_UNIT_TEST(ipV6Packet_packet)
 
     senf::IpV6Packet p (senf::IpV6Packet::create(data));
 
-
     BOOST_CHECK_EQUAL( p->version(),       0x06u      );
     BOOST_CHECK_EQUAL( p->trafficClass(),  0x01u      );
     BOOST_CHECK_EQUAL( p->flowLabel(),     0x22030u   );
index b52cf4c..2a0c12c 100644 (file)
@@ -13,5 +13,8 @@ SENFSCons.Object(env, target = 'MPEGDVBBundle', sources=sources,
                  LIBS = ['Packets', 'Socket', 'Utils'])
 SENFSCons.Lib(env, library = 'Packets_MPEGDVBBundle', sources = sources[0],
               LIBS = ['Packets', 'Socket', 'Utils'], no_includes = 1)
-                 
-SENFSCons.Doxygen(env)
+
+myEnv = env.Clone(DIA2PNGMAXWIDTH = 600)
+SENFSCons.Doxygen(env, extra_sources = [
+    myEnv.Dia2Png("TLV.dia", )
+])
diff --git a/Packets/MPEGDVBBundle/TLV.dia b/Packets/MPEGDVBBundle/TLV.dia
new file mode 100644 (file)
index 0000000..d3bdc7c
Binary files /dev/null and b/Packets/MPEGDVBBundle/TLV.dia differ
index 628bf55..44c6338 100644 (file)
@@ -60,8 +60,8 @@ prefix_ void senf::Parse_TLVPacketLength::value(value_type const & v)
     if (v < 128u) {
         if (bytes() != 1) {
             resize(1);
-           safeThis->extended_length_flag() = false;
-       } 
+            safeThis->extended_length_flag() = false;
+        }
         safeThis->fixed_length_field() = v;
         return;
     }
index f81eafd..f52da1c 100644 (file)
@@ -80,7 +80,7 @@ namespace senf {
         
     /** \brief parse TLVPacket Packet
     
-        XXX
+
         
         \see TLVPacketType
      */
@@ -95,6 +95,7 @@ namespace senf {
     };
 
     /** \brief TLV Packet
+        \image html TLV.png
         
         \par Packet type (typedef):
             \ref TLVPacket