FoPcw

FoPcw

Synopsis

                    FoPcw;
                    FoPcwClass;
FoDatatype*         fo_pcw_new                          (void);
FoDatatype*         fo_pcw_new_with_value               (gdouble value);
gdouble             fo_pcw_get_value                    (FoDatatype *pcw);
FoDatatype*         fo_pcw_get_pcw_zero                 (void);

Description

Details

FoPcw

typedef struct _FoPcw FoPcw;


FoPcwClass

typedef struct _FoPcwClass FoPcwClass;


fo_pcw_new ()

FoDatatype*         fo_pcw_new                          (void);

Creates a new FoPcw initialized to default value.

Returns :

the new FoPcw

fo_pcw_new_with_value ()

FoDatatype*         fo_pcw_new_with_value               (gdouble value);

Creates a new FoPcw set to value

value :

Value of the new FoPcw

Returns :

The new FoPcw

fo_pcw_get_value ()

gdouble             fo_pcw_get_value                    (FoDatatype *pcw);

Get the value of pcw

pcw :

FoPcw

Returns :

Numeric value of pcw

fo_pcw_get_pcw_zero ()

FoDatatype*         fo_pcw_get_pcw_zero                 (void);

Create and return an FoPcw with the well-known value 0.

This saves creation of multiple FoPcw objects that all have the value 0.0.

Returns :

FoPcw with value 0