NamedParameters
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "e_named_parameters_get_type ()" ) ]
[ Compact ]
[ Version ( since = "3.8" ) ]
public class NamedParameters
Content:
Creation methods:
Methods:
- public unowned string? @get (string name)
Returns current value of a parameter with name name.
- public void @set (string name, string? value)
Sets parameter named name to value value.
- public void assign (NamedParameters? from)
Makes content of the this the same
as from.
- public void clear ()
Removes all stored parameters from this
.
- public uint count ()
- public bool equal (NamedParameters parameters2)
Compares the two parameters objects and returns whether they equal.
- public bool exists (string name)
- public void free ()
Frees an instance of NamedParameters,
previously allocated with NamedParameters.
- public string? get_name (int index)
- public NamedParameters new_clone ()
Creates a new instance of an NamedParameters
, with initial content being taken from this.
- public bool test (string name, string value, bool case_sensitively)
Compares current value of parameter named name with given
value and returns whether they are equal, either case sensitively or insensitively, based on case_sensitively
argument.
- public string? to_string ()
- public string[] to_strv ()