org.jocl
Class cl_context_properties

java.lang.Object
  extended by org.jocl.NativePointerObject
      extended by org.jocl.cl_context_properties

public final class cl_context_properties
extends NativePointerObject

Java port of cl_context_properties.


Constructor Summary
cl_context_properties()
          Creates new, empty cl_context_properties
 
Method Summary
 void addProperty(long id, cl_platform_id value)
          Add the specified property to these properties
 void addProperty(long id, long value)
          Add the specified property to these properties
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class org.jocl.NativePointerObject
equals, getNativePointer, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

cl_context_properties

public cl_context_properties()
Creates new, empty cl_context_properties

Method Detail

addProperty

public void addProperty(long id,
                        long value)
Add the specified property to these properties

Parameters:
id - The property ID
value - The property value

addProperty

public void addProperty(long id,
                        cl_platform_id value)
Add the specified property to these properties

Parameters:
id - The property ID
value - The property value

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class NativePointerObject
Returns:
A String representation of this object.