| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/discovererinfo.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/discovererinfo.h>cxx . . $ `<file>/gstreamer/gstreamermm/discovererinfo.h`/ |
| 7 | #include <gstreamermm/private/discovererinfo_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/discovererinfo_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2011-2016 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 <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/ |
| 30 | #include <gstreamermm/structure.h>cxx . . $ `<file>/gstreamer/gstreamermm/structure.h`/ |
| 31 | #include <gstreamermm/taglist.h>cxx . . $ `<file>/gstreamer/gstreamermm/taglist.h`/ |
| 32 | #include <gstreamermm/toc.h>cxx . . $ `<file>/gstreamer/gstreamermm/toc.h`/ |
| 33 | #include <gobject/gobject.h> |
| 34 | #include <gst/pbutils/pbutils.h> |
| 35 | |
| 36 | |
| 37 | namespace Gstcxx . . $ Gst/ |
| 38 | { |
| 39 | |
| 40 | static GstDiscovererInfocxx . . $ GstDiscovererInfo# * |
| 41 | gst_discoverer_info_newcxx . . $ Gst/gst_discoverer_info_new(6d251773b6d0cd54). (void) |
| 42 | { |
| 43 | return (GstDiscovererInfocxx . . $ GstDiscovererInfo# *) g_object_new (GST_TYPE_DISCOVERER_INFOcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:274:9`!, nullptr); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/discovererinfo.cc`/ |
| 48 | { |
| 49 | } // anonymous namespace |
| 50 | |
| 51 | // static |
| 52 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::DiscovererResult>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 53 | { |
| 54 | return gst_discoverer_result_get_type(); |
| 55 | } |
| 56 | |
| 57 | // static |
| 58 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::DiscovererSerializeFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 59 | { |
| 60 | return gst_discoverer_serialize_flags_get_type(); |
| 61 | } |
| 62 | |
| 63 | |
| 64 | /* Why reinterpret_cast<DiscovererInfo*>(gobject) is needed: |
| 65 | * |
| 66 | * A DiscovererInfo instance is in fact always a GstDiscovererInfo instance. |
| 67 | * Unfortunately, GstDiscovererInfo cannot be a member of DiscovererInfo, |
| 68 | * because it is an opaque struct. Also, the C interface does not provide |
| 69 | * any hooks to install a destroy notification handler, thus we cannot |
| 70 | * wrap it dynamically either. |
| 71 | * |
| 72 | * The cast works because DiscovererInfo does not have any member data, and |
| 73 | * it is impossible to derive from it. This is ensured by using final on the |
| 74 | * class and by using = delete on the default constructor. |
| 75 | */ |
| 76 | |
| 77 | namespace Glibcxx . . $ Glib/ |
| 78 | { |
| 79 | |
| 80 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererInfocxx . . $ Gst/DiscovererInfo#> wrapcxx . . $ Glib/wrap(c5931edd97aca4ad).(GstDiscovererInfocxx . . $ GstDiscovererInfo#* object, bool take_copy) |
| 81 | { |
| 82 | if(take_copy && object) |
| 83 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(object); |
| 84 | |
| 85 | // See the comment at the top of this file, if you want to know why the cast works. |
| 86 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererInfocxx . . $ Gst/DiscovererInfo#>(reinterpret_cast<Gstcxx . . $ Gst/::DiscovererInfocxx . . $ Gst/DiscovererInfo#*>(object)); |
| 87 | } |
| 88 | |
| 89 | } // namespace Glib |
| 90 | |
| 91 | |
| 92 | namespace Gstcxx . . $ Gst/ |
| 93 | { |
| 94 | |
| 95 | |
| 96 | // static |
| 97 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<DiscovererInfocxx . . $ Gst/DiscovererInfo#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::createcxx . . $ Gst/DiscovererInfo#create(c5c6a4c26d505c18).() |
| 98 | { |
| 99 | // See the comment at the top of this file, if you want to know why the cast works. |
| 100 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<DiscovererInfocxx . . $ Gst/DiscovererInfo#>(reinterpret_cast<DiscovererInfocxx . . $ Gst/DiscovererInfo#*>(gst_discoverer_info_newcxx . . $ Gst/gst_discoverer_info_new(6d251773b6d0cd54).())); |
| 101 | } |
| 102 | |
| 103 | void DiscovererInfocxx . . $ Gst/DiscovererInfo#::referencecxx . . $ Gst/DiscovererInfo#reference(83f5f38750778ac8).() const |
| 104 | { |
| 105 | // See the comment at the top of this file, if you want to know why the cast works. |
| 106 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(reinterpret_cast<GstDiscovererInfo*>(const_cast<DiscovererInfo*>(this))); |
| 107 | } |
| 108 | |
| 109 | void DiscovererInfocxx . . $ Gst/DiscovererInfo#::unreferencecxx . . $ Gst/DiscovererInfo#unreference(83f5f38750778ac8).() const |
| 110 | { |
| 111 | // See the comment at the top of this file, if you want to know why the cast works. |
| 112 | gst_discoverer_info_unrefcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:285:9`!(reinterpret_cast<GstDiscovererInfo*>(const_cast<DiscovererInfo*>(this))); |
| 113 | } |
| 114 | |
| 115 | GstDiscovererInfocxx . . $ GstDiscovererInfo#* DiscovererInfocxx . . $ Gst/DiscovererInfo#::gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).() |
| 116 | { |
| 117 | // See the comment at the top of this file, if you want to know why the cast works. |
| 118 | return reinterpret_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(this); |
| 119 | } |
| 120 | |
| 121 | const GstDiscovererInfocxx . . $ GstDiscovererInfo#* DiscovererInfocxx . . $ Gst/DiscovererInfo#::gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).() const |
| 122 | { |
| 123 | // See the comment at the top of this file, if you want to know why the cast works. |
| 124 | return reinterpret_cast<const GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(this); |
| 125 | } |
| 126 | |
| 127 | GstDiscovererInfocxx . . $ GstDiscovererInfo#* DiscovererInfocxx . . $ Gst/DiscovererInfo#::gobj_copycxx . . $ Gst/DiscovererInfo#gobj_copy(8e4258131a21888e).() const |
| 128 | { |
| 129 | // See the comment at the top of this file, if you want to know why the cast works. |
| 130 | const auto gobject = reinterpret_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(const_cast<DiscovererInfocxx . . $ Gst/DiscovererInfo#*>(this)); |
| 131 | g_object_refcxx . . $ `<external>/1341695927569185362/gobject.h:533:9`!(gobject); |
| 132 | return gobject; |
| 133 | } |
| 134 | |
| 135 | |
| 136 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererInfocxx . . $ Gst/DiscovererInfo#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::copycxx . . $ Gst/DiscovererInfo#copy(619abb75422ada2).() const |
| 137 | { |
| 138 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c5931edd97aca4ad).(gst_discoverer_info_copy(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))); |
| 139 | } |
| 140 | |
| 141 | ClockTimecxx . . $ Gst/ClockTime# DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_durationcxx . . $ Gst/DiscovererInfo#get_duration(fe4d2d262d4164a8).() const |
| 142 | { |
| 143 | return ((ClockTimecxx . . $ Gst/ClockTime#)(gst_discoverer_info_get_duration(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).())))); |
| 144 | } |
| 145 | |
| 146 | Structurecxx . . $ Gst/Structure# DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_misccxx . . $ Gst/DiscovererInfo#get_misc(65062218a0489aeb).() const |
| 147 | { |
| 148 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(gst_discoverer_info_get_misc(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), true); |
| 149 | } |
| 150 | |
| 151 | DiscovererResultcxx . . $ Gst/DiscovererResult# DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_resultcxx . . $ Gst/DiscovererInfo#get_result(5cf14cb82e0fbc21).() const |
| 152 | { |
| 153 | return ((DiscovererResultcxx . . $ Gst/DiscovererResult#)(gst_discoverer_info_get_result(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).())))); |
| 154 | } |
| 155 | |
| 156 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_stream_infocxx . . $ Gst/DiscovererInfo#get_stream_info(42f17890d63766c8).() |
| 157 | { |
| 158 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7607d5c8a422d200).(gst_discoverer_info_get_stream_info(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())); |
| 159 | } |
| 160 | |
| 161 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_stream_infocxx . . $ Gst/DiscovererInfo#get_stream_info(718a58669a0530d8).() const |
| 162 | { |
| 163 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<DiscovererInfocxx . . $ Gst/DiscovererInfo#*>(this)->get_stream_infocxx . . $ Gst/DiscovererInfo#get_stream_info(42f17890d63766c8).(); |
| 164 | } |
| 165 | |
| 166 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_stream_listcxx . . $ Gst/DiscovererInfo#get_stream_list(7aab1a5a28d9ac8).() |
| 167 | { |
| 168 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_stream_list(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 169 | } |
| 170 | |
| 171 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_stream_listcxx . . $ Gst/DiscovererInfo#get_stream_list(bff90d518997fa8d).() const |
| 172 | { |
| 173 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_stream_list(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 174 | } |
| 175 | |
| 176 | Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList# DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_tagscxx . . $ Gst/DiscovererInfo#get_tags(889ac80de6f12e04).() const |
| 177 | { |
| 178 | return Glibcxx . . $ Glib/::wrap_taglistcxx . . $ Glib/wrap_taglist(ca8db306bf7a0297).(const_cast<GstTagList*>(gst_discoverer_info_get_tags(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), true); |
| 179 | } |
| 180 | |
| 181 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_uricxx . . $ Gst/DiscovererInfo#get_uri(fff0f585954e56f3).() const |
| 182 | { |
| 183 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_discoverer_info_get_uri(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))); |
| 184 | } |
| 185 | |
| 186 | bool DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_seekablecxx . . $ Gst/DiscovererInfo#get_seekable(50ce9a9e25b4a850).() const |
| 187 | { |
| 188 | return gst_discoverer_info_get_seekable(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).())); |
| 189 | } |
| 190 | |
| 191 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_audio_streamscxx . . $ Gst/DiscovererInfo#get_audio_streams(7aab1a5a28d9ac8).() |
| 192 | { |
| 193 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_audio_streams(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 194 | } |
| 195 | |
| 196 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_audio_streamscxx . . $ Gst/DiscovererInfo#get_audio_streams(bff90d518997fa8d).() const |
| 197 | { |
| 198 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_audio_streams(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 199 | } |
| 200 | |
| 201 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_container_streamscxx . . $ Gst/DiscovererInfo#get_container_streams(7aab1a5a28d9ac8).() |
| 202 | { |
| 203 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_container_streams(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 204 | } |
| 205 | |
| 206 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_container_streamscxx . . $ Gst/DiscovererInfo#get_container_streams(bff90d518997fa8d).() const |
| 207 | { |
| 208 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_container_streams(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 209 | } |
| 210 | |
| 211 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_streamscxx . . $ Gst/DiscovererInfo#get_streams(68056efeac55cf5a).(GType streamtype) |
| 212 | { |
| 213 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_streams(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).(), streamtype)), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 214 | } |
| 215 | |
| 216 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_streamscxx . . $ Gst/DiscovererInfo#get_streams(7f0e8639dabc58eb).(GType streamtype) const |
| 217 | { |
| 218 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_streams(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()), streamtype)), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 219 | } |
| 220 | |
| 221 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_video_streamscxx . . $ Gst/DiscovererInfo#get_video_streams(7aab1a5a28d9ac8).() |
| 222 | { |
| 223 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_video_streams(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 224 | } |
| 225 | |
| 226 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_video_streamscxx . . $ Gst/DiscovererInfo#get_video_streams(bff90d518997fa8d).() const |
| 227 | { |
| 228 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_video_streams(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 229 | } |
| 230 | |
| 231 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_subtitle_streamscxx . . $ Gst/DiscovererInfo#get_subtitle_streams(7aab1a5a28d9ac8).() |
| 232 | { |
| 233 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_subtitle_streams(gobjcxx . . $ Gst/DiscovererInfo#gobj(6d251773b6d0cd54).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 234 | } |
| 235 | |
| 236 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_subtitle_streamscxx . . $ Gst/DiscovererInfo#get_subtitle_streams(bff90d518997fa8d).() const |
| 237 | { |
| 238 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_info_get_subtitle_streams(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 239 | } |
| 240 | |
| 241 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_missing_elements_installer_detailscxx . . $ Gst/DiscovererInfo#get_missing_elements_installer_details(875676e3b2759068).() const |
| 242 | { |
| 243 | return Glibcxx . . $ Glib/::ArrayHandlercxx . . $ Glib/ArrayHandler#<Glib::ustring>::array_to_vectorcxx . . $ Glib/ArrayHandler#array_to_vector(29018dfb1d4a3af1).(gst_discoverer_info_get_missing_elements_installer_details(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 244 | } |
| 245 | |
| 246 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#> DiscovererInfocxx . . $ Gst/DiscovererInfo#::get_toccxx . . $ Gst/DiscovererInfo#get_toc(c0db9e3169f78816).() const |
| 247 | { |
| 248 | return Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(a2b812a7994713a8).(const_cast<GstToc*>(gst_discoverer_info_get_toc(const_cast<GstDiscovererInfocxx . . $ GstDiscovererInfo#*>(gobjcxx . . $ Gst/DiscovererInfo#gobj(f7e7899c7283daa9).())))); |
| 249 | } |
| 250 | |
| 251 | |
| 252 | } // namespace Gst |
| 253 | |
| 254 | |
| 255 | /* Why reinterpret_cast<DiscovererStreamInfo*>(gobject) is needed: |
| 256 | * |
| 257 | * A DiscovererStreamInfo instance is in fact always a GstDiscovererStreamInfo instance. |
| 258 | * Unfortunately, GstDiscovererStreamInfo cannot be a member of DiscovererStreamInfo, |
| 259 | * because it is an opaque struct. Also, the C interface does not provide |
| 260 | * any hooks to install a destroy notification handler, thus we cannot |
| 261 | * wrap it dynamically either. |
| 262 | * |
| 263 | * The cast works because DiscovererStreamInfo does not have any member data, and |
| 264 | * it is impossible to derive from it. This is ensured by using final on the |
| 265 | * class and by using = delete on the default constructor. |
| 266 | */ |
| 267 | |
| 268 | namespace Glibcxx . . $ Glib/ |
| 269 | { |
| 270 | |
| 271 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> wrapcxx . . $ Glib/wrap(7607d5c8a422d200).(GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#* object, bool take_copy) |
| 272 | { |
| 273 | if(take_copy && object) |
| 274 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(object); |
| 275 | |
| 276 | // See the comment at the top of this file, if you want to know why the cast works. |
| 277 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#>(reinterpret_cast<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#*>(object)); |
| 278 | } |
| 279 | |
| 280 | } // namespace Glib |
| 281 | |
| 282 | |
| 283 | namespace Gstcxx . . $ Gst/ |
| 284 | { |
| 285 | |
| 286 | |
| 287 | void DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::referencecxx . . $ Gst/DiscovererStreamInfo#reference(83f5f38750778ac8).() const |
| 288 | { |
| 289 | // See the comment at the top of this file, if you want to know why the cast works. |
| 290 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(reinterpret_cast<GstDiscovererStreamInfo*>(const_cast<DiscovererStreamInfo*>(this))); |
| 291 | } |
| 292 | |
| 293 | void DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::unreferencecxx . . $ Gst/DiscovererStreamInfo#unreference(83f5f38750778ac8).() const |
| 294 | { |
| 295 | // See the comment at the top of this file, if you want to know why the cast works. |
| 296 | gst_discoverer_stream_info_unrefcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:61:9`!(reinterpret_cast<GstDiscovererStreamInfo*>(const_cast<DiscovererStreamInfo*>(this))); |
| 297 | } |
| 298 | |
| 299 | GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#* DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(d12dae4a393a1bf6).() |
| 300 | { |
| 301 | // See the comment at the top of this file, if you want to know why the cast works. |
| 302 | return reinterpret_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(this); |
| 303 | } |
| 304 | |
| 305 | const GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#* DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).() const |
| 306 | { |
| 307 | // See the comment at the top of this file, if you want to know why the cast works. |
| 308 | return reinterpret_cast<const GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(this); |
| 309 | } |
| 310 | |
| 311 | GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#* DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::gobj_copycxx . . $ Gst/DiscovererStreamInfo#gobj_copy(f7658bc3b729a437).() const |
| 312 | { |
| 313 | // See the comment at the top of this file, if you want to know why the cast works. |
| 314 | const auto gobject = reinterpret_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(const_cast<DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#*>(this)); |
| 315 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(gobject); |
| 316 | return gobject; |
| 317 | } |
| 318 | |
| 319 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_capscxx . . $ Gst/DiscovererStreamInfo#get_caps(22811ab509ec2061).() |
| 320 | { |
| 321 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_discoverer_stream_info_get_caps(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(d12dae4a393a1bf6).())); |
| 322 | } |
| 323 | |
| 324 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_capscxx . . $ Gst/DiscovererStreamInfo#get_caps(b365bf96c1803900).() const |
| 325 | { |
| 326 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#*>(this)->get_capscxx . . $ Gst/DiscovererStreamInfo#get_caps(22811ab509ec2061).(); |
| 327 | } |
| 328 | |
| 329 | Structurecxx . . $ Gst/Structure# DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_misccxx . . $ Gst/DiscovererStreamInfo#get_misc(65062218a0489aeb).() const |
| 330 | { |
| 331 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(gst_discoverer_stream_info_get_misc(const_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).()))), true); |
| 332 | } |
| 333 | |
| 334 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_nextcxx . . $ Gst/DiscovererStreamInfo#get_next(42f17890d63766c8).() |
| 335 | { |
| 336 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7607d5c8a422d200).(gst_discoverer_stream_info_get_next(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(d12dae4a393a1bf6).())); |
| 337 | } |
| 338 | |
| 339 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_nextcxx . . $ Gst/DiscovererStreamInfo#get_next(718a58669a0530d8).() const |
| 340 | { |
| 341 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#*>(this)->get_nextcxx . . $ Gst/DiscovererStreamInfo#get_next(42f17890d63766c8).(); |
| 342 | } |
| 343 | |
| 344 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_previouscxx . . $ Gst/DiscovererStreamInfo#get_previous(42f17890d63766c8).() |
| 345 | { |
| 346 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7607d5c8a422d200).(gst_discoverer_stream_info_get_previous(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(d12dae4a393a1bf6).())); |
| 347 | } |
| 348 | |
| 349 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_previouscxx . . $ Gst/DiscovererStreamInfo#get_previous(56ad12d090749bed).() const |
| 350 | { |
| 351 | return const_cast<DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#*>(this)->get_previouscxx . . $ Gst/DiscovererStreamInfo#get_previous(42f17890d63766c8).(); |
| 352 | } |
| 353 | |
| 354 | Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList# DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_tagscxx . . $ Gst/DiscovererStreamInfo#get_tags(889ac80de6f12e04).() const |
| 355 | { |
| 356 | return Glibcxx . . $ Glib/::wrap_taglistcxx . . $ Glib/wrap_taglist(ca8db306bf7a0297).(const_cast<GstTagList*>(gst_discoverer_stream_info_get_tags(const_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).()))), true); |
| 357 | } |
| 358 | |
| 359 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_stream_type_nickcxx . . $ Gst/DiscovererStreamInfo#get_stream_type_nick(fff0f585954e56f3).() const |
| 360 | { |
| 361 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_discoverer_stream_info_get_stream_type_nick(const_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).()))); |
| 362 | } |
| 363 | |
| 364 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_stream_idcxx . . $ Gst/DiscovererStreamInfo#get_stream_id(fff0f585954e56f3).() const |
| 365 | { |
| 366 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_discoverer_stream_info_get_stream_id(const_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).()))); |
| 367 | } |
| 368 | |
| 369 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#> DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#::get_toccxx . . $ Gst/DiscovererStreamInfo#get_toc(c0db9e3169f78816).() const |
| 370 | { |
| 371 | return Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(a2b812a7994713a8).(const_cast<GstToc*>(gst_discoverer_stream_info_get_toc(const_cast<GstDiscovererStreamInfocxx . . $ GstDiscovererStreamInfo#*>(gobjcxx . . $ Gst/DiscovererStreamInfo#gobj(6c8e2df3eee1bcee).())))); |
| 372 | } |
| 373 | |
| 374 | |
| 375 | } // namespace Gst |
| 376 | |
| 377 | |
| 378 | /* Why reinterpret_cast<DiscovererContainerInfo*>(gobject) is needed: |
| 379 | * |
| 380 | * A DiscovererContainerInfo instance is in fact always a GstDiscovererContainerInfo instance. |
| 381 | * Unfortunately, GstDiscovererContainerInfo cannot be a member of DiscovererContainerInfo, |
| 382 | * because it is an opaque struct. Also, the C interface does not provide |
| 383 | * any hooks to install a destroy notification handler, thus we cannot |
| 384 | * wrap it dynamically either. |
| 385 | * |
| 386 | * The cast works because DiscovererContainerInfo does not have any member data, and |
| 387 | * it is impossible to derive from it. This is ensured by using final on the |
| 388 | * class and by using = delete on the default constructor. |
| 389 | */ |
| 390 | |
| 391 | namespace Glibcxx . . $ Glib/ |
| 392 | { |
| 393 | |
| 394 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#> wrapcxx . . $ Glib/wrap(3c82574ab1d2ddb).(GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#* object, bool take_copy) |
| 395 | { |
| 396 | if(take_copy && object) |
| 397 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(object); |
| 398 | |
| 399 | // See the comment at the top of this file, if you want to know why the cast works. |
| 400 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#>(reinterpret_cast<Gstcxx . . $ Gst/::DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#*>(object)); |
| 401 | } |
| 402 | |
| 403 | } // namespace Glib |
| 404 | |
| 405 | |
| 406 | namespace Gstcxx . . $ Gst/ |
| 407 | { |
| 408 | |
| 409 | |
| 410 | void DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::referencecxx . . $ Gst/DiscovererContainerInfo#reference(83f5f38750778ac8).() const |
| 411 | { |
| 412 | // See the comment at the top of this file, if you want to know why the cast works. |
| 413 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(reinterpret_cast<GstDiscovererContainerInfo*>(const_cast<DiscovererContainerInfo*>(this))); |
| 414 | } |
| 415 | |
| 416 | void DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::unreferencecxx . . $ Gst/DiscovererContainerInfo#unreference(83f5f38750778ac8).() const |
| 417 | { |
| 418 | // See the comment at the top of this file, if you want to know why the cast works. |
| 419 | gst_discoverer_stream_info_unrefcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:61:9`!(reinterpret_cast<GstDiscovererContainerInfo*>(const_cast<DiscovererContainerInfo*>(this))); |
| 420 | } |
| 421 | |
| 422 | GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#* DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::gobjcxx . . $ Gst/DiscovererContainerInfo#gobj(31668ec0d2f66c05).() |
| 423 | { |
| 424 | // See the comment at the top of this file, if you want to know why the cast works. |
| 425 | return reinterpret_cast<GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#*>(this); |
| 426 | } |
| 427 | |
| 428 | const GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#* DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::gobjcxx . . $ Gst/DiscovererContainerInfo#gobj(f8c2186f6b8d45c5).() const |
| 429 | { |
| 430 | // See the comment at the top of this file, if you want to know why the cast works. |
| 431 | return reinterpret_cast<const GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#*>(this); |
| 432 | } |
| 433 | |
| 434 | GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#* DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::gobj_copycxx . . $ Gst/DiscovererContainerInfo#gobj_copy(7c08a8c97d23c02f).() const |
| 435 | { |
| 436 | // See the comment at the top of this file, if you want to know why the cast works. |
| 437 | const auto gobject = reinterpret_cast<GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#*>(const_cast<DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#*>(this)); |
| 438 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(gobject); |
| 439 | return gobject; |
| 440 | } |
| 441 | |
| 442 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::get_streamscxx . . $ Gst/DiscovererContainerInfo#get_streams(7aab1a5a28d9ac8).() |
| 443 | { |
| 444 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_container_info_get_streams(gobjcxx . . $ Gst/DiscovererContainerInfo#gobj(31668ec0d2f66c05).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 445 | } |
| 446 | |
| 447 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::DiscovererStreamInfocxx . . $ Gst/DiscovererStreamInfo#> > DiscovererContainerInfocxx . . $ Gst/DiscovererContainerInfo#::get_streamscxx . . $ Gst/DiscovererContainerInfo#get_streams(bff90d518997fa8d).() const |
| 448 | { |
| 449 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<const Gst::DiscovererStreamInfo> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_discoverer_container_info_get_streams(const_cast<GstDiscovererContainerInfocxx . . $ GstDiscovererContainerInfo#*>(gobjcxx . . $ Gst/DiscovererContainerInfo#gobj(f8c2186f6b8d45c5).()))), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 450 | } |
| 451 | |
| 452 | |
| 453 | } // namespace Gst |
| 454 | |
| 455 | |
| 456 | /* Why reinterpret_cast<DiscovererAudioInfo*>(gobject) is needed: |
| 457 | * |
| 458 | * A DiscovererAudioInfo instance is in fact always a GstDiscovererAudioInfo instance. |
| 459 | * Unfortunately, GstDiscovererAudioInfo cannot be a member of DiscovererAudioInfo, |
| 460 | * because it is an opaque struct. Also, the C interface does not provide |
| 461 | * any hooks to install a destroy notification handler, thus we cannot |
| 462 | * wrap it dynamically either. |
| 463 | * |
| 464 | * The cast works because DiscovererAudioInfo does not have any member data, and |
| 465 | * it is impossible to derive from it. This is ensured by using final on the |
| 466 | * class and by using = delete on the default constructor. |
| 467 | */ |
| 468 | |
| 469 | namespace Glibcxx . . $ Glib/ |
| 470 | { |
| 471 | |
| 472 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#> wrapcxx . . $ Glib/wrap(3871878a6a88952b).(GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#* object, bool take_copy) |
| 473 | { |
| 474 | if(take_copy && object) |
| 475 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(object); |
| 476 | |
| 477 | // See the comment at the top of this file, if you want to know why the cast works. |
| 478 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#>(reinterpret_cast<Gstcxx . . $ Gst/::DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#*>(object)); |
| 479 | } |
| 480 | |
| 481 | } // namespace Glib |
| 482 | |
| 483 | |
| 484 | namespace Gstcxx . . $ Gst/ |
| 485 | { |
| 486 | |
| 487 | |
| 488 | void DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::referencecxx . . $ Gst/DiscovererAudioInfo#reference(83f5f38750778ac8).() const |
| 489 | { |
| 490 | // See the comment at the top of this file, if you want to know why the cast works. |
| 491 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(reinterpret_cast<GstDiscovererAudioInfo*>(const_cast<DiscovererAudioInfo*>(this))); |
| 492 | } |
| 493 | |
| 494 | void DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::unreferencecxx . . $ Gst/DiscovererAudioInfo#unreference(83f5f38750778ac8).() const |
| 495 | { |
| 496 | // See the comment at the top of this file, if you want to know why the cast works. |
| 497 | gst_discoverer_stream_info_unrefcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:61:9`!(reinterpret_cast<GstDiscovererAudioInfo*>(const_cast<DiscovererAudioInfo*>(this))); |
| 498 | } |
| 499 | |
| 500 | GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#* DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(31fa5bbdfca4c105).() |
| 501 | { |
| 502 | // See the comment at the top of this file, if you want to know why the cast works. |
| 503 | return reinterpret_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(this); |
| 504 | } |
| 505 | |
| 506 | const GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#* DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).() const |
| 507 | { |
| 508 | // See the comment at the top of this file, if you want to know why the cast works. |
| 509 | return reinterpret_cast<const GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(this); |
| 510 | } |
| 511 | |
| 512 | GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#* DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::gobj_copycxx . . $ Gst/DiscovererAudioInfo#gobj_copy(1c2043604f9e3c35).() const |
| 513 | { |
| 514 | // See the comment at the top of this file, if you want to know why the cast works. |
| 515 | const auto gobject = reinterpret_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(const_cast<DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#*>(this)); |
| 516 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(gobject); |
| 517 | return gobject; |
| 518 | } |
| 519 | |
| 520 | guint DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_bitratecxx . . $ Gst/DiscovererAudioInfo#get_bitrate(ddd8539a2fcdd4ce).() const |
| 521 | { |
| 522 | return gst_discoverer_audio_info_get_bitrate(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).())); |
| 523 | } |
| 524 | |
| 525 | guint DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_channelscxx . . $ Gst/DiscovererAudioInfo#get_channels(ddd8539a2fcdd4ce).() const |
| 526 | { |
| 527 | return gst_discoverer_audio_info_get_channels(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).())); |
| 528 | } |
| 529 | |
| 530 | guint DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_depthcxx . . $ Gst/DiscovererAudioInfo#get_depth(ddd8539a2fcdd4ce).() const |
| 531 | { |
| 532 | return gst_discoverer_audio_info_get_depth(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).())); |
| 533 | } |
| 534 | |
| 535 | guint DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_max_bitratecxx . . $ Gst/DiscovererAudioInfo#get_max_bitrate(ddd8539a2fcdd4ce).() const |
| 536 | { |
| 537 | return gst_discoverer_audio_info_get_max_bitrate(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).())); |
| 538 | } |
| 539 | |
| 540 | guint DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_sample_ratecxx . . $ Gst/DiscovererAudioInfo#get_sample_rate(ddd8539a2fcdd4ce).() const |
| 541 | { |
| 542 | return gst_discoverer_audio_info_get_sample_rate(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).())); |
| 543 | } |
| 544 | |
| 545 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# DiscovererAudioInfocxx . . $ Gst/DiscovererAudioInfo#::get_languagecxx . . $ Gst/DiscovererAudioInfo#get_language(fff0f585954e56f3).() const |
| 546 | { |
| 547 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_discoverer_audio_info_get_language(const_cast<GstDiscovererAudioInfocxx . . $ GstDiscovererAudioInfo#*>(gobjcxx . . $ Gst/DiscovererAudioInfo#gobj(542601ec041a4d60).()))); |
| 548 | } |
| 549 | |
| 550 | |
| 551 | } // namespace Gst |
| 552 | |
| 553 | |
| 554 | /* Why reinterpret_cast<DiscovererVideoInfo*>(gobject) is needed: |
| 555 | * |
| 556 | * A DiscovererVideoInfo instance is in fact always a GstDiscovererVideoInfo instance. |
| 557 | * Unfortunately, GstDiscovererVideoInfo cannot be a member of DiscovererVideoInfo, |
| 558 | * because it is an opaque struct. Also, the C interface does not provide |
| 559 | * any hooks to install a destroy notification handler, thus we cannot |
| 560 | * wrap it dynamically either. |
| 561 | * |
| 562 | * The cast works because DiscovererVideoInfo does not have any member data, and |
| 563 | * it is impossible to derive from it. This is ensured by using final on the |
| 564 | * class and by using = delete on the default constructor. |
| 565 | */ |
| 566 | |
| 567 | namespace Glibcxx . . $ Glib/ |
| 568 | { |
| 569 | |
| 570 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#> wrapcxx . . $ Glib/wrap(47af938a2ce45142).(GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#* object, bool take_copy) |
| 571 | { |
| 572 | if(take_copy && object) |
| 573 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(object); |
| 574 | |
| 575 | // See the comment at the top of this file, if you want to know why the cast works. |
| 576 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#>(reinterpret_cast<Gstcxx . . $ Gst/::DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#*>(object)); |
| 577 | } |
| 578 | |
| 579 | } // namespace Glib |
| 580 | |
| 581 | |
| 582 | namespace Gstcxx . . $ Gst/ |
| 583 | { |
| 584 | |
| 585 | |
| 586 | void DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::referencecxx . . $ Gst/DiscovererVideoInfo#reference(83f5f38750778ac8).() const |
| 587 | { |
| 588 | // See the comment at the top of this file, if you want to know why the cast works. |
| 589 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(reinterpret_cast<GstDiscovererVideoInfo*>(const_cast<DiscovererVideoInfo*>(this))); |
| 590 | } |
| 591 | |
| 592 | void DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::unreferencecxx . . $ Gst/DiscovererVideoInfo#unreference(83f5f38750778ac8).() const |
| 593 | { |
| 594 | // See the comment at the top of this file, if you want to know why the cast works. |
| 595 | gst_discoverer_stream_info_unrefcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:61:9`!(reinterpret_cast<GstDiscovererVideoInfo*>(const_cast<DiscovererVideoInfo*>(this))); |
| 596 | } |
| 597 | |
| 598 | GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#* DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(362ea5b06cb5b5e0).() |
| 599 | { |
| 600 | // See the comment at the top of this file, if you want to know why the cast works. |
| 601 | return reinterpret_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(this); |
| 602 | } |
| 603 | |
| 604 | const GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#* DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).() const |
| 605 | { |
| 606 | // See the comment at the top of this file, if you want to know why the cast works. |
| 607 | return reinterpret_cast<const GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(this); |
| 608 | } |
| 609 | |
| 610 | GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#* DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::gobj_copycxx . . $ Gst/DiscovererVideoInfo#gobj_copy(7e7ac2ead7ce38c5).() const |
| 611 | { |
| 612 | // See the comment at the top of this file, if you want to know why the cast works. |
| 613 | const auto gobject = reinterpret_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(const_cast<DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#*>(this)); |
| 614 | gst_discoverer_stream_info_refcxx . . $ `<external>/8989778625990710708/gstdiscoverer.h:60:9`!(gobject); |
| 615 | return gobject; |
| 616 | } |
| 617 | |
| 618 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_bitratecxx . . $ Gst/DiscovererVideoInfo#get_bitrate(ddd8539a2fcdd4ce).() const |
| 619 | { |
| 620 | return gst_discoverer_video_info_get_bitrate(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 621 | } |
| 622 | |
| 623 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_depthcxx . . $ Gst/DiscovererVideoInfo#get_depth(ddd8539a2fcdd4ce).() const |
| 624 | { |
| 625 | return gst_discoverer_video_info_get_depth(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 626 | } |
| 627 | |
| 628 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_framerate_denomcxx . . $ Gst/DiscovererVideoInfo#get_framerate_denom(ddd8539a2fcdd4ce).() const |
| 629 | { |
| 630 | return gst_discoverer_video_info_get_framerate_denom(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 631 | } |
| 632 | |
| 633 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_framerate_numcxx . . $ Gst/DiscovererVideoInfo#get_framerate_num(ddd8539a2fcdd4ce).() const |
| 634 | { |
| 635 | return gst_discoverer_video_info_get_framerate_num(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 636 | } |
| 637 | |
| 638 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_heightcxx . . $ Gst/DiscovererVideoInfo#get_height(ddd8539a2fcdd4ce).() const |
| 639 | { |
| 640 | return gst_discoverer_video_info_get_height(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 641 | } |
| 642 | |
| 643 | bool DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::is_interlacedcxx . . $ Gst/DiscovererVideoInfo#is_interlaced(50ce9a9e25b4a850).() const |
| 644 | { |
| 645 | return gst_discoverer_video_info_is_interlaced(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 646 | } |
| 647 | |
| 648 | bool DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::is_imagecxx . . $ Gst/DiscovererVideoInfo#is_image(50ce9a9e25b4a850).() const |
| 649 | { |
| 650 | return gst_discoverer_video_info_is_image(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 651 | } |
| 652 | |
| 653 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_max_bitratecxx . . $ Gst/DiscovererVideoInfo#get_max_bitrate(ddd8539a2fcdd4ce).() const |
| 654 | { |
| 655 | return gst_discoverer_video_info_get_max_bitrate(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 656 | } |
| 657 | |
| 658 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_par_denomcxx . . $ Gst/DiscovererVideoInfo#get_par_denom(ddd8539a2fcdd4ce).() const |
| 659 | { |
| 660 | return gst_discoverer_video_info_get_par_denom(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 661 | } |
| 662 | |
| 663 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_par_numcxx . . $ Gst/DiscovererVideoInfo#get_par_num(ddd8539a2fcdd4ce).() const |
| 664 | { |
| 665 | return gst_discoverer_video_info_get_par_num(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 666 | } |
| 667 | |
| 668 | guint DiscovererVideoInfocxx . . $ Gst/DiscovererVideoInfo#::get_widthcxx . . $ Gst/DiscovererVideoInfo#get_width(ddd8539a2fcdd4ce).() const |
| 669 | { |
| 670 | return gst_discoverer_video_info_get_width(const_cast<GstDiscovererVideoInfocxx . . $ GstDiscovererVideoInfo#*>(gobjcxx . . $ Gst/DiscovererVideoInfo#gobj(8ab23ec5ee0c30e3).())); |
| 671 | } |
| 672 | |
| 673 | |
| 674 | } // namespace Gst |
| 675 | |
| 676 |