@Namespace(value="nvinfer1") public static enum nvinfer.TempfileControlFlag extends Enum<nvinfer.TempfileControlFlag>
Enum Constant and Description |
---|
kALLOW_IN_MEMORY_FILES
Allow creating and loading files in-memory (or unnamed files).
|
kALLOW_TEMPORARY_FILES
Allow creating and loading named files in a temporary directory on the filesystem.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.TempfileControlFlag |
intern() |
String |
toString() |
static nvinfer.TempfileControlFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.TempfileControlFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.TempfileControlFlag kALLOW_IN_MEMORY_FILES
public static final nvinfer.TempfileControlFlag kALLOW_TEMPORARY_FILES
IRuntime::setTemporaryDirectory()
public static nvinfer.TempfileControlFlag[] values()
for (nvinfer.TempfileControlFlag c : nvinfer.TempfileControlFlag.values()) System.out.println(c);
public static nvinfer.TempfileControlFlag 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 nvinfer.TempfileControlFlag intern()
public String toString()
toString
in class Enum<nvinfer.TempfileControlFlag>
Copyright © 2024. All rights reserved.