org.jouvieje.fmoddesigner.structures
Class FMOD_MUSIC_ENTITY

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmoddesigner.structures.FMOD_MUSIC_ENTITY

public class FMOD_MUSIC_ENTITY
extends Pointer


Constructor Summary
FMOD_MUSIC_ENTITY()
          Create an object that holds a null FMOD_MUSIC_ENTITY.
 
Method Summary
static FMOD_MUSIC_ENTITY allocate()
          Allocate a new FMOD_MUSIC_ENTITY.
static FMOD_MUSIC_ENTITY asFMOD_MUSIC_ENTITY(Pointer pointer)
          Create a view of the Pointer object as a FMOD_MUSIC_ENTITY object.
 int getId()
          The ID of the music entity.
 java.lang.String getName()
          The name of the music entity as a null terminated string.
 void release()
           
 void setId(int id)
          The ID of the music entity.
 void setName(java.lang.String name)
          The name of the music entity as a null terminated string.
 
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_MUSIC_ENTITY

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

See Also:
allocate()
Method Detail

asFMOD_MUSIC_ENTITY

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


allocate

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


release

public void release()

getName

public java.lang.String getName()
The name of the music entity as a null terminated string.


setName

public void setName(java.lang.String name)
The name of the music entity as a null terminated string.


getId

public int getId()
The ID of the music entity.


setId

public void setId(int id)
The ID of the music entity.



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)