Class Gst::Type

Abstract

Identifies the data.

Included in: Gst .

Index: == each exts find_by_id find_by_mime id mime types

Class methods
eacheach { |aTypeObject| block } -> nil
 

Calls the block for each registred types, passing a reference to the Gst::Type as parameter.

find_by_idfind_by_id(aFixnum) -> aTypeObject
 

Searches for a registered type of the given ID. If found, returns a Gst::Type object. Otherwise, returns nil.

find_by_mimefind_by_mime(aString) -> aTypeObject
 

Searches for a registered type of the given MIME type. If found, returns a Gst::Type object. Otherwise, returns nil.

typestypes -> anArray
 

Returns a list of all registered types, in an array of Gst::Type objects.

Instance methods
==== aTypeObject -> aBoolean
 

Checks if two Gst::Type objects are refered under the same ID number.

extsexts -> aString
 

Gets files extentions handled by the type, if there are any. This method may otherwise return nil.

idid -> aFixnum
 

Gets the ID number of the type.

mimemime -> aString
 

Gets the MIME type of the type.