Method

NumCosmoMathSerializearray_from_yaml_file

Declaration [src]

NcmObjArray*
ncm_serialize_array_from_yaml_file (
  NcmSerialize* ser,
  const gchar* filename
)

Description [src]

Parses the YAML in filename and returns an array of newly created objects.

Parameters

filename

Type: const gchar*

File containing the serialized version of the object in YAML format.

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

Return value

Type: NcmObjArray

A new NcmObjArray.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.