Klasse ValueList

Alle implementierten Schnittstellen:
PointerInterface

public class ValueList extends Pointer
A fundamental type that describes an unordered list of #GValue

https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • appendAndTakeValue

      public static void appendAndTakeValue(@Nonnull Value value, @Nonnull Value append_value)
      Appends @append_value to the GstValueList in @value.
      Parameter:
      value - a #GValue of type #GST_TYPE_LIST
      append_value - the value to append
    • appendValue

      public static void appendValue(@Nonnull Value value, @Nonnull Value append_value)
      Appends @append_value to the GstValueList in @value.
      Parameter:
      value - a #GValue of type #GST_TYPE_LIST
      append_value - the value to append
    • concat

      public static void concat(@Nonnull Value dest, @Nonnull Value value1, @Nonnull Value value2)
      Concatenates copies of @value1 and @value2 into a list. Values that are not
      of type #GST_TYPE_LIST are treated as if they were lists of length 1.
      @dest will be initialized to the type #GST_TYPE_LIST.
      Parameter:
      dest - an uninitialized #GValue to take the result
      value1 - a #GValue
      value2 - a #GValue
    • getSize

      public static int getSize(@Nonnull Value value)
      Gets the number of values contained in @value.
      Parameter:
      value - a #GValue of type #GST_TYPE_LIST
      Gibt zurück:
      the number of values
    • getValue

      public static Value getValue(@Nonnull Value value, int index)
      Gets the value that is a member of the list contained in @value and
      has the index @index.
      Parameter:
      value - a #GValue of type #GST_TYPE_LIST
      index - index of value to get from the list
      Gibt zurück:
      the value at the given index
    • init

      public static Value init(@Nonnull Value value, int prealloc)
      Initializes and pre-allocates a #GValue of type #GST_TYPE_LIST.
      Parameter:
      value - A zero-filled (uninitialized) #GValue structure
      prealloc - The number of entries to pre-allocate in the list
      Gibt zurück:
      The #GValue structure that has been passed in
    • merge

      public static void merge(@Nonnull Value dest, @Nonnull Value value1, @Nonnull Value value2)
      Merges copies of @value1 and @value2. Values that are not
      of type #GST_TYPE_LIST are treated as if they were lists of length 1.

      The result will be put into @dest and will either be a list that will not
      contain any duplicates, or a non-list type (if @value1 and @value2
      were equal).
      Parameter:
      dest - an uninitialized #GValue to take the result
      value1 - a #GValue
      value2 - a #GValue
    • prependValue

      public static void prependValue(@Nonnull Value value, @Nonnull Value prepend_value)
      Prepends @prepend_value to the GstValueList in @value.
      Parameter:
      value - a #GValue of type #GST_TYPE_LIST
      prepend_value - the value to prepend
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()