ParameterList

Description Parameters are the way clients have to send an unlimited number of arguments to the providers.

Constructors

this
this(GdaParameterList* gdaParameterList)

Sets our main struct and passes it to the parent class

this
this()

Creates a new GdaParameterList.

Members

Functions

addParameter
void addParameter(Parameter param)

Adds a new parameter to the given GdaParameterList. Note that param is, when calling this function, is owned by the GdaParameterList, so the caller should just forget about it and not try to free the parameter once it's been added to the GdaParameterList.

clear
void clear()

Clears the parameter list. This means removing all GdaParameter's currently being stored in the parameter list. After calling this function, the parameter list is empty.

copy
ParameterList copy()

Creates a new GdaParameterList from an existing one.

find
Parameter find(string name)

Gets a GdaParameter from the parameter list given its name.

free
void free()

Releases all memory occupied by the given GdaParameterList.

getLength
uint getLength()
getNames
ListG getNames()

Gets the names of all parameters in the parameter list.

getParameterListStruct
GdaParameterList* getParameterListStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gdaParameterList
GdaParameterList* gdaParameterList;

the main Gtk struct

Meta