Package ch.bailu.gtk.glib
Class TokenValue
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.glib.TokenValue
- All Implemented Interfaces:
PointerInterface
A union holding the value of the token.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
token binary integer valuestatic final String
comment valuestatic final String
floating point valuestatic final String
hex integer valuestatic final String
token identifier valuestatic final String
integer valuestatic final String
64-bit integer valuestatic final String
octal integer valuestatic final String
string valuestatic final String
token symbol value -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
long
token binary integer valuecomment valuedouble
floating point valuelong
hex integer valuetoken identifier valuelong
integer valuelong
64-bit integer valuelong
octal integer valuestring valuetoken symbol valuevoid
setFieldVBinary
(long v_binary) token binary integer valuevoid
setFieldVComment
(Str v_comment) comment valuevoid
setFieldVFloat
(double v_float) floating point valuevoid
setFieldVHex
(long v_hex) hex integer valuevoid
setFieldVIdentifier
(Str v_identifier) token identifier valuevoid
setFieldVInt
(long v_int) integer valuevoid
setFieldVInt64
(long v_int64) 64-bit integer valuevoid
setFieldVOctal
(long v_octal) octal integer valuevoid
setFieldVString
(Str v_string) string valuevoid
setFieldVSymbol
(Pointer v_symbol) token symbol valueMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
V_SYMBOL
token symbol value- See Also:
-
V_IDENTIFIER
token identifier value- See Also:
-
V_BINARY
token binary integer value- See Also:
-
V_OCTAL
octal integer value- See Also:
-
V_INT
integer value- See Also:
-
V_INT64
64-bit integer value- See Also:
-
V_FLOAT
floating point value- See Also:
-
V_HEX
hex integer value- See Also:
-
V_STRING
string value- See Also:
-
V_COMMENT
comment value- See Also:
-
-
Constructor Details
-
TokenValue
-
-
Method Details
-
getClassHandler
-
setFieldVSymbol
token symbol value -
getFieldVSymbol
token symbol value -
setFieldVIdentifier
token identifier value -
getFieldVIdentifier
token identifier value -
setFieldVBinary
public void setFieldVBinary(long v_binary) token binary integer value -
getFieldVBinary
public long getFieldVBinary()token binary integer value -
setFieldVOctal
public void setFieldVOctal(long v_octal) octal integer value -
getFieldVOctal
public long getFieldVOctal()octal integer value -
setFieldVInt
public void setFieldVInt(long v_int) integer value -
getFieldVInt
public long getFieldVInt()integer value -
setFieldVInt64
public void setFieldVInt64(long v_int64) 64-bit integer value -
getFieldVInt64
public long getFieldVInt64()64-bit integer value -
setFieldVFloat
public void setFieldVFloat(double v_float) floating point value -
getFieldVFloat
public double getFieldVFloat()floating point value -
setFieldVHex
public void setFieldVHex(long v_hex) hex integer value -
getFieldVHex
public long getFieldVHex()hex integer value -
setFieldVString
string value -
getFieldVString
string value -
setFieldVComment
comment value -
getFieldVComment
comment value
-