xmlroff Reference Manual |
---|
fo-integer —
struct FoInteger; struct FoIntegerClass; FoDatatype* fo_integer_new (void); FoDatatype* fo_integer_new_with_value (gint value);gint fo_integer_get_value (FoDatatype *integer); FoDatatype* fo_integer_get_integer_zero (void); FoDatatype* fo_integer_get_integer_one (void); FoDatatype* fo_integer_get_integer_two (void); FoDatatype* fo_integer_get_integer_three (void); FoDatatype* fo_integer_get_integer_four (void); FoDatatype* fo_integer_get_integer_five (void); FoDatatype* fo_integer_get_integer_six (void);
FoDatatype* fo_integer_new (void);
Creates a new FoInteger initialized to default value.
Returns : | the new FoInteger. |
FoDatatype* fo_integer_new_with_value (gint value);
Creates a new FoInteger set to value.
gint fo_integer_get_value (FoDatatype *integer);
Get the value of integer.
integer : | FoInteger. |
Returns : | Numeric value of integer. |
FoDatatype* fo_integer_get_integer_zero (void);
Create and return an FoInteger with the well-known value 0.
This saves creation of multiple FoInteger objects that all have the value 0.
Returns : | FoInteger with value 0. |
FoDatatype* fo_integer_get_integer_one (void);
Create and return an FoInteger with the well-known value 1.
This saves creation of multiple FoInteger objects that all have the value 1.
Returns : | FoInteger with value 1. |
FoDatatype* fo_integer_get_integer_two (void);
Create and return an FoInteger with the well-known value 2.
This saves creation of multiple FoInteger objects that all have the value 2.
Returns : | FoInteger with value 2. |
FoDatatype* fo_integer_get_integer_three (void);
Create and return an FoInteger with the well-known value 3.
This saves creation of multiple FoInteger objects that all have the value 3.
Returns : | FoInteger with value 3. |
FoDatatype* fo_integer_get_integer_four (void);
Create and return an FoInteger with the well-known value 4.
This saves creation of multiple FoInteger objects that all have the value 4.
Returns : | FoInteger with value 4. |
FoDatatype* fo_integer_get_integer_five (void);
Create and return an FoInteger with the well-known value 5.
This saves creation of multiple FoInteger objects that all have the value 5.
Returns : | FoInteger with value 5. |
FoDatatype* fo_integer_get_integer_six (void);
Create and return an FoInteger with the well-known value 6.
This saves creation of multiple FoInteger objects that all have the value 6.
Returns : | FoInteger with value 6. |
<< fo-id | fo-keep >> |