Method

NumCosmoMathSerializevar_dict_from_yaml_file

Declaration [src]

NcmVarDict*
ncm_serialize_var_dict_from_yaml_file (
  NcmSerialize* ser,
  const gchar* filename
)

Description [src]

Parses the YAML in filename and returns a NcmVarDict containing the element names as keys and their values.

Parameters

filename

Type: const gchar*

File containing the serialized version of the NcmVarDict 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: NcmVarDict

A new NcmVarDict.

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