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 base class for CL properties, like cl_context_properties
and cl_device_partition_property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(long id, long value) Add the specified property to these propertiesprotected String
Returns a String containing the contents of these propertiesprotected abstract String
propertyString
(long value) Returns the string identifying the given propertyMethods inherited from class org.jocl.NativePointerObject
equals, getBuffer, getByteOffset, getNativePointer, hashCode, setBuffer, toString, withByteOffset
-
Constructor Details
-
cl_abstract_properties
cl_abstract_properties()Creates new, empty cl_abstract_properties
-
-
Method Details
-
addProperty
public void addProperty(long id, long value) Add the specified property to these properties- Parameters:
id
- The property IDvalue
- The property value
-
propertyString
Returns the string identifying the given property- Parameters:
value
- The property value- Returns:
- The string representation
-
buildString
Returns a String containing the contents of these properties- Returns:
- A String representation of the contents of these properties
-