|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Type> org.xvolks.jnative.Type
public enum Type
This enumeration manages the different types of data nedeed by JNative.
$Id: Type.java,v 1.7 2006/11/07 22:04:55 mdenty Exp $;
This software is released under the LGPL.
Enum Constant Summary | |
---|---|
DOUBLE
Used for in params of type double |
|
FLOAT
Used for in params of type float |
|
INT
Used for in params of type bool, byte to long (32 bits) |
|
LONG
Used for in params of type int64 (64 bits) |
|
PSTRUCT
Not use directly, use a Pointer object instead This is used internaly for out parameters. |
|
STRING
Used for in params of type const char*, LPCSTR |
|
VOID
Used only for return values |
Method Summary | |
---|---|
int |
getNativeType()
|
java.lang.String |
getType()
|
static Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Type VOID
public static final Type INT
public static final Type LONG
public static final Type DOUBLE
public static final Type FLOAT
public static final Type STRING
public static final Type PSTRUCT
Method Detail |
---|
public static Type[] values()
for(Type c : Type.values()) System.out.println(c);
public static Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getType()
public int getNativeType()
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |