Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Util::IOBuffer::IOBuffer ( String  s  )  [inline]

This c'tor copies the contents of the string.

Definition at line 95 of file IOBuffer.h.

References mBuffer, mDataChannel, mPosition, and mSize.

00096     {
00097         mSize = s.size();
00098         mBuffer = new unsigned char [mSize+1];
00099         std::memcpy(mBuffer, s.c_str(), mSize);
00100         mBuffer[mSize] = 0;
00101         mPosition = 0;
00102         mDataChannel = 0;
00103     }


Generated on Thu Jan 13 09:24:14 2011 for ImpalaSrc by  doxygen 1.5.1