| Gst::CapsFeatures::CapsFeatures |
( |
GstCapsFeatures * |
gobject, |
|
|
bool |
make_a_copy = true |
|
) |
| |
|
explicit |
| Gst::CapsFeatures::CapsFeatures |
( |
const CapsFeatures& |
other | ) |
|
| Gst::CapsFeatures::~CapsFeatures |
( |
| ) |
|
| Gst::CapsFeatures::CapsFeatures |
( |
| ) |
|
| Gst::CapsFeatures::CapsFeatures |
( |
const Glib::ustring & |
feature1 | ) |
|
|
explicit |
Creates a new Gst::CapsFeatures with the given first feature.
- Parameters
-
| feature1 | name of first feature to set. |
Adds feature to features.
- Parameters
-
| void Gst::CapsFeatures::add |
( |
GQuark |
feature | ) |
|
Adds feature to features.
- Parameters
-
| bool Gst::CapsFeatures::contains |
( |
const Glib::ustring & |
feature | ) |
const |
Check if features contains feature.
- Parameters
-
- Returns
true if features contains feature.
| bool Gst::CapsFeatures::contains |
( |
GQuark |
feature | ) |
const |
Check if features contains feature.
- Parameters
-
- Returns
true if features contains feature.
Returns the i-th feature of features.
- Parameters
-
- Returns
- The i-th feature of features.
| GQuark Gst::CapsFeatures::get_nth_id |
( |
guint |
i | ) |
const |
Returns the i-th feature of features.
- Parameters
-
- Returns
- The i-th feature of features.
| guint Gst::CapsFeatures::get_size |
( |
| ) |
const |
Returns the number of features in features.
- Returns
- The number of features in features.
| static GType Gst::CapsFeatures::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
| GstCapsFeatures* Gst::CapsFeatures::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C instance.
| const GstCapsFeatures* Gst::CapsFeatures::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C instance.
| GstCapsFeatures* Gst::CapsFeatures::gobj_copy |
( |
| ) |
const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| bool Gst::CapsFeatures::is_any |
( |
| ) |
const |
Check if features is Gst::CAPS_FEATURES_ANY.
- Returns
true if features is Gst::CAPS_FEATURES_ANY.
Check if features1 and features2 are equal.
- Parameters
-
- Returns
true if features1 and features2 are equal.
Removes feature from features.
- Parameters
-
| void Gst::CapsFeatures::remove |
( |
GQuark |
feature | ) |
|
Removes feature from features.
- Parameters
-
| bool Gst::CapsFeatures::set_parent_refcount |
( |
gint * |
refcount | ) |
|
Sets the parent_refcount field of Gst::CapsFeatures.
This field is used to determine whether a caps features is mutable or not. This function should only be called by code implementing parent objects of Gst::CapsFeatures, as described in the MT Refcounting section of the design documents.
- Parameters
-
| refcount | A pointer to the parent's refcount. |
- Returns
true if the parent refcount could be set.
Converts features to a human-readable string representation.
For debugging purposes its easier to do something like this:
[C example ellipted] This prints the features in human readble form.
Free-function: g_free
- Returns
- A pointer to string allocated by Glib::malloc(). Glib::free() after usage.
- Parameters
-
| lhs | The left-hand side |
| rhs | The right-hand side |
A Glib::wrap() method for this object.
- Parameters
-
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.
| GstCapsFeatures* Gst::CapsFeatures::gobject_ |
|
protected |
The documentation for this class was generated from the following file:
- gstreamermm/capsfeatures.h