gclass_find_by_name()

gclass_find_by_name()#

Searches for a gclass by its name and returns a handle to it if found.

Prototype

hgclass gclass_find_by_name(
    gclass_name_t gclass_name
);

Parameters

Key

Type

Description

gclass_name

gclass_name_t

The name of the gclass to search for.


Return Value

A handle to the gclass if found, otherwise NULL.

Notes

If the gclass is not found, the function returns NULL without logging an error.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples