Enum FileStorageModeEnum
- java.lang.Object
-
- java.lang.Enum<FileStorageModeEnum>
-
- edu.wpi.grip.generated.opencv_core.enumeration.FileStorageModeEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileStorageModeEnum>
public enum FileStorageModeEnum extends java.lang.Enum<FileStorageModeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPEND
value, open the file for appendingFORMAT_AUTO
flag, auto formatFORMAT_MASK
mask for format flagsFORMAT_XML
flag, XML formatFORMAT_YAML
flag, YAML formatMEMORY
flag, read data from source or write data to the internal buffer (which is returned by FileStorage::release)READ
value, open the file for readingWRITE
value, open the file for writing
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileStorageModeEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileStorageModeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final FileStorageModeEnum READ
value, open the file for reading
-
WRITE
public static final FileStorageModeEnum WRITE
value, open the file for writing
-
APPEND
public static final FileStorageModeEnum APPEND
value, open the file for appending
-
MEMORY
public static final FileStorageModeEnum MEMORY
flag, read data from source or write data to the internal buffer (which is returned by FileStorage::release)
-
FORMAT_MASK
public static final FileStorageModeEnum FORMAT_MASK
mask for format flags
-
FORMAT_AUTO
public static final FileStorageModeEnum FORMAT_AUTO
flag, auto format
-
FORMAT_XML
public static final FileStorageModeEnum FORMAT_XML
flag, XML format
-
FORMAT_YAML
public static final FileStorageModeEnum FORMAT_YAML
flag, YAML format
-
-
Method Detail
-
values
public static FileStorageModeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileStorageModeEnum c : FileStorageModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileStorageModeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-