org.jouvieje.fmodex.structures
Class FMOD_GUID

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmodex.structures.FMOD_GUID

public class FMOD_GUID
extends Pointer


Constructor Summary
FMOD_GUID()
          Create an object that holds a null FMOD_GUID.
 
Method Summary
static FMOD_GUID allocate()
          Allocate a new FMOD_GUID.
static FMOD_GUID asFMOD_GUID(Pointer pointer)
          Create a view of the Pointer object as a FMOD_GUID object.
 int getData1()
          Specifies the first 8 hexadecimal digits of the GUID
 short getData2()
          Specifies the first group of 4 hexadecimal digits.
 short getData3()
          Specifies the second group of 4 hexadecimal digits.
 java.nio.CharBuffer getData4()
          Array of 8 bytes.
 void release()
           
 void setData1(int data1)
          Specifies the first 8 hexadecimal digits of the GUID
 void setData2(short data2)
          Specifies the first group of 4 hexadecimal digits.
 void setData3(short data3)
          Specifies the second group of 4 hexadecimal digits.
 void setData4(java.lang.String data4)
          Array of 8 bytes.
 
Methods inherited from class org.jouvieje.fmodex.utils.Pointer
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMOD_GUID

public FMOD_GUID()
Create an object that holds a null FMOD_GUID.
The call isNull() on the object created will returns true.
  FMOD_GUID obj = new FMOD_GUID();
  (obj == null) <=> false
  obj.isNull() <=> true
 
To creates a new FMOD_GUID, use the static "constructor" :
  FMOD_GUID obj = FMOD_GUID.allocate();

See Also:
allocate()
Method Detail

asFMOD_GUID

public static FMOD_GUID asFMOD_GUID(Pointer pointer)
Create a view of the Pointer object as a FMOD_GUID object.
This view is valid only if the memory holded by the Pointer holds a FMOD_GUID object.


allocate

public static FMOD_GUID allocate()
Allocate a new FMOD_GUID.
The call isNull() on the object created will return false.
  FMOD_GUID obj = FMOD_GUID.allocate();
  (obj == null) <=> obj.isNull() <=> false
 


release

public void release()

getData1

public int getData1()
Specifies the first 8 hexadecimal digits of the GUID


setData1

public void setData1(int data1)
Specifies the first 8 hexadecimal digits of the GUID


getData2

public short getData2()
Specifies the first group of 4 hexadecimal digits.


setData2

public void setData2(short data2)
Specifies the first group of 4 hexadecimal digits.


getData3

public short getData3()
Specifies the second group of 4 hexadecimal digits.


setData3

public void setData3(short data3)
Specifies the second group of 4 hexadecimal digits.


getData4

public java.nio.CharBuffer getData4()
Array of 8 bytes. The first 2 bytes contain the third group of 4 hexadecimal digits. The remaining 6 bytes contain the final 12 hexadecimal digits.


setData4

public void setData4(java.lang.String data4)
Array of 8 bytes. The first 2 bytes contain the third group of 4 hexadecimal digits. The remaining 6 bytes contain the final 12 hexadecimal digits.



NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)