- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.posix.Locale.Lconv
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Locale
public static final class Locale.Lconv extends Struct32
POSIX:structure lconv.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.NativeMemoryAlignment
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Constructor Summary
Constructors Constructor Description Lconv()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()Get the alignment of struct lconv natively.Stringcurrency_symbol()The string that shall be used as the local currency symbol.Stringdecimal_point()shortfrac_digits()An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using currency_symbol.Stringgrouping()Stringint_curr_symbol()The international currency symbol.shortint_frac_digits()An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using int_curr_symbol.shortint_n_cs_precedes()An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.shortint_n_sep_by_space()Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a negative internationally formatted monetary quantity.shortint_n_sign_posn()An integer set to a value indicating the positioning of the negative_sign for a negative monetary quantity formatted with the international format.shortint_p_cs_precedes()An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.shortint_p_sep_by_space()Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a non-negative internationally formatted monetary quantity.shortint_p_sign_posn()An integer set to a value indicating the positioning of the positive_sign for a positive monetary quantity formatted with the international format.Stringmon_decimal_point()The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in monetary formatted quantities.Stringmon_grouping()Define the size of each group of digits in formatted monetary quantities.Stringmon_thousands_sep()The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in formatted monetary quantities.shortn_cs_precedes()An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.shortn_sep_by_space()Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a negative formatted monetary quantity.shortn_sign_posn()An integer set to a value indicating the positioning of the negative_sign for a negative formatted monetary quantity.voidnativeToString(Appendable sb, String indentPrefix, String indent)Stringnegative_sign()A string that shall be used to indicate a negative-valued formatted monetary quantity.shortp_cs_precedes()An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.shortp_sep_by_space()Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a non-negative formatted monetary quantity.shortp_sign_posn()An integer set to a value indicating the positioning of the positive_sign for a monetary quantity with a non-negative value.Stringpositive_sign()A string that shall be used to indicate a non-negative-valued formatted monetary quantity.static intsizeof()Get the real size of struct lconv natively.Stringthousands_sep()-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
calcNextOffset, clear, copy, copy, equals, getByte, hashCode, memset, nativeToString, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Method Detail
-
sizeof
@SizeOf public static int sizeof()
Get the real size of struct lconv natively.- Returns:
- the native value sizeof(struct lconv).
-
alignof
@AlignOf public static int alignof()
Get the alignment of struct lconv natively.- Returns:
- the native value __alignof__(struct lconv).
-
nativeToString
public void nativeToString(Appendable sb, String indentPrefix, String indent) throws IOException
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Throws:
IOException
-
currency_symbol
public final String currency_symbol()
The string that shall be used as the local currency symbol. POSIX:LC_MONETARY.- Returns:
- the native value of currency_symbol.
-
decimal_point
public final String decimal_point()
- Returns:
- the native value of decimal_point.
-
frac_digits
public final short frac_digits()
An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using currency_symbol. POSIX:LC_MONETARY.- Returns:
- the native value of frac_digits.
-
grouping
public final String grouping()
- Returns:
- the native value of grouping.
-
int_curr_symbol
public final String int_curr_symbol()
The international currency symbol. POSIX:LC_MONETARY.- Returns:
- the native value of int_curr_symbol.
-
int_frac_digits
public final short int_frac_digits()
An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using int_curr_symbol. POSIX:LC_MONETARY.- Returns:
- the native value of int_frac_digits.
-
int_n_cs_precedes
public final short int_n_cs_precedes()
An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value. POSIX:LC_MONETARY.- Returns:
- the native value of int_n_cs_precedes.
-
int_n_sep_by_space
public final short int_n_sep_by_space()
Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a negative internationally formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of int_n_sep_by_space.
-
int_n_sign_posn
public final short int_n_sign_posn()
An integer set to a value indicating the positioning of the negative_sign for a negative monetary quantity formatted with the international format. POSIX:LC_MONETARY.- Returns:
- the native value of int_n_sign_posn.
-
int_p_cs_precedes
public final short int_p_cs_precedes()
An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value. POSIX:LC_MONETARY.- Returns:
- the native value of int_p_cs_precedes.
-
int_p_sep_by_space
public final short int_p_sep_by_space()
Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a non-negative internationally formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of int_p_sep_by_space.
-
int_p_sign_posn
public final short int_p_sign_posn()
An integer set to a value indicating the positioning of the positive_sign for a positive monetary quantity formatted with the international format. POSIX:LC_MONETARY.- Returns:
- the native value of int_p_sign_posn.
-
mon_decimal_point
public final String mon_decimal_point()
The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in monetary formatted quantities. POSIX:LC_MONETARY.- Returns:
- the native value of mon_decimal_point.
-
mon_grouping
public final String mon_grouping()
Define the size of each group of digits in formatted monetary quantities. POSIX:LC_MONETARY.- Returns:
- the native value of mon_grouping.
-
mon_thousands_sep
public final String mon_thousands_sep()
The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in formatted monetary quantities. POSIX:LC_MONETARY.- Returns:
- the native value of mon_thousands_sep.
-
negative_sign
public final String negative_sign()
A string that shall be used to indicate a negative-valued formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of negative_sign.
-
n_cs_precedes
public final short n_cs_precedes()
An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value. POSIX:LC_MONETARY.- Returns:
- the native value of n_cs_precedes.
-
n_sep_by_space
public final short n_sep_by_space()
Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a negative formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of n_sep_by_space.
-
n_sign_posn
public final short n_sign_posn()
An integer set to a value indicating the positioning of the negative_sign for a negative formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of n_sign_posn.
-
positive_sign
public final String positive_sign()
A string that shall be used to indicate a non-negative-valued formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of positive_sign.
-
p_cs_precedes
public final short p_cs_precedes()
An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value. POSIX:LC_MONETARY.- Returns:
- the native value of p_cs_precedes.
-
p_sep_by_space
public final short p_sep_by_space()
Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a non-negative formatted monetary quantity. POSIX:LC_MONETARY.- Returns:
- the native value of p_sep_by_space.
-
p_sign_posn
public final short p_sign_posn()
An integer set to a value indicating the positioning of the positive_sign for a monetary quantity with a non-negative value. POSIX:LC_MONETARY.- Returns:
- the native value of p_sign_posn.
-
thousands_sep
public final String thousands_sep()
- Returns:
- the native value of thousands_sep.
-
-