Method

NumCosmoMathSerializeset_property_from_key_file

Declaration [src]

void
ncm_serialize_set_property_from_key_file (
  NcmSerialize* ser,
  GObject* obj,
  const gchar* prop_file
)

Description [src]

Sets the properties of obj from the keys of the group Precision Parameters of prop_file, each value written as GVariant text. A file without groups is read as that group. Aborts if the file cannot be read.

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.
prop_file

Type: const gchar*

A key file name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.