| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/valuelist.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/valuelist.h>cxx . . $ `<file>/gstreamer/gstreamermm/valuelist.h`/ |
| 7 | #include <gstreamermm/private/valuelist_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/valuelist_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008 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 | |
| 32 | ValueListcxx . . $ Gst/ValueList#::ValueListcxx . . $ Gst/ValueList#ValueList(49f6e7a06ebc5aa8).() |
| 33 | {} |
| 34 | |
| 35 | // static |
| 36 | GType ValueListcxx . . $ Gst/ValueList#::get_typecxx . . $ Gst/ValueList#get_type(f708dce9a8856c70).() |
| 37 | { |
| 38 | return GST_TYPE_LISTcxx . . $ `<external>/14168157542697705303/gstvalue.h:322:9`!; |
| 39 | } |
| 40 | |
| 41 | guint ValueListcxx . . $ Gst/ValueList#::sizecxx . . $ Gst/ValueList#size(ddd8539a2fcdd4ce).() const |
| 42 | { |
| 43 | return gst_value_list_get_size(gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).()); |
| 44 | } |
| 45 | |
| 46 | bool ValueListcxx . . $ Gst/ValueList#::getcxx . . $ Gst/ValueList#get(3e9ae3dcd0399c76).(guint index, Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) const |
| 47 | { |
| 48 | const GValue* g_value = gst_value_list_get_value(gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).(), index); |
| 49 | |
| 50 | if(g_value) |
| 51 | { |
| 52 | value.initcxx . . $ Glib/ValueBase#init(17c24b957ba97f2a).(g_value); |
| 53 | return true; |
| 54 | } |
| 55 | else |
| 56 | return false; |
| 57 | } |
| 58 | |
| 59 | Gstcxx . . $ Gst/::ValueListcxx . . $ Gst/ValueList#& ValueListcxx . . $ Gst/ValueList#::appendcxx . . $ Gst/ValueList#append(f9090ba96f999ce6).(const Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) |
| 60 | { |
| 61 | gst_value_list_append_value(gobjcxx . . $ Glib/ValueBase#gobj(a6eb55b6100cf48b).(), value.gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).()); |
| 62 | return *this; |
| 63 | } |
| 64 | |
| 65 | Gstcxx . . $ Gst/::ValueListcxx . . $ Gst/ValueList#& ValueListcxx . . $ Gst/ValueList#::prependcxx . . $ Gst/ValueList#prepend(f9090ba96f999ce6).(const Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) |
| 66 | { |
| 67 | gst_value_list_prepend_value(gobjcxx . . $ Glib/ValueBase#gobj(a6eb55b6100cf48b).(), value.gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).()); |
| 68 | return *this; |
| 69 | } |
| 70 | |
| 71 | |
| 72 | } // Glib namespace |
| 73 | |
| 74 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/valuelist.cc`/ |
| 75 | { |
| 76 | } // anonymous namespace |
| 77 | |
| 78 |