#include <caps.h>
Public Types | |
typedef Caps | CppObjectType |
typedef GstCaps | BaseObjectType |
Public Member Functions | |
void | reference () const |
void | unreference () const |
GstCaps * | gobj () |
Provides access to the underlying C instance. | |
const GstCaps * | gobj () const |
Provides access to the underlying C instance. | |
GstCaps * | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::RefPtr< Caps > | copy () const |
Glib::RefPtr< Caps > | copy_nth (guint) |
void | append (const Glib::RefPtr< Caps > &caps) |
void | merge (const Glib::RefPtr< Caps > &caps) |
void | append_structure (Structure &structure) |
void | merge_structure (Structure &structure) |
Structure * | get_structure (guint idx) |
void | remove_structure (guint idx) |
guint | get_size () const |
void | simple_valist (char *field, const va_list &varargs) |
bool | is_any () const |
bool | is_empty () const |
bool | is_fixed () const |
bool | is_equal (const Glib::RefPtr< Caps > &other_caps) const |
bool | is_equal_fixed (const Glib::RefPtr< Caps > &other_caps) const |
bool | is_always_compatible (const Glib::RefPtr< Caps > &other_caps) const |
bool | is_subset (const Glib::RefPtr< Caps > &superset_caps) const |
Glib::RefPtr< Caps > | intersect (const Glib::RefPtr< Caps > &other_caps) const |
Glib::RefPtr< Caps > | unions (const Glib::RefPtr< Caps > &other_caps) const |
Glib::RefPtr< Caps > | normalize () |
bool | do_simplify () |
xmlNodePtr | save_thyself (const xmlNodePtr &parent) |
Glib::ustring | to_string () const |
Glib::RefPtr< Caps > | subtract (const Glib::RefPtr< Caps > &subtrahend_caps) |
Glib::RefPtr< Caps > | make_writable () |
void | truncate () |
Static Public Member Functions | |
static Glib::RefPtr< Caps > | create_empty () |
static Glib::RefPtr< Caps > | create_any () |
static Glib::RefPtr< Caps > | create_full (Structure &) |
static Glib::RefPtr< Caps > | load_thyself (xmlNodePtr parent) |
static Glib::RefPtr< Caps > | from_string (const Glib::ustring &string) |
Protected Member Functions | |
Caps () | |
void | operator delete (void *, size_t) |
Protected Attributes | |
GstCaps * | cobj_ |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::Caps > | wrap (GstCaps *object, bool take_copy=false) |
typedef Caps Gst::Caps::CppObjectType |
typedef GstCaps Gst::Caps::BaseObjectType |
Gst::Caps::Caps | ( | ) | [protected] |
void Gst::Caps::reference | ( | ) | const |
void Gst::Caps::unreference | ( | ) | const |
GstCaps* Gst::Caps::gobj | ( | ) |
Provides access to the underlying C instance.
const GstCaps* Gst::Caps::gobj | ( | ) | const |
Provides access to the underlying C instance.
GstCaps* Gst::Caps::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Gst::Caps::operator delete | ( | void * | , | |
size_t | ||||
) | [protected] |
static Glib::RefPtr<Caps> Gst::Caps::create_empty | ( | ) | [static] |
static Glib::RefPtr<Caps> Gst::Caps::create_any | ( | ) | [static] |
Glib::RefPtr<Caps> Gst::Caps::copy | ( | ) | const |
Glib::RefPtr<Caps> Gst::Caps::copy_nth | ( | guint | ) |
void Gst::Caps::append | ( | const Glib::RefPtr< Caps > & | caps | ) |
void Gst::Caps::merge | ( | const Glib::RefPtr< Caps > & | caps | ) |
void Gst::Caps::append_structure | ( | Structure & | structure | ) |
void Gst::Caps::merge_structure | ( | Structure & | structure | ) |
Structure* Gst::Caps::get_structure | ( | guint | idx | ) |
void Gst::Caps::remove_structure | ( | guint | idx | ) |
guint Gst::Caps::get_size | ( | ) | const |
void Gst::Caps::simple_valist | ( | char * | field, | |
const va_list & | varargs | |||
) |
bool Gst::Caps::is_any | ( | ) | const |
bool Gst::Caps::is_empty | ( | ) | const |
bool Gst::Caps::is_fixed | ( | ) | const |
bool Gst::Caps::is_equal | ( | const Glib::RefPtr< Caps > & | other_caps | ) | const |
bool Gst::Caps::is_equal_fixed | ( | const Glib::RefPtr< Caps > & | other_caps | ) | const |
bool Gst::Caps::is_always_compatible | ( | const Glib::RefPtr< Caps > & | other_caps | ) | const |
bool Gst::Caps::is_subset | ( | const Glib::RefPtr< Caps > & | superset_caps | ) | const |
Glib::RefPtr<Caps> Gst::Caps::normalize | ( | ) |
bool Gst::Caps::do_simplify | ( | ) |
xmlNodePtr Gst::Caps::save_thyself | ( | const xmlNodePtr & | parent | ) |
static Glib::RefPtr<Caps> Gst::Caps::load_thyself | ( | xmlNodePtr | parent | ) | [static] |
Glib::ustring Gst::Caps::to_string | ( | ) | const |
static Glib::RefPtr<Caps> Gst::Caps::from_string | ( | const Glib::ustring & | string | ) | [static] |
Glib::RefPtr<Caps> Gst::Caps::make_writable | ( | ) |
void Gst::Caps::truncate | ( | ) |
Glib::RefPtr< Gst::Caps > wrap | ( | GstCaps * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |
GstCaps* Gst::Caps::cobj_ [protected] |