]> pilppa.org Git - lib1wire.git/blobdiff - src/Data.hh
W1Store --> Store...
[lib1wire.git] / src / Data.hh
index 196cf3bbd3f096eaaba0133193de084cb9457e7c..11c168d79440b8db859332a14cecb28753c8b647 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "Date.hh"
 
-namespace w1 {
+namespace plp {
        class Data {
                public:
                        Data(int size);
@@ -26,6 +26,7 @@ namespace w1 {
                        virtual ~Data();
                        Data *clone();
                        void printout();
+                       std::string to_string(int dec_precision);
                        std::string to_string();
                        static Data *parse_string(const std::string& data_str);
                        plp::Date get_date();