Constructs and initializes the different variables of the class object.
#include "ltwrappr.h"
LVectorMemoryFile::LVectorMemoryFile(L_VOID)
LVectorMemoryFile::LVectorMemoryFile(pVector)
Pointer to a LEAD vector object, used to initialize the LVectorMemoryFile object.
None.
LVectorMemoryFile::LVectorMemoryFile() is a constructor for the LVectorMemoryFile class.
LVectorMemoryFile::LVectorMemoryFile(pVector) initializes the member variables using the pVector parameter.
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;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document