X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdbms%2FData.cpp;fp=source%2Fdbms%2FData.cpp;h=0000000000000000000000000000000000000000;hb=a3b95648bd76140ef55e0b5941d423eee6c3856f;hp=3e75b0f035b624728e0473954afb94d1545ff938;hpb=94fc4366adedbf26ca6ef3104f88d41fa85f5a72;p=anna.git diff --git a/source/dbms/Data.cpp b/source/dbms/Data.cpp deleted file mode 100644 index 3e75b0f..0000000 --- a/source/dbms/Data.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// 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 - -#include - -using namespace anna; - -std::string dbms::Data::asString() const -throw() { - static const char* typeName [] = { "Integer", "String", "Float", "ShortBlock", "LongBlock", "Date", "TimeStamp" }; - std::string result("dbms::Data { Type: "); - result += typeName [a_type]; - result += " | Buffer: "; - result += functions::asHexString(anna_ptrnumber_cast(a_buffer)); - result += " | MaxSize: "; - result += functions::asString(a_maxSize); - result += " | Null: "; - result += functions::asString(a_isNull); - return result += " }"; -} -