X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2Ftypeidvalue.cci;h=b27eab3ea9259c1233c8b301064687f4a092f321;hb=0fff17bd2bcdbb1e91e216bf6e1bebc414713548;hp=26d8c4fe8f1d59cffd6a867649ad0869e899d8c2;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/typeidvalue.cci b/Packets/typeidvalue.cci index 26d8c4f..b27eab3 100644 --- a/Packets/typeidvalue.cci +++ b/Packets/typeidvalue.cci @@ -29,41 +29,41 @@ #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// -prefix_ satcom::lib::TypeIdValue::TypeIdValue() +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,5 @@ prefix_ satcom::lib::TypeIdValue const satcom::lib::typeIdValue() // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: