X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2Ftypeidvalue.hh;h=5c82883c8eec7d927f7431e32fd361517b6a91c3;hb=9a988902090d28007578e93bffd809f6bd913155;hp=425c14fbbcfcc92fff0ff167cfdfe54a241bc25a;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/typeidvalue.hh b/Packets/typeidvalue.hh index 425c14f..5c82883 100644 --- a/Packets/typeidvalue.hh +++ b/Packets/typeidvalue.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -32,8 +32,8 @@ //#include "typeidvalue.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace lib { +namespace senf { + /** \brief Wrapper to use types as key's in a map */ @@ -68,6 +68,7 @@ namespace lib { template TypeIdValue(Type *); struct Value { + virtual ~Value() {} virtual std::type_info const & id() = 0; virtual Value * clone() = 0; }; @@ -84,11 +85,11 @@ namespace lib { }; TypeIdValue const typeIdValue(); - + template TypeIdValue const typeIdValue(); - -}} + +} ///////////////////////////////hh.e//////////////////////////////////////// #include "typeidvalue.cci" @@ -99,5 +100,8 @@ namespace lib { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: