Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorMemoryFile::LVectorMemoryFile

Show in webframe

#include "ltwrappr.h"

LVectorMemoryFile::LVectorMemoryFile(L_VOID)

LVectorMemoryFile::LVectorMemoryFile(pVector)

LVectorBase * pVector;

/* pointer to a vector object */

Constructs and initializes the different variables of the class object.

Parameter

Description

pVector

Pointer to a LEAD vector object, used to initialize the LVectorMemoryFile object.

Returns

None

Comments

LVectorMemoryFile::LVectorMemoryFile() is a constructor for the LVectorMemoryFile class.

LVectorMemoryFile::LVectorMemoryFile(pVector) initializes the member variables using the pVector parameter.

Required DLLs and Libraries

LVKRN
LTFIL

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

See Also

Functions:

LVectorMemoryFile::~LVectorMemoryFile, Class Members

Example

For an example for LVectorMemoryFile::LVectorMemoryFile(pVector), refer to LVectorMemoryFile::LoadMemory.

This is an example for LVectorMemoryFile::LVectorMemoryFile():

L_INT LVectorMemoryFile__LVectorMemoryFileExample(HWND hWnd)
{
   LBuffer           Buffer;
   LVectorMemoryFile VectorMemoryFile;
   LVectorBase       Vector;
   //Invalid until a vector is associated with the VectorMemoryFile object
   if (VectorMemoryFile.IsValid())
      MessageBox(hWnd, TEXT("IsValid() returns TRUE"), TEXT(""), MB_OK);
   else
      MessageBox(hWnd, TEXT("IsValid() returns FALSE"), TEXT(""), MB_OK);
   VectorMemoryFile.SetVector(&Vector);
   //Now the VectorMemoryFile object is valid
   if (VectorMemoryFile.IsValid())
      MessageBox(hWnd, TEXT("IsValid() returns TRUE"), TEXT(""), MB_OK);
   else
      MessageBox(hWnd, TEXT("IsValid() returns FALSE"), TEXT(""), MB_OK);
   //destructor called when out of scope
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.