| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/structure.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/structure.h>cxx . . $ `<file>/gstreamer/gstreamermm/structure.h`/ |
| 7 | #include <gstreamermm/private/structure_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/structure_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008-2016 The gstreamermm Development Team |
| 13 | * |
| 14 | * This library is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU Lesser General Public |
| 16 | * License as published by the Free Software Foundation; either |
| 17 | * version 2.1 of the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This library is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | * Lesser General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU Lesser General Public |
| 25 | * License along with this library; if not, write to the Free |
| 26 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 27 | */ |
| 28 | |
| 29 | #include <gst/gst.h> |
| 30 | #include <gstreamermm/value.h>cxx . . $ `<file>/gstreamer/gstreamermm/value.h`/ |
| 31 | #include <gstreamermm/miniobject.h>cxx . . $ `<file>/gstreamer/gstreamermm/miniobject.h`/ |
| 32 | |
| 33 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/structure.cc`/ |
| 34 | { |
| 35 | |
| 36 | static Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# quark_to_ustringcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/structure.cc`/quark_to_ustring(9f05e144ea0caef4).(GQuark quark) |
| 37 | { |
| 38 | const gchar* pch = g_quark_to_string(quark); |
| 39 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# strcxx . . $ Glib/ustring#ustring(49f6e7a06ebc5aa8).; |
| 40 | if(pch) |
| 41 | str =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). pch; |
| 42 | |
| 43 | return strcxx . . $ Glib/ustring#ustring(9ff8f5cb794dfdbf).; |
| 44 | } |
| 45 | |
| 46 | extern "C" |
| 47 | { |
| 48 | |
| 49 | static gboolean |
| 50 | Structure_Foreach_gstreamermm_callback(GQuark field_id, const GValue *value, void* data) |
| 51 | { |
| 52 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#::SlotForeachcxx . . $ Gst/Structure#SlotForeach#* slot = static_cast<Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#::SlotForeachcxx . . $ Gst/Structure#SlotForeach#*>(data); |
| 53 | |
| 54 | try |
| 55 | { |
| 56 | return (*slot)(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).quark_to_ustringcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/structure.cc`/quark_to_ustring(9f05e144ea0caef4).(field_id), *reinterpret_cast<const Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#*>(value)); |
| 57 | } |
| 58 | catch(...) |
| 59 | { |
| 60 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 61 | } |
| 62 | |
| 63 | return false; |
| 64 | } |
| 65 | |
| 66 | static gboolean |
| 67 | Structure_Map_gstreamermm_callback(GQuark field_id, GValue *value, void* data) |
| 68 | { |
| 69 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#::SlotMapcxx . . $ Gst/Structure#SlotMap#* slot = static_cast<Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#::SlotMapcxx . . $ Gst/Structure#SlotMap#*>(data); |
| 70 | |
| 71 | try |
| 72 | { |
| 73 | bool result = (*slot)(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).quark_to_ustringcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/structure.cc`/quark_to_ustring(9f05e144ea0caef4).(field_id), *reinterpret_cast<Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#*>(value)); |
| 74 | return result; |
| 75 | } |
| 76 | catch(...) |
| 77 | { |
| 78 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 79 | } |
| 80 | |
| 81 | return false; |
| 82 | } |
| 83 | |
| 84 | } // extern "C" |
| 85 | |
| 86 | } // anonymous namespace |
| 87 | |
| 88 | namespace Gstcxx . . $ Gst/ |
| 89 | { |
| 90 | |
| 91 | Structurecxx . . $ Gst/Structure#::operatorcxx . . $ Gst/Structure#`operator const void *`(3a8ef3fdc6e817ef). const void*() const |
| 92 | { |
| 93 | return gobject_cxx . . $ Gst/Structure#gobject_. ? GINT_TO_POINTERcxx . . $ `<external>/10505296616216143549/glibconfig.h:106:9`!(1) : nullptr; |
| 94 | } |
| 95 | |
| 96 | GstStructure* Structurecxx . . $ Gst/Structure#::releasecxx . . $ Gst/Structure#release(2691563db4321b22).() noexcept |
| 97 | { |
| 98 | GstStructure *tmp = gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(); |
| 99 | gobject_cxx . . $ Gst/Structure#gobject_. = nullptr; |
| 100 | return tmp; |
| 101 | } |
| 102 | |
| 103 | void Structurecxx . . $ Gst/Structure#::get_fieldcxx . . $ Gst/Structure#get_field(1e7a84ecd4d9b1f2).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) const |
| 104 | { |
| 105 | const GValue *val = gst_structure_get_value(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 106 | value.initcxx . . $ Glib/ValueBase#init(17c24b957ba97f2a).(val); |
| 107 | } |
| 108 | |
| 109 | void Structurecxx . . $ Gst/Structure#::set_fieldcxx . . $ Gst/Structure#set_field(e222b134ab14ed99).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname, |
| 110 | const Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) |
| 111 | { |
| 112 | gst_structure_set_value(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), value.gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).()); |
| 113 | } |
| 114 | |
| 115 | void Structurecxx . . $ Gst/Structure#::set_fieldcxx . . $ Gst/Structure#set_field(e20e702523070ebe).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname, GType enumtype, int value) |
| 116 | { |
| 117 | gst_structure_set(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), enumtype, value, nullptr); |
| 118 | } |
| 119 | |
| 120 | void Structurecxx . . $ Gst/Structure#::set_fieldcxx . . $ Gst/Structure#set_field(b1c04360379bfbf5).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname, const char* value) |
| 121 | { |
| 122 | set_fieldcxx . . $ Gst/Structure#set_field(29831774a8731cb).<stdcxx . . $ std/::stringcxx . . $ std/string#>(fieldname, valuecxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 123 | } |
| 124 | |
| 125 | void Structurecxx . . $ Gst/Structure#::remove_fieldcxx . . $ Gst/Structure#remove_field(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname) |
| 126 | { |
| 127 | gst_structure_remove_field(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 128 | } |
| 129 | |
| 130 | bool Structurecxx . . $ Gst/Structure#::get_fieldcxx . . $ Gst/Structure#get_field(bbee65a4bfb9f629).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, GType enum_type, int& value) const |
| 131 | { |
| 132 | return gst_structure_get_enum(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), enum_type, &value); |
| 133 | } |
| 134 | |
| 135 | bool Structurecxx . . $ Gst/Structure#::foreachcxx . . $ Gst/Structure#foreach(ef3ca79e6c36fc0b).(const SlotForeachcxx . . $ Gst/Structure#SlotForeach#& slot) |
| 136 | { |
| 137 | return gst_structure_foreach(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), &Structure_Foreach_gstreamermm_callback, const_cast<SlotForeachcxx . . $ Gst/Structure#SlotForeach#*>(&slot)); |
| 138 | } |
| 139 | |
| 140 | bool Structurecxx . . $ Gst/Structure#::map_in_placecxx . . $ Gst/Structure#map_in_place(f7b8def89eccb8e7).(const SlotMapcxx . . $ Gst/Structure#SlotMap#& slot) |
| 141 | { |
| 142 | return gst_structure_map_in_place(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), &Structure_Map_gstreamermm_callback, const_cast<SlotMapcxx . . $ Gst/Structure#SlotMap#*>(&slot)); |
| 143 | } |
| 144 | |
| 145 | Structurecxx . . $ Gst/Structure# Structurecxx . . $ Gst/Structure#::create_from_stringcxx . . $ Gst/Structure#create_from_string(f2e6d3a43bd7fcbe).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& the_string) |
| 146 | { |
| 147 | return Structurecxx . . $ Gst/Structure#(gst_structure_from_string(the_string.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)); |
| 148 | } |
| 149 | |
| 150 | bool Structurecxx . . $ Gst/Structure#::fixate_nearest_fractioncxx . . $ Gst/Structure#fixate_nearest_fraction(ad20c6b0f48534ab).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Gstcxx . . $ Gst/::Fractioncxx . . $ Gst/Fraction#& target) |
| 151 | { |
| 152 | return gst_structure_fixate_field_nearest_fraction(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), target.numcxx . . $ Gst/Fraction#num., target.denomcxx . . $ Gst/Fraction#denom.); |
| 153 | } |
| 154 | |
| 155 | } //namespace Gst |
| 156 | |
| 157 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/structure.cc`/ |
| 158 | { |
| 159 | } // anonymous namespace |
| 160 | |
| 161 | |
| 162 | namespace Glibcxx . . $ Glib/ |
| 163 | { |
| 164 | |
| 165 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(GstStructure* object, bool take_copy) |
| 166 | { |
| 167 | return Gstcxx . . $ Gst/Structure#Structure(ff5969d659807fcb).::Structurecxx . . $ Gst/Structure#(object, take_copy); |
| 168 | } |
| 169 | |
| 170 | } // namespace Glib |
| 171 | |
| 172 | |
| 173 | namespace Gstcxx . . $ Gst/ |
| 174 | { |
| 175 | |
| 176 | |
| 177 | // static |
| 178 | GType Structurecxx . . $ Gst/Structure#::get_typecxx . . $ Gst/Structure#get_type(f708dce9a8856c70).() |
| 179 | { |
| 180 | return gst_structure_get_type(); |
| 181 | } |
| 182 | |
| 183 | Structurecxx . . $ Gst/Structure#::Structurecxx . . $ Gst/Structure#Structure(49f6e7a06ebc5aa8).() |
| 184 | : |
| 185 | gobject_cxx . . $ Gst/Structure#gobject_. (nullptr) // Allows creation of invalid wrapper, e.g. for output arguments to methods. |
| 186 | {} |
| 187 | |
| 188 | Structurecxx . . $ Gst/Structure#::Structurecxx . . $ Gst/Structure#Structure(d8c6d4e94c9eb7a4).(const Structurecxx . . $ Gst/Structure#& other) |
| 189 | : |
| 190 | gobject_cxx . . $ Gst/Structure#gobject_. ((other.gobject_cxx . . $ Gst/Structure#gobject_.) ? gst_structure_copy(other.gobject_cxx . . $ Gst/Structure#gobject_.) : nullptr) |
| 191 | {} |
| 192 | |
| 193 | Structurecxx . . $ Gst/Structure#::Structurecxx . . $ Gst/Structure#Structure(5fcecce71194ffb4).(Structurecxx . . $ Gst/Structure#&& other) noexcept |
| 194 | : |
| 195 | gobject_cxx . . $ Gst/Structure#gobject_.(other.gobject_cxx . . $ Gst/Structure#gobject_.) |
| 196 | { |
| 197 | other.gobject_cxx . . $ Gst/Structure#gobject_. = nullptr; |
| 198 | } |
| 199 | |
| 200 | Structurecxx . . $ Gst/Structure#& Structurecxx . . $ Gst/Structure#::operatorcxx . . $ Gst/Structure#`operator=`(adaf907fada6380c).=(Structurecxx . . $ Gst/Structure#&& other) noexcept |
| 201 | { |
| 202 | Structurecxx . . $ Gst/Structure# tempcxx . . $ Gst/Structure#Structure(d8c6d4e94c9eb7a4). (other); |
| 203 | swapcxx . . $ Gst/Structure#swap(1c117fd2bd99e9c7).(temp); |
| 204 | return *this; |
| 205 | } |
| 206 | |
| 207 | Structurecxx . . $ Gst/Structure#::Structurecxx . . $ Gst/Structure#Structure(ff5969d659807fcb).(GstStructure* gobject, bool make_a_copy) |
| 208 | : |
| 209 | // For BoxedType wrappers, make_a_copy is true by default. The static |
| 210 | // BoxedType wrappers must always take a copy, thus make_a_copy = true |
| 211 | // ensures identical behaviour if the default argument is used. |
| 212 | gobject_cxx . . $ Gst/Structure#gobject_. ((make_a_copy && gobject) ? gst_structure_copy(gobject) : gobject) |
| 213 | {} |
| 214 | |
| 215 | Structurecxx . . $ Gst/Structure#& Structurecxx . . $ Gst/Structure#::operatorcxx . . $ Gst/Structure#`operator=`(9cde4537eaa7c0c4).=(const Structurecxx . . $ Gst/Structure#& other) |
| 216 | { |
| 217 | Structurecxx . . $ Gst/Structure# tempcxx . . $ Gst/Structure#Structure(d8c6d4e94c9eb7a4). (other); |
| 218 | swapcxx . . $ Gst/Structure#swap(1c117fd2bd99e9c7).(temp); |
| 219 | return *this; |
| 220 | } |
| 221 | |
| 222 | Structurecxx . . $ Gst/Structure#::~cxx . . $ Gst/Structure#`~Structure`(ced63f7c635d850d).Structurecxx . . $ Gst/Structure#() noexcept |
| 223 | { |
| 224 | if(gobject_cxx . . $ Gst/Structure#gobject_.) |
| 225 | gst_structure_free(gobject_cxx . . $ Gst/Structure#gobject_.); |
| 226 | } |
| 227 | |
| 228 | void Structurecxx . . $ Gst/Structure#::swapcxx . . $ Gst/Structure#swap(1c117fd2bd99e9c7).(Structurecxx . . $ Gst/Structure#& other) noexcept |
| 229 | { |
| 230 | stdcxx . . $ std/::swapcxx . . $ std/swap(c75b8fd57d7c2e06).(gobject_cxx . . $ Gst/Structure#gobject_., other.gobject_cxx . . $ Gst/Structure#gobject_.); |
| 231 | } |
| 232 | |
| 233 | GstStructure* Structurecxx . . $ Gst/Structure#::gobj_copycxx . . $ Gst/Structure#gobj_copy(b81a7a1e36a522ea).() const |
| 234 | { |
| 235 | return gst_structure_copy(gobject_cxx . . $ Gst/Structure#gobject_.); |
| 236 | } |
| 237 | |
| 238 | |
| 239 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Structurecxx . . $ Gst/Structure#::get_namecxx . . $ Gst/Structure#get_name(fff0f585954e56f3).() const |
| 240 | { |
| 241 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_structure_get_name(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()))); |
| 242 | } |
| 243 | |
| 244 | bool Structurecxx . . $ Gst/Structure#::has_namecxx . . $ Gst/Structure#has_name(51a66224d46a21f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 245 | { |
| 246 | return gst_structure_has_name(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 247 | } |
| 248 | |
| 249 | void Structurecxx . . $ Gst/Structure#::set_namecxx . . $ Gst/Structure#set_name(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 250 | { |
| 251 | gst_structure_set_name(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 252 | } |
| 253 | |
| 254 | Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark# Structurecxx . . $ Gst/Structure#::get_name_idcxx . . $ Gst/Structure#get_name_id(2b6a9126b5083954).() const |
| 255 | { |
| 256 | return Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark#(gst_structure_get_name_id(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()))); |
| 257 | } |
| 258 | |
| 259 | void Structurecxx . . $ Gst/Structure#::remove_all_fieldscxx . . $ Gst/Structure#remove_all_fields(49f6e7a06ebc5aa8).() |
| 260 | { |
| 261 | gst_structure_remove_all_fields(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).()); |
| 262 | } |
| 263 | |
| 264 | GType Structurecxx . . $ Gst/Structure#::get_field_typecxx . . $ Gst/Structure#get_field_type(d005f9569bc481b0).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname) const |
| 265 | { |
| 266 | return gst_structure_get_field_type(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 267 | } |
| 268 | |
| 269 | int Structurecxx . . $ Gst/Structure#::sizecxx . . $ Gst/Structure#size(455f465bc33b4cdf).() const |
| 270 | { |
| 271 | return gst_structure_n_fields(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).())); |
| 272 | } |
| 273 | |
| 274 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Structurecxx . . $ Gst/Structure#::get_nth_field_namecxx . . $ Gst/Structure#get_nth_field_name(d6afed782860cbcd).(guint index) const |
| 275 | { |
| 276 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_structure_nth_field_name(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), index)); |
| 277 | } |
| 278 | |
| 279 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Structurecxx . . $ Gst/Structure#::to_stringcxx . . $ Gst/Structure#to_string(fff0f585954e56f3).() const |
| 280 | { |
| 281 | return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_structure_to_string(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()))); |
| 282 | } |
| 283 | |
| 284 | bool Structurecxx . . $ Gst/Structure#::fixate_field_nearest_intcxx . . $ Gst/Structure#fixate_field_nearest_int(1c2a39a92b4b2b68).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, int target) |
| 285 | { |
| 286 | return gst_structure_fixate_field_nearest_int(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), target); |
| 287 | } |
| 288 | |
| 289 | bool Structurecxx . . $ Gst/Structure#::fixate_field_nearest_doublecxx . . $ Gst/Structure#fixate_field_nearest_double(859cfcffd8d9f514).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, double target) |
| 290 | { |
| 291 | return gst_structure_fixate_field_nearest_double(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), target); |
| 292 | } |
| 293 | |
| 294 | bool Structurecxx . . $ Gst/Structure#::fixate_field_stringcxx . . $ Gst/Structure#fixate_field_string(395448000f6db32c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& target) |
| 295 | { |
| 296 | return gst_structure_fixate_field_string(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), target.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 297 | } |
| 298 | |
| 299 | bool Structurecxx . . $ Gst/Structure#::fixate_fieldcxx . . $ Gst/Structure#fixate_field(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 300 | { |
| 301 | return gst_structure_fixate_field(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 302 | } |
| 303 | |
| 304 | bool Structurecxx . . $ Gst/Structure#::fixate_field_booleancxx . . $ Gst/Structure#fixate_field_boolean(941c60696cf58028).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, bool target) |
| 305 | { |
| 306 | return gst_structure_fixate_field_boolean(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), static_cast<int>(target)); |
| 307 | } |
| 308 | |
| 309 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# Structurecxx . . $ Gst/Structure#::intersectcxx . . $ Gst/Structure#intersect(4f61a8fc1f877e8e).(const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& struct2) const |
| 310 | { |
| 311 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(gst_structure_intersect(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), struct2.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).())); |
| 312 | } |
| 313 | |
| 314 | bool Structurecxx . . $ Gst/Structure#::is_equalcxx . . $ Gst/Structure#is_equal(77725922cf66ffcc).(const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& struct2) const |
| 315 | { |
| 316 | return gst_structure_is_equal(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), struct2.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()); |
| 317 | } |
| 318 | |
| 319 | bool Structurecxx . . $ Gst/Structure#::is_subsetcxx . . $ Gst/Structure#is_subset(77725922cf66ffcc).(const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& superset) const |
| 320 | { |
| 321 | return gst_structure_is_subset(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), superset.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()); |
| 322 | } |
| 323 | |
| 324 | bool Structurecxx . . $ Gst/Structure#::can_intersectcxx . . $ Gst/Structure#can_intersect(77725922cf66ffcc).(const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& struct2) const |
| 325 | { |
| 326 | return gst_structure_can_intersect(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), struct2.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()); |
| 327 | } |
| 328 | |
| 329 | void Structurecxx . . $ Gst/Structure#::fixatecxx . . $ Gst/Structure#fixate(49f6e7a06ebc5aa8).() |
| 330 | { |
| 331 | gst_structure_fixate(gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).()); |
| 332 | } |
| 333 | |
| 334 | bool Structurecxx . . $ Gst/Structure#::get_flagsetcxx . . $ Gst/Structure#get_flagset(44c63c20ca39b22b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname, guint& value_flags, guint& value_mask) const |
| 335 | { |
| 336 | return gst_structure_get_flagset(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), &(value_flags), &(value_mask)); |
| 337 | } |
| 338 | |
| 339 | bool Structurecxx . . $ Gst/Structure#::has_fieldcxx . . $ Gst/Structure#has_field(51a66224d46a21f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname) const |
| 340 | { |
| 341 | return gst_structure_has_field(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 342 | } |
| 343 | |
| 344 | bool Structurecxx . . $ Gst/Structure#::has_fieldcxx . . $ Gst/Structure#has_field(2a0579f44bb710cd).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& fieldname, GType type) const |
| 345 | { |
| 346 | return gst_structure_has_field_typed(const_cast<GstStructure*>(gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()), fieldname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), type); |
| 347 | } |
| 348 | |
| 349 | |
| 350 | } // namespace Gst |
| 351 | |
| 352 |