Debian Codegraph @

gstreamer/gstreamermm/capsfeatures.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/capsfeatures.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/capsfeatures.h>cxx . . $ `<file>/gstreamer/gstreamermm/capsfeatures.h`/
7 #include <gstreamermm/private/capsfeatures_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/capsfeatures_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2014-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 namespace Gstcxx . . $ Gst/
30 {
31 CapsFeaturescxx . . $ Gst/CapsFeatures#::CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(7a11950f40d953d7).(stdcxx . . $ std/::initializer_listcxx . . $ std/initializer_list#<Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#> features)
32 : CapsFeaturescxx . . $ Gst/CapsFeatures#()
33 {
34 for (auto feature : features)
35 {
36 gst_caps_features_add(gobject_cxx . . $ Gst/CapsFeatures#gobject_., feature.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
37 }
38 }
39
40 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# CapsFeaturescxx . . $ Gst/CapsFeatures#::memory_system_memorycxx . . $ Gst/CapsFeatures#memory_system_memory(f6d16334134ff78f).()
41 {
42 return GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORYcxx . . $ `<external>/10323289123752355730/gstcapsfeatures.h:41:9`!;
43 }
44
45 }
46
47 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/capsfeatures.cc`/
48 {
49 } // anonymous namespace
50
51
52 namespace Glibcxx . . $ Glib/
53 {
54
55 Gstcxx . . $ Gst/::CapsFeaturescxx . . $ Gst/CapsFeatures# wrapcxx . . $ Glib/wrap(33d5180037a6aa33).(GstCapsFeatures* object, bool take_copy)
56 {
57 return Gstcxx . . $ Gst/CapsFeatures#CapsFeatures(badb5f1e2117ae7).::CapsFeaturescxx . . $ Gst/CapsFeatures#(object, take_copy);
58 }
59
60 } // namespace Glib
61
62
63 namespace Gstcxx . . $ Gst/
64 {
65
66
67 // static
68 GType CapsFeaturescxx . . $ Gst/CapsFeatures#::get_typecxx . . $ Gst/CapsFeatures#get_type(f708dce9a8856c70).()
69 {
70 return gst_caps_features_get_type();
71 }
72
73 CapsFeaturescxx . . $ Gst/CapsFeatures#::CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(49f6e7a06ebc5aa8).()
74 :
75 gobject_cxx . . $ Gst/CapsFeatures#gobject_. (gst_caps_features_new_empty())
76 {}
77
78 CapsFeaturescxx . . $ Gst/CapsFeatures#::CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(99565ecd9095e06b).(const CapsFeaturescxx . . $ Gst/CapsFeatures#& other)
79 :
80 gobject_cxx . . $ Gst/CapsFeatures#gobject_. ((other.gobject_cxx . . $ Gst/CapsFeatures#gobject_.) ? gst_caps_features_copy(other.gobject_cxx . . $ Gst/CapsFeatures#gobject_.) : nullptr)
81 {}
82
83 CapsFeaturescxx . . $ Gst/CapsFeatures#::CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(1658cd0e81251781).(CapsFeaturescxx . . $ Gst/CapsFeatures#&& other) noexcept
84 :
85 gobject_cxx . . $ Gst/CapsFeatures#gobject_.(other.gobject_cxx . . $ Gst/CapsFeatures#gobject_.)
86 {
87 other.gobject_cxx . . $ Gst/CapsFeatures#gobject_. = nullptr;
88 }
89
90 CapsFeaturescxx . . $ Gst/CapsFeatures#& CapsFeaturescxx . . $ Gst/CapsFeatures#::operatorcxx . . $ Gst/CapsFeatures#`operator=`(a314bb271121a9a5).=(CapsFeaturescxx . . $ Gst/CapsFeatures#&& other) noexcept
91 {
92 CapsFeaturescxx . . $ Gst/CapsFeatures# tempcxx . . $ Gst/CapsFeatures#CapsFeatures(99565ecd9095e06b). (other);
93 swapcxx . . $ Gst/CapsFeatures#swap(c606dd60efd13441).(temp);
94 return *this;
95 }
96
97 CapsFeaturescxx . . $ Gst/CapsFeatures#::CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(badb5f1e2117ae7).(GstCapsFeatures* gobject, bool make_a_copy)
98 :
99 // For BoxedType wrappers, make_a_copy is true by default. The static
100 // BoxedType wrappers must always take a copy, thus make_a_copy = true
101 // ensures identical behaviour if the default argument is used.
102 gobject_cxx . . $ Gst/CapsFeatures#gobject_. ((make_a_copy && gobject) ? gst_caps_features_copy(gobject) : gobject)
103 {}
104
105 CapsFeaturescxx . . $ Gst/CapsFeatures#& CapsFeaturescxx . . $ Gst/CapsFeatures#::operatorcxx . . $ Gst/CapsFeatures#`operator=`(dff11443eca6413f).=(const CapsFeaturescxx . . $ Gst/CapsFeatures#& other)
106 {
107 CapsFeaturescxx . . $ Gst/CapsFeatures# tempcxx . . $ Gst/CapsFeatures#CapsFeatures(99565ecd9095e06b). (other);
108 swapcxx . . $ Gst/CapsFeatures#swap(c606dd60efd13441).(temp);
109 return *this;
110 }
111
112 CapsFeaturescxx . . $ Gst/CapsFeatures#::~cxx . . $ Gst/CapsFeatures#`~CapsFeatures`(ced63f7c635d850d).CapsFeaturescxx . . $ Gst/CapsFeatures#() noexcept
113 {
114 if(gobject_cxx . . $ Gst/CapsFeatures#gobject_.)
115 gst_caps_features_free(gobject_cxx . . $ Gst/CapsFeatures#gobject_.);
116 }
117
118 void CapsFeaturescxx . . $ Gst/CapsFeatures#::swapcxx . . $ Gst/CapsFeatures#swap(c606dd60efd13441).(CapsFeaturescxx . . $ Gst/CapsFeatures#& other) noexcept
119 {
120 stdcxx . . $ std/::swapcxx . . $ std/swap(c75b8fd57d7c2e06).(gobject_cxx . . $ Gst/CapsFeatures#gobject_., other.gobject_cxx . . $ Gst/CapsFeatures#gobject_.);
121 }
122
123 GstCapsFeatures* CapsFeaturescxx . . $ Gst/CapsFeatures#::gobj_copycxx . . $ Gst/CapsFeatures#gobj_copy(64f88d78dddf58e9).() const
124 {
125 return gst_caps_features_copy(gobject_cxx . . $ Gst/CapsFeatures#gobject_.);
126 }
127
128
129 Gstcxx . . $ Gst/::CapsFeaturescxx . . $ Gst/CapsFeatures# CapsFeaturescxx . . $ Gst/CapsFeatures#::create_anycxx . . $ Gst/CapsFeatures#create_any(241934aeeeda8ded).()
130 {
131 return CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(badb5f1e2117ae7).(gst_caps_features_new_any(), false);
132 }
133
134 Gstcxx . . $ Gst/::CapsFeaturescxx . . $ Gst/CapsFeatures# CapsFeaturescxx . . $ Gst/CapsFeatures#::create_from_stringcxx . . $ Gst/CapsFeatures#create_from_string(e0ee18eefec36484).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& features)
135 {
136 return CapsFeaturescxx . . $ Gst/CapsFeatures#CapsFeatures(badb5f1e2117ae7).(gst_caps_features_from_string(features.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), false);
137 }
138
139 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# CapsFeaturescxx . . $ Gst/CapsFeatures#::to_stringcxx . . $ Gst/CapsFeatures#to_string(fff0f585954e56f3).() const
140 {
141 return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_caps_features_to_string(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).())));
142 }
143
144 bool CapsFeaturescxx . . $ Gst/CapsFeatures#::set_parent_refcountcxx . . $ Gst/CapsFeatures#set_parent_refcount(18a3c31ed0aa5760).(gint * refcount)
145 {
146 return gst_caps_features_set_parent_refcount(gobjcxx . . $ Gst/CapsFeatures#gobj(b8eda5036c5bca27).(), refcount);
147 }
148
149 bool CapsFeaturescxx . . $ Gst/CapsFeatures#::is_equalcxx . . $ Gst/CapsFeatures#is_equal(fed04dcc25860d09).(const Gstcxx . . $ Gst/::CapsFeaturescxx . . $ Gst/CapsFeatures#& features2) const
150 {
151 return gst_caps_features_is_equal(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()), features2.gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).());
152 }
153
154 bool CapsFeaturescxx . . $ Gst/CapsFeatures#::is_anycxx . . $ Gst/CapsFeatures#is_any(50ce9a9e25b4a850).() const
155 {
156 return gst_caps_features_is_any(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()));
157 }
158
159 bool CapsFeaturescxx . . $ Gst/CapsFeatures#::containscxx . . $ Gst/CapsFeatures#contains(51a66224d46a21f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& feature) const
160 {
161 return gst_caps_features_contains(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()), feature.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
162 }
163
164 bool CapsFeaturescxx . . $ Gst/CapsFeatures#::containscxx . . $ Gst/CapsFeatures#contains(8de63fdb265b07c1).(GQuark feature) const
165 {
166 return gst_caps_features_contains_id(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()), feature);
167 }
168
169 guint CapsFeaturescxx . . $ Gst/CapsFeatures#::get_sizecxx . . $ Gst/CapsFeatures#get_size(ddd8539a2fcdd4ce).() const
170 {
171 return gst_caps_features_get_size(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()));
172 }
173
174 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# CapsFeaturescxx . . $ Gst/CapsFeatures#::get_nthcxx . . $ Gst/CapsFeatures#get_nth(d6afed782860cbcd).(guint i) const
175 {
176 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_caps_features_get_nth(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()), i));
177 }
178
179 GQuark CapsFeaturescxx . . $ Gst/CapsFeatures#::get_nth_idcxx . . $ Gst/CapsFeatures#get_nth_id(560347b7e9428769).(guint i) const
180 {
181 return gst_caps_features_get_nth_id(const_cast<GstCapsFeatures*>(gobjcxx . . $ Gst/CapsFeatures#gobj(41d49875922471f7).()), i);
182 }
183
184 void CapsFeaturescxx . . $ Gst/CapsFeatures#::addcxx . . $ Gst/CapsFeatures#add(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& feature)
185 {
186 gst_caps_features_add(gobjcxx . . $ Gst/CapsFeatures#gobj(b8eda5036c5bca27).(), feature.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
187 }
188
189 void CapsFeaturescxx . . $ Gst/CapsFeatures#::addcxx . . $ Gst/CapsFeatures#add(cb2f890c2fdad230).(GQuark feature)
190 {
191 gst_caps_features_add_id(gobjcxx . . $ Gst/CapsFeatures#gobj(b8eda5036c5bca27).(), feature);
192 }
193
194 void CapsFeaturescxx . . $ Gst/CapsFeatures#::removecxx . . $ Gst/CapsFeatures#remove(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& feature)
195 {
196 gst_caps_features_remove(gobjcxx . . $ Gst/CapsFeatures#gobj(b8eda5036c5bca27).(), feature.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
197 }
198
199 void CapsFeaturescxx . . $ Gst/CapsFeatures#::removecxx . . $ Gst/CapsFeatures#remove(cb2f890c2fdad230).(GQuark feature)
200 {
201 gst_caps_features_remove_id(gobjcxx . . $ Gst/CapsFeatures#gobj(b8eda5036c5bca27).(), feature);
202 }
203
204
205 } // namespace Gst
206
207