| xmlroff Reference Manual | ||||
|---|---|---|---|---|
FoBoolean;
FoBooleanClass;
FoDatatype* fo_boolean_new (void);
FoDatatype* fo_boolean_new_with_value (gboolean value);
gboolean fo_boolean_get_value (FoDatatype *boolean);
FoDatatype* fo_boolean_get_true (void);
FoDatatype* fo_boolean_get_false (void);
FoDatatype* fo_boolean_new (void);
Creates a new FoBoolean initialized to default value.
| Returns : | the new FoBoolean. |
FoDatatype* fo_boolean_new_with_value (gboolean value);
Creates a new FoBoolean set to value.
gboolean fo_boolean_get_value (FoDatatype *boolean);
Get the value of boolean.
boolean : |
FoBoolean. |
| Returns : | gboolean value of boolean.
|
FoDatatype* fo_boolean_get_true (void);
Create and return an FoBoolean with the well-known value true.
This saves creation of multiple FoBoolean objects that all have the
value true.
| Returns : | FoBoolean with value true.
|
FoDatatype* fo_boolean_get_false (void);
Create and return an FoBoolean with the well-known value false.
This saves creation of multiple FoBoolean objects that all have the
value false.
| Returns : | FoBoolean with value false.
|