Class Context
This class contains ocl context information
public class Context : UnmanagedObject, IDisposable
- Inheritance
-
Context
- Implements
- Inherited Members
Constructors
Context()
Create a empty OclContext object
public Context()
Properties
Default
Get the default OclContext. Do not dispose this context.
public static Context Default { get; }
Property Value
Methods
DisposeObject()
Release all the unmanaged memory associated with this OclContext
protected override void DisposeObject()
GetProgram(ProgramSource, string, CvString)
Compile the program
public Program GetProgram(ProgramSource prog, string buildOpt, CvString errMsg)
Parameters
prog
ProgramSourceThe program source
buildOpt
stringThe build option
errMsg
CvStringError message
Returns
- Program
The compiled program