Fix documentation build under maverick (doxygen 1.7.1)
[senf.git] / senf / Packets / 80211Bundle / WLANBeaconPacket.cc
index 327a838..63a6abb 100644 (file)
 #include <boost/io/ios_state.hpp>
 
 #define prefix_
-///////////////////////////////cc.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 prefix_ void senf::WLANBeaconPacketType::dump(packet p, std::ostream &os)
 {
-    boost::io::ios_all_saver ias(os);    
-    os << "WLAN Beacon:\n"
-       << senf::fieldName("timestamp") << unsigned( p->timestamp()) << "\n";
+    boost::io::ios_all_saver ias(os);
+    os << "WLAN beacon frame:\n"
+       << senf::fieldName("timestamp")      << unsigned( p->timestamp())      << "\n"
+       << senf::fieldName("beaconInterval") << unsigned( p->beaconInterval()) << "\n";
+    p->ssidIE().dump( os);
+    p->supportedRatesIE().dump( os);
+    os << "  Optional Information Elements:\n";
+    typedef parser::ieList_t::container ieListContainer_t;
+    ieListContainer_t ieListContainer (p->ieList());
+    for (ieListContainer_t::const_iterator i = ieListContainer.begin(); i != ieListContainer.end(); ++i)
+        i->dump( os);
 }
 
-///////////////////////////////cc.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #undef prefix_
 
 \f