public static enum CLMem.MapFlags extends Enum<CLMem.MapFlags> implements ValuedEnum
| Enum Constant and Description |
|---|
Read |
ReadWrite |
Write |
WriteInvalidateRegion |
| Modifier and Type | Method and Description |
|---|---|
static CLMem.MapFlags |
getEnum(long v) |
long |
value() |
static CLMem.MapFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLMem.MapFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLMem.MapFlags Read
public static final CLMem.MapFlags Write
public static final CLMem.MapFlags ReadWrite
public static final CLMem.MapFlags WriteInvalidateRegion
public static CLMem.MapFlags[] values()
for (CLMem.MapFlags c : CLMem.MapFlags.values()) System.out.println(c);
public static CLMem.MapFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long value()
value in interface ValuedEnumpublic static CLMem.MapFlags getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.