Gst::Caps Class Reference

#include <caps.h>

List of all members.

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< Capscopy () const
Glib::RefPtr< Capscopy_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)
Structureget_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< Capsintersect (const Glib::RefPtr< Caps > &other_caps) const
Glib::RefPtr< Capsunions (const Glib::RefPtr< Caps > &other_caps) const
Glib::RefPtr< Capsnormalize ()
bool do_simplify ()
xmlNodePtr save_thyself (const xmlNodePtr &parent)
Glib::ustring to_string () const
Glib::RefPtr< Capssubtract (const Glib::RefPtr< Caps > &subtrahend_caps)
Glib::RefPtr< Capsmake_writable ()
void truncate ()

Static Public Member Functions

static Glib::RefPtr< Capscreate_empty ()
static Glib::RefPtr< Capscreate_any ()
static Glib::RefPtr< Capscreate_full (Structure &)
static Glib::RefPtr< Capsload_thyself (xmlNodePtr parent)
static Glib::RefPtr< Capsfrom_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::Capswrap (GstCaps *object, bool take_copy=false)


Member Typedef Documentation

typedef Caps Gst::Caps::CppObjectType

typedef GstCaps Gst::Caps::BaseObjectType


Constructor & Destructor Documentation

Gst::Caps::Caps (  )  [protected]


Member Function Documentation

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]

static Glib::RefPtr<Caps> Gst::Caps::create_full ( Structure  )  [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::intersect ( const Glib::RefPtr< Caps > &  other_caps  )  const

Glib::RefPtr<Caps> Gst::Caps::unions ( const Glib::RefPtr< Caps > &  other_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::subtract ( const Glib::RefPtr< Caps > &  subtrahend_caps  ) 

Glib::RefPtr<Caps> Gst::Caps::make_writable (  ) 

void Gst::Caps::truncate (  ) 


Friends And Related Function Documentation

Glib::RefPtr< Gst::Caps > wrap ( GstCaps *  object,
bool  take_copy = false 
) [related]

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.


Member Data Documentation

GstCaps* Gst::Caps::cobj_ [protected]


The documentation for this class was generated from the following file:
Generated on Sat Jan 26 11:53:53 2008 for gstreamermm by  doxygen 1.5.1