org.jocl
Class cl_device_partition_property

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

public final class cl_device_partition_property
extends NativePointerObject

Java port of cl_device_partition_property.


Constructor Summary
cl_device_partition_property()
          Creates new, empty cl_device_partition_property
 
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
protected  java.lang.String buildString()
          Returns a String containing the contents of these properties
protected  java.lang.String propertyString(long value)
          Returns the string identifying the given property
 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_device_partition_property

public cl_device_partition_property()
Creates new, empty cl_device_partition_property

Method Detail

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

propertyString

protected java.lang.String propertyString(long value)
Returns the string identifying the given property

Parameters:
value - The property value
Returns:
The string representation

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.

addProperty

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

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

buildString

protected java.lang.String buildString()
Returns a String containing the contents of these properties

Returns:
A String representation of the contents of these properties