Release 1.21.90
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / ValueTable.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst {
5
6         using System;
7         using System.Collections;
8         using System.Collections.Generic;
9         using System.Runtime.InteropServices;
10
11 #region Autogenerated code
12         [StructLayout(LayoutKind.Sequential)]
13         public partial struct ValueTable : IEquatable<ValueTable> {
14
15                 public GLib.GType Type;
16                 private GstSharp.ValueCompareFuncNative _compare;
17                 public Gst.ValueCompareFunc Compare {
18                         get {
19                                 return GstSharp.ValueCompareFuncWrapper.GetManagedDelegate (_compare);
20                         }
21                 }
22                 private GstSharp.ValueSerializeFuncNative _serialize;
23                 public Gst.ValueSerializeFunc Serialize {
24                         get {
25                                 return GstSharp.ValueSerializeFuncWrapper.GetManagedDelegate (_serialize);
26                         }
27                 }
28                 private GstSharp.ValueDeserializeFuncNative _deserialize;
29                 public Gst.ValueDeserializeFunc Deserialize {
30                         get {
31                                 return GstSharp.ValueDeserializeFuncWrapper.GetManagedDelegate (_deserialize);
32                         }
33                 }
34                 private GstSharp.ValueDeserializeWithPSpecFuncNative _deserialize_with_pspec;
35                 public Gst.ValueDeserializeWithPSpecFunc DeserializeWithPspec {
36                         get {
37                                 return GstSharp.ValueDeserializeWithPSpecFuncWrapper.GetManagedDelegate (_deserialize_with_pspec);
38                         }
39                 }
40                 [MarshalAs (UnmanagedType.ByValArray, SizeConst=3)]
41                 private IntPtr[] _gstGstReserved;
42
43                 public static Gst.ValueTable Zero = new Gst.ValueTable ();
44
45                 public static Gst.ValueTable New(IntPtr raw) {
46                         if (raw == IntPtr.Zero)
47                                 return Gst.ValueTable.Zero;
48                         return (Gst.ValueTable) Marshal.PtrToStructure (raw, typeof (Gst.ValueTable));
49                 }
50
51                 public bool Equals (ValueTable other)
52                 {
53                         return true && Type.Equals (other.Type) && Compare.Equals (other.Compare) && Serialize.Equals (other.Serialize) && Deserialize.Equals (other.Deserialize) && DeserializeWithPspec.Equals (other.DeserializeWithPspec);
54                 }
55
56                 public override bool Equals (object other)
57                 {
58                         return other is ValueTable && Equals ((ValueTable) other);
59                 }
60
61                 public override int GetHashCode ()
62                 {
63                         return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ Compare.GetHashCode () ^ Serialize.GetHashCode () ^ Deserialize.GetHashCode () ^ DeserializeWithPspec.GetHashCode ();
64                 }
65
66                 private static GLib.GType GType {
67                         get { return GLib.GType.Pointer; }
68                 }
69 #endregion
70         }
71 }