LVectorBase::IsAllocated

Summary

Determines whether this class object has an allocated vector.

Syntax

#include "ltwrappr.h"

virtual L_BOOL LVectorBase::IsAllocated(void)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.