MCPcopy Create free account
hub / github.com/apache/arrow / garrow_struct_field_options_class_init

Function garrow_struct_field_options_class_init

c_glib/arrow-glib/compute.cpp:6696–6724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6694}
6695
6696static void
6697garrow_struct_field_options_class_init(GArrowStructFieldOptionsClass *klass)
6698{
6699 auto gobject_class = G_OBJECT_CLASS(klass);
6700
6701 gobject_class->get_property = garrow_struct_field_options_get_property;
6702
6703 GParamSpec *spec;
6704 /**
6705 * GArrowStructFieldOptions:field_ref:
6706 *
6707 * The name or dot path specifying what to extract from struct or union.
6708 *
6709 * dot_path = '.' name
6710 * | '[' digit+ ']'
6711 * | dot_path+
6712 *
6713 * Since: 16.0.0
6714 */
6715 spec = g_param_spec_string(
6716 "field_ref",
6717 "Field ref",
6718 "The name or dot path specifying what to extract from struct or union.",
6719 "",
6720 static_cast<GParamFlags>(G_PARAM_READABLE));
6721 g_object_class_install_property(gobject_class,
6722 PROP_STRUCT_FIELD_OPTIONS_FIELD_REF,
6723 spec);
6724}
6725
6726/**
6727 * garrow_struct_field_options_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected