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

com.hcl.domino.jna.internal.structs.NamedObjectEntryStruct Maven / Gradle / Ivy

There is a newer version: 1.41.0
Show newest version
package com.hcl.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

/**
 * 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 NamedObjectEntryStruct extends Structure { public short NameOffset; public short NameLength; public short NameSpace; /** C type : NOTEID */ public int NoteID; public NamedObjectEntryStruct() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("NameOffset", "NameLength", "NameSpace", "NoteID"); } /** * @param NameOffset the offset of the name value * @param NameLength the length of the name value * @param NameSpace the namespace * @param NoteID C type : NOTEID */ public NamedObjectEntryStruct(short NameOffset, short NameLength, short NameSpace, int NoteID) { super(); this.NameOffset = NameOffset; this.NameLength = NameLength; this.NameSpace = NameSpace; this.NoteID = NoteID; } public NamedObjectEntryStruct(Pointer peer) { super(peer); } public static class ByReference extends NamedObjectEntryStruct implements Structure.ByReference { }; public static class ByValue extends NamedObjectEntryStruct implements Structure.ByValue { }; public static NamedObjectEntryStruct newInstance() { return AccessController.doPrivileged(new PrivilegedAction() { @Override public NamedObjectEntryStruct run() { return new NamedObjectEntryStruct(); } }); } public static NamedObjectEntryStruct newInstance(final Pointer p) { return AccessController.doPrivileged(new PrivilegedAction() { @Override public NamedObjectEntryStruct run() { return new NamedObjectEntryStruct(p); } }); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy