Debian Codegraph @

override/gst/element_extra_def.hpp

raw symbols SCIP
1 #ifndef _GI_GST_ELEMENT_EXTRA_DEF_HPP_
2 #define _GI_GST_ELEMENT_EXTRA_DEF_HPP_
3
4 namespace gi
5 {
6 namespace repository
7 {
8 namespace Gst
9 {
10 namespace base
11 {
12 class ElementExtra : public GI_GST_ELEMENT_BASE
13 {
14 typedef GI_GST_ELEMENT_BASE super;
15
16 GI_INLINE_DECL bool link() GI_NOEXCEPT_DECL(true)
17 {
18 return true;
19 }
20
21 public:
22 // Syntax sugar link with multiple arguments to reflect a non-introspectable gst_element_link_many
23 template <typename Arg0, typename ...Args>
24 GI_INLINE_DECL bool link(Arg0 arg0, Args ...args) GI_NOEXCEPT_DECL(true)
25 {
26 if (super::link(gi::object_cast<Gst::Element>(arg0))) {
27 return arg0.link(args...);
28 } else {
29 return false;
30 }
31 }
32
33 }; // class
34
35 #undef GI_GST_ELEMENT_BASE
36 #define GI_GST_ELEMENT_BASE base::ElementExtra
37
38 } // namespace base
39
40 } // namespace Gst
41
42 } // namespace repository
43
44 } // namespace gi
45
46
47 #endif