X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2Ftypeidvalue.cci;h=1d65269115a0b26dffd15777b543bcfe8c47c096;hb=d084c02e4914da4fa1a4098a33d704f69e8bdedd;hp=26d8c4fe8f1d59cffd6a867649ad0869e899d8c2;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/typeidvalue.cci b/Packets/typeidvalue.cci index 26d8c4f..1d65269 100644 --- a/Packets/typeidvalue.cci +++ b/Packets/typeidvalue.cci @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -29,41 +29,41 @@ #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// -prefix_ satcom::lib::TypeIdValue::TypeIdValue() - : value_(new ValueImpl()) +prefix_ senf::TypeIdValue::TypeIdValue() + : value_(new ValueImpl()) {} -prefix_ satcom::lib::TypeIdValue::TypeIdValue(TypeIdValue const & other) +prefix_ senf::TypeIdValue::TypeIdValue(TypeIdValue const & other) { value_.reset(other.value_->clone()); } -prefix_ satcom::lib::TypeIdValue const & -satcom::lib::TypeIdValue::operator=(TypeIdValue const & other) +prefix_ senf::TypeIdValue const & +senf::TypeIdValue::operator=(TypeIdValue const & other) { value_.reset(other.value_->clone()); return *this; } -prefix_ bool satcom::lib::TypeIdValue::operator==(TypeIdValue const & other) +prefix_ bool senf::TypeIdValue::operator==(TypeIdValue const & other) const { return value_->id() == other.value_->id(); } -prefix_ bool satcom::lib::TypeIdValue::operator<(TypeIdValue const & other) +prefix_ bool senf::TypeIdValue::operator<(TypeIdValue const & other) const { return value_->id().before(other.value_->id()); } -prefix_ std::string satcom::lib::TypeIdValue::name() +prefix_ std::string senf::TypeIdValue::name() const { return std::string(value_->id().name()); } -prefix_ satcom::lib::TypeIdValue const satcom::lib::typeIdValue() +prefix_ senf::TypeIdValue const senf::typeIdValue() { return TypeIdValue(); } @@ -74,5 +74,10 @@ prefix_ satcom::lib::TypeIdValue const satcom::lib::typeIdValue() // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: