Revert "Remove mysql and oracle resources for anna-ericsson project"
[anna.git] / source / dbms / Float.cpp
diff --git a/source/dbms/Float.cpp b/source/dbms/Float.cpp
new file mode 100644 (file)
index 0000000..7f4185d
--- /dev/null
@@ -0,0 +1,26 @@
+// ANNA - Anna is Not Nothingness Anymore                                                         //
+//                                                                                                //
+// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
+//                                                                                                //
+// See project site at http://redmine.teslayout.com/projects/anna-suite                           //
+// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
+
+
+#include <stdio.h>
+
+#include <anna/core/tracing/Logger.hpp>
+
+#include <anna/dbms/Float.hpp>
+
+using namespace anna;
+using namespace anna::dbms;
+
+std::string dbms::Float::asString() const
+throw() {
+  std::string result("dbms::Float { ");
+  result += dbms::Data::asString();
+  result += " | Value: ";
+  result += functions::asString(a_format, a_value);
+  return result += " }";
+}
+