| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/mapinfo.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/mapinfo.h>cxx . . $ `<file>/gstreamer/gstreamermm/mapinfo.h`/ |
| 7 | #include <gstreamermm/private/mapinfo_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/mapinfo_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2013-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 <gstreamermm/memory.h>cxx . . $ `<file>/gstreamer/gstreamermm/memory.h`/ |
| 30 | |
| 31 | namespace Gstcxx . . $ Gst/ |
| 32 | { |
| 33 | |
| 34 | static GstMapInfo empty_map_infocxx . . $ Gst/empty_map_info(ad5151e2675c3957).() |
| 35 | { |
| 36 | // TODO: GST_MAP_INFO_INIT has been fixed in the further GStreamer version (1.8.x) |
| 37 | static GstMapInfo info = { NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, (GstMapFlags) 0, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, 0, 0, { NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!}, {NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!}}; |
| 38 | return info; |
| 39 | } |
| 40 | |
| 41 | MapInfocxx . . $ Gst/MapInfo#::MapInfocxx . . $ Gst/MapInfo#MapInfo(49f6e7a06ebc5aa8).() |
| 42 | : m_speccxx . . $ Gst/MapInfo#m_spec.(empty_map_infocxx . . $ Gst/empty_map_info(ad5151e2675c3957).()) |
| 43 | { |
| 44 | } |
| 45 | |
| 46 | MapInfocxx . . $ Gst/MapInfo#::MapInfocxx . . $ Gst/MapInfo#MapInfo(8266dafa67f2b500).(const GstMapInfo& castitem) |
| 47 | : m_speccxx . . $ Gst/MapInfo#m_spec.(castitem) |
| 48 | { |
| 49 | } |
| 50 | |
| 51 | MapInfocxx . . $ Gst/MapInfo#::MapInfocxx . . $ Gst/MapInfo#MapInfo(f451100eef9d0158).(MapInfocxx . . $ Gst/MapInfo#&& other) |
| 52 | { |
| 53 | m_speccxx . . $ Gst/MapInfo#m_spec. = other.m_speccxx . . $ Gst/MapInfo#m_spec.; |
| 54 | other.m_speccxx . . $ Gst/MapInfo#m_spec. = empty_map_infocxx . . $ Gst/empty_map_info(ad5151e2675c3957).(); |
| 55 | } |
| 56 | |
| 57 | MapInfocxx . . $ Gst/MapInfo#& MapInfocxx . . $ Gst/MapInfo#::operatorcxx . . $ Gst/MapInfo#`operator=`(1b17205dded1eca1).=(MapInfocxx . . $ Gst/MapInfo#&& other) |
| 58 | { |
| 59 | m_speccxx . . $ Gst/MapInfo#m_spec. = other.m_speccxx . . $ Gst/MapInfo#m_spec.; |
| 60 | other.m_speccxx . . $ Gst/MapInfo#m_spec. = empty_map_infocxx . . $ Gst/empty_map_info(ad5151e2675c3957).(); |
| 61 | return *this; |
| 62 | } |
| 63 | |
| 64 | } |
| 65 | |
| 66 | |
| 67 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/mapinfo.cc`/ |
| 68 | { |
| 69 | } // anonymous namespace |
| 70 | |
| 71 | // static |
| 72 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::MapFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 73 | { |
| 74 | return gst_map_flags_get_type(); |
| 75 | } |
| 76 | |
| 77 | |
| 78 | namespace Gstcxx . . $ Gst/ |
| 79 | { |
| 80 | |
| 81 | |
| 82 | MapFlagscxx . . $ Gst/MapFlags# MapInfocxx . . $ Gst/MapInfo#::get_flagscxx . . $ Gst/MapInfo#get_flags(9ab410092a6e32ca).() const |
| 83 | { |
| 84 | return ((MapFlagscxx . . $ Gst/MapFlags#)(gobjcxx . . $ Gst/MapInfo#gobj(64acb83b9693094a).()->flags)); |
| 85 | } |
| 86 | |
| 87 | guint8* MapInfocxx . . $ Gst/MapInfo#::get_datacxx . . $ Gst/MapInfo#get_data(37d8967d10cb1e7b).() |
| 88 | { |
| 89 | return gobjcxx . . $ Gst/MapInfo#gobj(77500a54d235baf).()->data; |
| 90 | } |
| 91 | |
| 92 | const guint8* MapInfocxx . . $ Gst/MapInfo#::get_datacxx . . $ Gst/MapInfo#get_data(7eb257f306f79f97).() const |
| 93 | { |
| 94 | return gobjcxx . . $ Gst/MapInfo#gobj(64acb83b9693094a).()->data; |
| 95 | } |
| 96 | |
| 97 | gsize MapInfocxx . . $ Gst/MapInfo#::get_maxsizecxx . . $ Gst/MapInfo#get_maxsize(fe4d2d262d4164a8).() const |
| 98 | { |
| 99 | return gobjcxx . . $ Gst/MapInfo#gobj(64acb83b9693094a).()->maxsize; |
| 100 | } |
| 101 | |
| 102 | gsize MapInfocxx . . $ Gst/MapInfo#::get_sizecxx . . $ Gst/MapInfo#get_size(fe4d2d262d4164a8).() const |
| 103 | { |
| 104 | return gobjcxx . . $ Gst/MapInfo#gobj(64acb83b9693094a).()->size; |
| 105 | } |
| 106 | |
| 107 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Memorycxx . . $ Gst/Memory#> MapInfocxx . . $ Gst/MapInfo#::get_memorycxx . . $ Gst/MapInfo#get_memory(955135cc9c3888a).() |
| 108 | { |
| 109 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Memorycxx . . $ Gst/Memory#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(61e990c27e905542).(gobjcxx . . $ Gst/MapInfo#gobj(77500a54d235baf).()->memory)); |
| 110 | |
| 111 | if(ref_ptr) |
| 112 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Memory#reference(83f5f38750778ac8).(); |
| 113 | |
| 114 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 115 | } |
| 116 | |
| 117 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Memorycxx . . $ Gst/Memory#> MapInfocxx . . $ Gst/MapInfo#::get_memorycxx . . $ Gst/MapInfo#get_memory(7bc160d1054d73e3).() const |
| 118 | { |
| 119 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Memorycxx . . $ Gst/Memory#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(61e990c27e905542).(gobjcxx . . $ Gst/MapInfo#gobj(64acb83b9693094a).()->memory)); |
| 120 | |
| 121 | if(ref_ptr) |
| 122 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Memory#reference(83f5f38750778ac8).(); |
| 123 | |
| 124 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 125 | } |
| 126 | |
| 127 | |
| 128 | } // namespace Gst |
| 129 | |
| 130 |