## FoInteger

FoInteger

## Synopsis

                        FoInteger;
                        FoIntegerClass;
    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);

## Object Hierarchy

      GObject
       +----FoObject
             +----FoDatatype
                   +----FoInteger

## Properties

      "value"                    gint                  : Read / Write / Construct Only

## Description

## Details

### FoInteger

    typedef struct _FoInteger FoInteger;

### FoIntegerClass

    typedef struct _FoIntegerClass FoIntegerClass;

### fo_integer_new_with_value ()

    FoDatatype*         fo_integer_new_with_value           (gint value);

Creates a new FoInteger set to `value`.

`value` : | Value of the new FoInteger.
Returns : | The new FoInteger.

### fo_integer_get_value ()

    gint                fo_integer_get_value                (FoDatatype *integer);

Get the value of `integer`.

`integer` : | FoInteger.
Returns : | Numeric value of `integer`.

### fo_integer_get_integer_zero ()

    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.

### fo_integer_get_integer_one ()

    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.

### fo_integer_get_integer_two ()

    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.

### fo_integer_get_integer_three ()

    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.

### fo_integer_get_integer_four ()

    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.

### fo_integer_get_integer_five ()

    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.

### fo_integer_get_integer_six ()

    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.

## Property Details

### The `"value"` property

      "value"                    gint                  : Read / Write / Construct Only

Integer value.

Default value: 0