Click or drag to resize

StructurePointerT Class

Class that converts structure into pointer and cleans up resources automatically (generic version)
Inheritance Hierarchy
SystemObject
  OpenCvSharp.UtilStructurePointerT

Namespace:  OpenCvSharp.Util
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public class StructurePointer<T>
where T : struct, new()

Type Parameters

T

The StructurePointerT type exposes the following members.

Constructors
  NameDescription
Public methodStructurePointerT
Initializes a new instance of the StructurePointerT class
Public methodStructurePointerT(T)
Initializes a new instance of the StructurePointerT class
Top
Properties
  NameDescription
Public propertyPtr
Pointer
Public propertySize
Size of allocated memory
Public propertySrcObj
Structure
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToStructure
Top
Operators
See Also