Package com.sun.jna.platform.win32
Klasse Guid.GUID
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Guid.GUID
- Bekannte direkte Unterklassen:
Guid.CLSID
,Guid.CLSID.ByReference
,Guid.GUID.ByReference
,Guid.GUID.ByValue
,Guid.IID
- Umschließende Schnittstelle:
Guid
The Class GUID.
- Autor:
- Tobias Wolf, [email protected]
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
The Class ByReference.static class
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Structure
Structure.FieldOrder, Structure.StructField
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungint
The Data1.short
The Data2.short
The Data3.byte[]
The Data4.Von Klasse geerbte Felder com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
static Guid.GUID
fromBinary
(byte[] data) From binary.static Guid.GUID
fromString
(String guid) From string.int
hashCode()
static Guid.GUID
newGuid()
Generates a new guid.byte[]
To byte array.The value of this Guid, formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.protected void
Write fields to backing memory.Von Klasse geerbte Methoden com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Felddetails
-
Data1
public int Data1The Data1. -
Data2
public short Data2The Data2. -
Data3
public short Data3The Data3. -
Data4
public byte[] Data4The Data4.
-
-
Konstruktordetails
-
GUID
public GUID()Instantiates a new guid. -
GUID
Instantiates a new guid.- Parameter:
guid
- the guid
-
GUID
Instantiates a new guid.- Parameter:
guid
- the guid
-
GUID
public GUID(byte[] data) Instantiates a new guid.- Parameter:
data
- the data
-
GUID
Instantiates a new guid.- Parameter:
memory
- the memory
-
-
Methodendetails
-
equals
-
hashCode
public int hashCode() -
fromBinary
From binary.- Parameter:
data
- the data- Gibt zurück:
- the guid
-
fromString
From string.- Parameter:
guid
- the guid- Gibt zurück:
- the guid
-
newGuid
Generates a new guid. Code taken from the standard jdk implementation (see UUID class).- Gibt zurück:
- the guid
-
toByteArray
public byte[] toByteArray()To byte array.- Gibt zurück:
- the byte[]
-
toGuidString
The value of this Guid, formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.- Gibt zurück:
- the string
-
writeFieldsToMemory
protected void writeFieldsToMemory()Write fields to backing memory.
-