GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
xml_ns.c File Reference
+ Include dependency graph for xml_ns.c:

Data Structures

struct  xml_att_def
 
struct  xml_elt_def
 

Enumerations

enum  {
  GF_SVG_ATTOPT_NONE = 0, GF_SVG_ATTOPT_SMIL = 1, GF_SVG_ATTOPT_TEXT = 2, GF_SVG_ATTOPT_CURSOR = 3,
  GF_SVG_ATTOPT_LISTENER = 4, GF_SVG_ATTOPT_FILTER = 5
}
 

Functions

void gf_xml_push_namespaces (GF_DOMNode *elt)
 
void gf_xml_pop_namespaces (GF_DOMNode *elt)
 
static u32 gf_xml_get_namespace (GF_DOMNode *elt, const char *attribute_name)
 
static char * gf_xml_get_namespace_qname (GF_DOMNode *elt, u32 ns)
 
u32 gf_xml_get_attribute_tag (GF_Node *elt, char *attribute_name, u32 ns)
 
u32 gf_xml_get_attribute_type (u32 tag)
 
const char * gf_svg_get_attribute_name (GF_Node *node, u32 tag)
 
GF_DOMAttributegf_xml_create_attribute (GF_Node *node, u32 tag)
 
u32 gf_xml_get_element_tag (const char *element_name, u32 ns)
 
const char * gf_xml_get_element_name (GF_Node *n)
 
u32 gf_xml_get_element_namespace (GF_Node *n)
 
u32 gf_node_get_attribute_count (GF_Node *node)
 
GF_Err gf_node_get_attribute_info (GF_Node *node, GF_FieldInfo *info)
 
void gf_node_delete_attributes (GF_Node *node)
 
SVGAttributegf_node_create_attribute_from_datatype (u32 data_type, u32 attribute_tag)
 
GF_Err gf_node_get_attribute_by_name (GF_Node *node, char *name, u32 xmlns_code, Bool create_if_not_found, Bool set_default, GF_FieldInfo *field)
 
static void attributes_set_default_value (GF_Node *node, SVGAttribute *att)
 
GF_Err gf_node_get_attribute_by_tag (GF_Node *node, u32 attribute_tag, Bool create_if_not_found, Bool set_default, GF_FieldInfo *field)
 
void gf_node_register_iri (GF_SceneGraph *sg, XMLRI *target)
 
void gf_node_unregister_iri (GF_SceneGraph *sg, XMLRI *target)
 
GF_Nodegf_xml_node_clone (GF_SceneGraph *inScene, GF_Node *orig, GF_Node *cloned_parent, char *inst_id, Bool deep)
 
static u32 check_existing_file (char *base_file, char *ext, char *data, u32 data_size, u32 idx)
 
GF_Err gf_node_store_embedded_data (XMLRI *iri, const char *cache_dir, const char *base_filename)
 

Variables

enum { ... }  GF_SVGAttOption
 
static struct xml_att_def xml_attributes []
 
static struct xml_elt_def xml_elements []
 

Data Structure Documentation

struct xml_att_def
+ Collaboration diagram for xml_att_def:
Data Fields
const char * name
u32 tag
u32 type
u32 opts
u32 xmlns
struct xml_elt_def
+ Collaboration diagram for xml_elt_def:
Data Fields
const char * name
u32 tag
u32 xmlns

Enumeration Type Documentation

anonymous enum
Enumerator
GF_SVG_ATTOPT_NONE 
GF_SVG_ATTOPT_SMIL 
GF_SVG_ATTOPT_TEXT 
GF_SVG_ATTOPT_CURSOR 
GF_SVG_ATTOPT_LISTENER 
GF_SVG_ATTOPT_FILTER 

Function Documentation

void gf_xml_push_namespaces ( GF_DOMNode elt)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_xml_pop_namespaces ( GF_DOMNode elt)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 gf_xml_get_namespace ( GF_DOMNode elt,
const char *  attribute_name 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char* gf_xml_get_namespace_qname ( GF_DOMNode elt,
u32  ns 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_xml_get_attribute_tag ( GF_Node elt,
char *  attribute_name,
u32  ns 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_xml_get_attribute_type ( u32  tag)

+ Here is the caller graph for this function:

const char* gf_svg_get_attribute_name ( GF_Node node,
u32  tag 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMAttribute* gf_xml_create_attribute ( GF_Node node,
u32  tag 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_xml_get_element_tag ( const char *  element_name,
u32  ns 
)

+ Here is the caller graph for this function:

const char* gf_xml_get_element_name ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_xml_get_element_namespace ( GF_Node n)

+ Here is the caller graph for this function:

u32 gf_node_get_attribute_count ( GF_Node node)

+ Here is the caller graph for this function:

GF_Err gf_node_get_attribute_info ( GF_Node node,
GF_FieldInfo info 
)

+ Here is the caller graph for this function:

void gf_node_delete_attributes ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SVGAttribute* gf_node_create_attribute_from_datatype ( u32  data_type,
u32  attribute_tag 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_get_attribute_by_name ( GF_Node node,
char *  name,
u32  xmlns_code,
Bool  create_if_not_found,
Bool  set_default,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void attributes_set_default_value ( GF_Node node,
SVGAttribute att 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_get_attribute_by_tag ( GF_Node node,
u32  attribute_tag,
Bool  create_if_not_found,
Bool  set_default,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

void gf_node_register_iri ( GF_SceneGraph *  sg,
XMLRI target 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_node_unregister_iri ( GF_SceneGraph *  sg,
XMLRI target 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_xml_node_clone ( GF_SceneGraph *  inScene,
GF_Node orig,
GF_Node cloned_parent,
char *  inst_id,
Bool  deep 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 check_existing_file ( char *  base_file,
char *  ext,
char *  data,
u32  data_size,
u32  idx 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_store_embedded_data ( XMLRI iri,
const char *  cache_dir,
const char *  base_filename 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

enum { ... } GF_SVGAttOption
struct xml_att_def xml_attributes[]
static
struct xml_elt_def xml_elements[]
static