X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketImpl.cci;h=4c8bc04f31e5acab3d1cdadeed97c1d1aa6289f1;hb=3aced0177a1c69c7af338b4e66db8694a71873ae;hp=70ac0038b73aa1e0daf71b75fbb1b058ef784991;hpb=720400ed1b874ea96481a29f0812145bb2785d40;p=senf.git diff --git a/senf/Packets/PacketImpl.cci b/senf/Packets/PacketImpl.cci index 70ac003..4c8bc04 100644 --- a/senf/Packets/PacketImpl.cci +++ b/senf/Packets/PacketImpl.cci @@ -24,27 +24,13 @@ \brief PacketImpl inline non-template implementation */ // Custom includes -#include -// #include "PacketInterpreter.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::AnnotationRegistry -prefix_ void senf::detail::AnnotationRegistry::dump(key_type key, std::ostream & os, - void * annotation) - const -{ - Registry::const_iterator i (registry_.find(key)); - if (i != registry_.end()) { - os << fieldName(i->second->v_name()); - i->second->v_dump(os, annotation); - os << "\n"; - } -} - prefix_ std::string senf::detail::AnnotationRegistry::name(key_type key) const { @@ -84,7 +70,7 @@ prefix_ senf::detail::AnnotationRegistry::AnnotationRegistry() : simpleAnnotationCount_ (0), complexAnnotationCount_ (0) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Memory management: // @@ -109,7 +95,7 @@ prefix_ senf::detail::AnnotationRegistry::AnnotationRegistry() // The last three also modify the impl_ member accordingly by calling // PacketInterpreterBase::assign/release -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl prefix_ senf::detail::PacketImpl::PacketImpl() @@ -238,7 +224,7 @@ prefix_ void * senf::detail::PacketImpl::annotation(AnnotationRegistry::key_type return key >= 0 ? & simpleAnnotations_[key] : complexAnnotation(key); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl::Guard prefix_ senf::detail::PacketImpl::Guard::Guard(PacketImpl * impl) @@ -252,7 +238,7 @@ prefix_ senf::detail::PacketImpl::Guard::~Guard() p->release(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_