#include <xml.h>
Inheritance diagram for Gst::XML:
Public Types | |
typedef XML | CppObjectType |
typedef XML_Class | CppClassType |
typedef GstXML | BaseObjectType |
typedef GstXMLClass | BaseClassType |
Public Member Functions | |
virtual | ~XML () |
GstXML * | gobj () |
Provides access to the underlying C GObject. | |
const GstXML * | gobj () const |
Provides access to the underlying C GObject. | |
GstXML * | gobj_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< Element > | get_element (const std::string &name) |
Glib::RefPtr< const Element > | get_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< XML > | create () |
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::XML > | wrap (GstXML *object, bool take_copy=false) |
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.
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] |
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] |
const GstXML* Gst::XML::gobj | ( | ) | const [inline] |
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 |
friend class XML_Class [friend] |
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. |