X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FFormat.cci;fp=senf%2FPackets%2FDumpFormat.ih;h=ed1ad8534d02ca9644d54c792c376ff80081592a;hb=af697a0c8591b38f7ee7dbc3d1d0293f4ff72d37;hp=302cb8d2215e387f08c069e038e4374118693b9c;hpb=f37680c43dd9aab620388e9b966ed2328c56a15e;p=senf.git diff --git a/senf/Packets/DumpFormat.ih b/senf/Utils/Format.cci similarity index 72% rename from senf/Packets/DumpFormat.ih rename to senf/Utils/Format.cci index 302cb8d..ed1ad85 100644 --- a/senf/Packets/DumpFormat.ih +++ b/senf/Utils/Format.cci @@ -21,25 +21,21 @@ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /** \file - \brief DumpFormat internal header */ + \brief Format inline non-template implementation */ -#ifndef IH_SENF_senf_Packets_DumpFormat_ -#define IH_SENF_senf_Packets_DumpFormat_ 1 +#include "Format.ih" // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +#define prefix_ inline +///////////////////////////////cci.p/////////////////////////////////////// -namespace senf { -namespace detail { +prefix_ senf::format::eng::eng(double v_, double d_) + : v (v_), d (d_) +{} - std::string prettySignedNumber(long long v, unsigned bits); - std::string prettyUnsignedNumber(unsigned long long v, unsigned bits, int sign=0); - -}} - -///////////////////////////////ih.e//////////////////////////////////////// -#endif +///////////////////////////////cci.e/////////////////////////////////////// +#undef prefix_ // Local Variables: