Author: kpvdr
Date: 2009-07-31 15:01:14 -0400 (Fri, 31 Jul 2009)
New Revision: 3535
Removed:
store/trunk/cpp/lib/StringDbt.cpp
store/trunk/cpp/lib/StringDbt.h
Modified:
store/trunk/cpp/lib/Makefile.am
Log:
Removed some more unneeded BDB files from the build
Modified: store/trunk/cpp/lib/Makefile.am
===================================================================
--- store/trunk/cpp/lib/Makefile.am 2009-07-31 18:25:15 UTC (rev 3534)
+++ store/trunk/cpp/lib/Makefile.am 2009-07-31 19:01:14 UTC (rev 3535)
@@ -47,7 +47,6 @@
JournalImpl.cpp \
MessageStoreImpl.cpp \
PreparedTransaction.cpp \
- StringDbt.cpp \
TxnCtxt.cpp \
BindingDbt.h \
BufferValue.h \
@@ -59,7 +58,6 @@
MessageStoreImpl.h \
PreparedTransaction.h \
StoreException.h \
- StringDbt.h \
TxnCtxt.h \
jrnl/aio.cpp \
jrnl/arr_cnt.cpp \
Deleted: store/trunk/cpp/lib/StringDbt.cpp
===================================================================
--- store/trunk/cpp/lib/StringDbt.cpp 2009-07-31 18:25:15 UTC (rev 3534)
+++ store/trunk/cpp/lib/StringDbt.cpp 2009-07-31 19:01:14 UTC (rev 3535)
@@ -1,41 +0,0 @@
-/*
- Copyright (c) 2007, 2008 Red Hat, Inc.
-
- This file is part of the Qpid async store library msgstore.so.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- USA
-
- The GNU Lesser General Public License is available in the file COPYING.
- */
-
-#include "StringDbt.h"
-
-using namespace mrg::msgstore;
-
-StringDbt::StringDbt()
-{
-}
-
-StringDbt::StringDbt(const std::string& _value) : value(_value)
-{
- set_data((void*) value.data());
- set_size(value.length());
-}
-
-void StringDbt::read(std::string& out)
-{
- out.assign(reinterpret_cast<char*>(get_data()), get_size());
-}
Deleted: store/trunk/cpp/lib/StringDbt.h
===================================================================
--- store/trunk/cpp/lib/StringDbt.h 2009-07-31 18:25:15 UTC (rev 3534)
+++ store/trunk/cpp/lib/StringDbt.h 2009-07-31 19:01:14 UTC (rev 3535)
@@ -1,52 +0,0 @@
-/*
- Copyright (c) 2007, 2008 Red Hat, Inc.
-
- This file is part of the Qpid async store library msgstore.so.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- USA
-
- The GNU Lesser General Public License is available in the file COPYING.
- */
-
-#ifndef _StringDbt_
-#define _StringDbt_
-
-#include "db-inc.h"
-#include <qpid/broker/Persistable.h>
-#include <qpid/framing/Buffer.h>
-
-namespace mrg{
-namespace msgstore{
-
-class StringDbt : public Dbt
-{
- const std::string value;//holds value to be written
-
-public:
- /**
- * For writing a string
- */
- StringDbt(const std::string& value);
- /**
- * For reading a string
- */
- StringDbt();
- void read(std::string& value);
-};
-
-}}
-
-#endif
Show replies by date