Package org.jocl
Class cl_abstract_properties
- java.lang.Object
-
- org.jocl.NativePointerObject
-
- org.jocl.cl_abstract_properties
-
- Direct Known Subclasses:
cl_context_properties
,cl_device_partition_property
,cl_pipe_properties
,cl_queue_properties
,cl_sampler_properties
abstract class cl_abstract_properties extends NativePointerObject
Abstract base class for CL properties, like cl_context_properties and cl_device_partition_property
-
-
Constructor Summary
Constructors Constructor Description cl_abstract_properties()
Creates new, empty cl_abstract_properties
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addProperty(long id, long value)
Add the specified property to these propertiesprotected java.lang.String
buildString()
Returns a String containing the contents of these propertiesprotected abstract java.lang.String
propertyString(long value)
Returns the string identifying the given property-
Methods inherited from class org.jocl.NativePointerObject
equals, getBuffer, getByteOffset, getNativePointer, hashCode, setBuffer, toString, withByteOffset
-
-
-
-
Method Detail
-
addProperty
public void addProperty(long id, long value)
Add the specified property to these properties- Parameters:
id
- The property IDvalue
- The property value
-
propertyString
protected abstract java.lang.String propertyString(long value)
Returns the string identifying the given property- Parameters:
value
- The property value- Returns:
- The string representation
-
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
-
-