| 786 | } |
| 787 | |
| 788 | static void |
| 789 | garrow_array_class_init(GArrowArrayClass *klass) |
| 790 | { |
| 791 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 792 | |
| 793 | gobject_class->dispose = garrow_array_dispose; |
| 794 | gobject_class->finalize = garrow_array_finalize; |
| 795 | gobject_class->set_property = garrow_array_set_property; |
| 796 | gobject_class->get_property = garrow_array_get_property; |
| 797 | |
| 798 | GParamSpec *spec; |
| 799 | spec = g_param_spec_pointer( |
| 800 | "array", |
| 801 | "Array", |
| 802 | "The raw std::shared<arrow::Array> *", |
| 803 | static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); |
| 804 | g_object_class_install_property(gobject_class, PROP_ARRAY, spec); |
| 805 | |
| 806 | spec = g_param_spec_object( |
| 807 | "value-data-type", |
| 808 | "Value data type", |
| 809 | "The data type of each value", |
| 810 | GARROW_TYPE_DATA_TYPE, |
| 811 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 812 | g_object_class_install_property(gobject_class, PROP_VALUE_DATA_TYPE, spec); |
| 813 | |
| 814 | spec = g_param_spec_object( |
| 815 | "null-bitmap", |
| 816 | "NULL bitmap", |
| 817 | "The NULL bitmap", |
| 818 | GARROW_TYPE_BUFFER, |
| 819 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 820 | g_object_class_install_property(gobject_class, PROP_NULL_BITMAP, spec); |
| 821 | |
| 822 | spec = g_param_spec_object( |
| 823 | "buffer1", |
| 824 | "Buffer1", |
| 825 | "The first buffer", |
| 826 | GARROW_TYPE_BUFFER, |
| 827 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 828 | g_object_class_install_property(gobject_class, PROP_BUFFER1, spec); |
| 829 | |
| 830 | spec = g_param_spec_object( |
| 831 | "buffer2", |
| 832 | "Buffer2", |
| 833 | "The second buffer", |
| 834 | GARROW_TYPE_BUFFER, |
| 835 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 836 | g_object_class_install_property(gobject_class, PROP_BUFFER2, spec); |
| 837 | |
| 838 | spec = g_param_spec_object( |
| 839 | "parent", |
| 840 | "Parent", |
| 841 | "The parent array", |
| 842 | GARROW_TYPE_ARRAY, |
| 843 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 844 | g_object_class_install_property(gobject_class, PROP_PARENT, spec); |
| 845 | } |
nothing calls this directly
no outgoing calls
no test coverage detected