Click or drag to resize
CVM Class
In-memory vector data methods The VM class will store vector (array) data in a memory buffer which can be accessed using the VM methods. The main use for the VM class is to store data in a single physical memory location. This memory can then be accessed by a user DLL using the GetPtrVM_GEO function defined in gx_extern.h. VM memory can be any size, but a VM is intended for handling relatively small sets of data compared to a VV, which can work efficiently with very large volumes of data. The acceptable maximum VM size depends on the operating system and the performance requirements of an application. The best performance is achieved when all VM memory can be stored comfortably within the the available system RAM. If all VM memory will not fit in the system RAM, the operating system virtual memory manager will be used to swap memory to the operations systems virtual memory paging file. Note that the operating system virtual memory manager is much slower than the manager used by Geosoft when working with very large arrays in a VV. See VV for methods to move data between a VM and a VV.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CVM : CHANDLE

The CVM type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneStatic memberCreate
Create a VM.
Public methodAvailable to anyoneStatic memberCreateExt
Create a VM, using one of the GS_TYPESConstant special data types.
Protected methodDispose
Releases the unmanaged resources used by the CVM and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyoneiGetInt
Get an integer element from a VM.
Public methodAvailable to anyoneIGetString
Get a string element from a VM.
Public methodAvailable to anyoneiLength
Returns current VM length.
Public methodAvailable to anyoneReSize
Re-set the size of a VM.
Public methodAvailable to anyonerGetReal
Get a real element from a VM.
Public methodAvailable to anyoneSetInt
Set an integer element in a VM.
Public methodAvailable to anyoneSetReal
Set a real element in a VM.
Public methodAvailable to anyoneSetString
Set a string element in a VM.
Top
See Also