Gst::XML Class Reference

#include <xml.h>

Inheritance diagram for Gst::XML:

Gst::Object List of all members.

Public Types

typedef XML CppObjectType
typedef XML_Class CppClassType
typedef GstXML BaseObjectType
typedef GstXMLClass BaseClassType

Public Member Functions

virtual ~XML ()
GstXMLgobj ()
 Provides access to the underlying C GObject.
const GstXMLgobj () const
 Provides access to the underlying C GObject.
GstXMLgobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool parse_doc (xmlDocPtr doc, const std::string &root)
bool parse_file (const std::string &filename, const std::string &root)
bool parse_memory (const std::string &buffer, const std::string &root)
Glib::RefPtr< Elementget_element (const std::string &name)
Glib::RefPtr< const Elementget_element (const std::string &name) const

Static Public Member Functions

static GType get_type () G_GNUC_CONST
static GType get_base_type () G_GNUC_CONST
static Glib::RefPtr< XMLcreate ()

Protected Member Functions

 XML (const Glib::ConstructParams &construct_params)
 XML (GstXML *castitem)
 XML ()

Friends

class XML_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gst::XMLwrap (GstXML *object, bool take_copy=false)

Member Typedef Documentation

typedef XML Gst::XML::CppObjectType

Reimplemented from Gst::Object.

typedef XML_Class Gst::XML::CppClassType

Reimplemented from Gst::Object.

typedef GstXML Gst::XML::BaseObjectType

Reimplemented from Gst::Object.

typedef GstXMLClass Gst::XML::BaseClassType

Reimplemented from Gst::Object.


Constructor & Destructor Documentation

Gst::XML::XML ( const Glib::ConstructParams &  construct_params  )  [explicit, protected]

Gst::XML::XML ( GstXML castitem  )  [explicit, protected]

virtual Gst::XML::~XML (  )  [virtual]

Gst::XML::XML (  )  [protected]


Member Function Documentation

static GType Gst::XML::get_type (  )  [static]

Reimplemented from Gst::Object.

static GType Gst::XML::get_base_type (  )  [static]

Reimplemented from Gst::Object.

GstXML* Gst::XML::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

const GstXML* Gst::XML::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

GstXML* Gst::XML::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Gst::Object.

static Glib::RefPtr<XML> Gst::XML::create (  )  [static]

bool Gst::XML::parse_doc ( xmlDocPtr  doc,
const std::string &  root 
)

bool Gst::XML::parse_file ( const std::string &  filename,
const std::string &  root 
)

bool Gst::XML::parse_memory ( const std::string &  buffer,
const std::string &  root 
)

Glib::RefPtr<Element> Gst::XML::get_element ( const std::string &  name  ) 

Glib::RefPtr<const Element> Gst::XML::get_element ( const std::string &  name  )  const


Friends And Related Function Documentation

friend class XML_Class [friend]

Glib::RefPtr< Gst::XML > wrap ( GstXML 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.


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