crystalspace.jbind.impl.engine.mesh
Class csMeshFactoryList

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.engine.mesh.csMeshFactoryList
All Implemented Interfaces:
iBase, iMeshFactoryList, iPointer

public class csMeshFactoryList
extends csBase
implements iMeshFactoryList

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csMeshFactoryList(iPointer nPointer)
           
 
Method Summary
 int add(iMeshFactoryWrapper obj)
          Add a mesh factory wrapper.
 int find(iMeshFactoryWrapper obj)
          Find a mesh factory wrapper and return its index.
 iMeshFactoryWrapper findByName(java.lang.String Name)
          Find a mesh factory wrapper by name.
 iMeshFactoryWrapper get(int n)
          Return a mesh factory wrapper by index.
 int getCount()
          Return the number of mesh factory wrappers in this list.
 java.lang.String getName()
          Return the name of the interface
 int getVersion()
          Return the version of the interface
protected  boolean isNativePointerValidSafe(long pointer)
           
 boolean remove(iMeshFactoryWrapper obj)
          Remove a mesh factory wrapper.
 boolean remove(int n)
          Remove the nth mesh factory wrapper.
 void removeAll()
          Remove all mesh factory wrappers.
 
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe
 
Methods inherited from class crystalspace.jbind.impl.csNativeObject
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Constructor Detail

csMeshFactoryList

public csMeshFactoryList(iPointer nPointer)
Parameters:
nPointer -
Method Detail

getVersion

public int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Specified by:
getVersion in class csBase
See Also:
iBase.getVersion()

getName

public java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Specified by:
getName in class csBase
See Also:
iBase.getName()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long pointer)
Specified by:
isNativePointerValidSafe in class csNativeObject
See Also:
csNativeObject.isNativePointerValidSafe(long)

getCount

public int getCount()
Description copied from interface: iMeshFactoryList
Return the number of mesh factory wrappers in this list.

Specified by:
getCount in interface iMeshFactoryList
Returns:
See Also:
iMeshFactoryList.getCount()

get

public iMeshFactoryWrapper get(int n)
Description copied from interface: iMeshFactoryList
Return a mesh factory wrapper by index.

Specified by:
get in interface iMeshFactoryList
Parameters:
n -
Returns:
See Also:
iMeshFactoryList.get(int)

add

public int add(iMeshFactoryWrapper obj)
Description copied from interface: iMeshFactoryList
Add a mesh factory wrapper.

Specified by:
add in interface iMeshFactoryList
Parameters:
obj -
Returns:
See Also:
iMeshFactoryList.add(crystalspace.jbind.interfaces.iengine.mesh.iMeshFactoryWrapper)

remove

public boolean remove(iMeshFactoryWrapper obj)
Description copied from interface: iMeshFactoryList
Remove a mesh factory wrapper.

Specified by:
remove in interface iMeshFactoryList
Parameters:
obj -
Returns:
See Also:
iMeshFactoryList.remove(crystalspace.jbind.interfaces.iengine.mesh.iMeshFactoryWrapper)

remove

public boolean remove(int n)
Description copied from interface: iMeshFactoryList
Remove the nth mesh factory wrapper.

Specified by:
remove in interface iMeshFactoryList
Parameters:
n -
Returns:
See Also:
iMeshFactoryList.remove(int)

removeAll

public void removeAll()
Description copied from interface: iMeshFactoryList
Remove all mesh factory wrappers.

Specified by:
removeAll in interface iMeshFactoryList
See Also:
iMeshFactoryList.removeAll()

find

public int find(iMeshFactoryWrapper obj)
Description copied from interface: iMeshFactoryList
Find a mesh factory wrapper and return its index.

Specified by:
find in interface iMeshFactoryList
Parameters:
obj -
Returns:
See Also:
iMeshFactoryList.find(crystalspace.jbind.interfaces.iengine.mesh.iMeshFactoryWrapper)

findByName

public iMeshFactoryWrapper findByName(java.lang.String Name)
Description copied from interface: iMeshFactoryList
Find a mesh factory wrapper by name.

Specified by:
findByName in interface iMeshFactoryList
Parameters:
Name -
Returns:
See Also:
iMeshFactoryList.findByName(java.lang.String)