Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBuffer::operator=

Show in webframe

#include "ltwrappr.h"

LBuffer& LBuffer::operator=(lpStr)

LBuffer& LBuffer::operator=(LBufferSrc)

L_TCHAR * lpStr;

/* character string to copy */

LBuffer& LBufferSrc;

/* LBuffer object to copy */

Copies the specified item to the class objects buffer.

Parameter

Description

lpStr

The character string to copy.

LBufferSrc

The LBuffer object to copy.

Returns

The LBuffer object.

Comments

LBuffer::operator=(LBufferSrc) copies the source class object's buffer to the destination class object's buffer. This results in two copies of the buffer.

The parameter LBufferSrc is passed by reference, and is a required parameter.

LBuffer::operator=(lpStr) copies the specified string to the destination class object's buffer.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

This is an example for LBuffer::operator=(LBufferSrc):

L_INT LBuffer__operatorExample(LBitmapBase& LeadBitmap)
{
   L_INT nRet;
   LBuffer LeadBuffer;
   LBuffer MyBuffer ;
   nRet =(L_INT)LeadBitmap.GetRow(&LeadBuffer,6);
   if(nRet < 1)
      return nRet;
   MyBuffer = LeadBuffer;
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.