/[Apache-SVN]
ViewVC logotype

Revision 665213


Jump to revision: Previous Next
Author: dreiss
Date: Tue Aug 21 23:59:34 2007 UTC (17 years, 2 months ago)
Changed paths: 7
Log Message:
Thrift: Move TStringBuffer functionality into TMemoryBuffer.

Summary:
TMemoryBuffer already has the necessary plubming to work with C++ strings.
This revision implements that functionality with a few wrapper methods.
Removed TStringBuffer as it should no longer be required (and it is tricky
to safely inherit from a class that has a non-virtual destructor).
Also refactored the TMemoryBuffer constructors a bit.

Reviewed By: aditya, yunfang

Test Plan:
test/TMemoryBufferTest.cpp

Revert Plan: ok


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportUtils.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportUtils.h modified , text changed
Directoryincubator/thrift/trunk/test/DebugProtoTest.cpp modified , text changed
Directoryincubator/thrift/trunk/test/DebugProtoTest.thrift modified , text changed
Directoryincubator/thrift/trunk/test/OptionalRequiredTest.cpp modified , text changed
Directoryincubator/thrift/trunk/test/OptionalRequiredTest.thrift modified , text changed
Directoryincubator/thrift/trunk/test/TMemoryBufferTest.cpp added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26