All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edsdk.bindings.EdsDirectoryItemInfo Maven / Gradle / Ivy

The newest version!
package edsdk.bindings;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * native declaration : EDSDK/Header/EDSDKTypes.h
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class EdsDirectoryItemInfo extends Structure { /** C type : EdsUInt64 */ public long size; /** C type : EdsBool */ public int isFolder; /** C type : EdsUInt32 */ public NativeLong groupID; /** C type : EdsUInt32 */ public NativeLong option; /** C type : EdsChar[256] */ public byte[] szFileName = new byte[256]; /** C type : EdsUInt32 */ public NativeLong format; /** C type : EdsUInt32 */ public NativeLong dateTime; public EdsDirectoryItemInfo() { super(); } protected List getFieldOrder() { return Arrays.asList("size", "isFolder", "groupID", "option", "szFileName", "format", "dateTime"); } /** * @param size C type : EdsUInt64
* @param isFolder C type : EdsBool
* @param groupID C type : EdsUInt32
* @param option C type : EdsUInt32
* @param szFileName C type : EdsChar[256]
* @param format C type : EdsUInt32
* @param dateTime C type : EdsUInt32 */ public EdsDirectoryItemInfo(long size, int isFolder, NativeLong groupID, NativeLong option, byte szFileName[], NativeLong format, NativeLong dateTime) { super(); this.size = size; this.isFolder = isFolder; this.groupID = groupID; this.option = option; if ((szFileName.length != this.szFileName.length)) throw new IllegalArgumentException("Wrong array size !"); this.szFileName = szFileName; this.format = format; this.dateTime = dateTime; } public EdsDirectoryItemInfo(Pointer peer) { super(peer); } public static class ByReference extends EdsDirectoryItemInfo implements Structure.ByReference { }; public static class ByValue extends EdsDirectoryItemInfo implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy