LVectorBase::IsAllocated

#include "ltwrappr.h"

virtual L_BOOL LVectorBase::IsAllocated(void)

Determines whether this class object has an allocated vector.

Returns

Value Meaning
TRUE The vector is allocated.
FALSE The vector is not allocated.

Comments

Use this function to check whether this class object has an allocated vector.

Required DLLs and Libraries

See Also

Functions

Topics

Example

L_INT LVectorBase__IsAllocatedExample(HWND hWnd) 
{ 
   UNREFERENCED_PARAMETER(hWnd); 
 
   LVectorBase*   pVector = new(LVectorBase); 
 
   //This does not allocate the vector--just initializes VECTORHANDLE fields 
   if (pVector->IsAllocated()) 
      MessageBox(hWnd, TEXT("Vector allocated"), TEXT(""), MB_OK); 
   else 
      MessageBox(hWnd, TEXT("Vector NOT allocated"), TEXT(""), MB_OK); 
   //... 
 
   return SUCCESS; 
} 
Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help