libSBML C API
libSBML 5.8.0 C API
|
XMLAttributes are a list of name/value pairs for XML elements.
Functions | |
LIBLAX_EXTERN int | XMLAttributes_add (XMLAttributes_t *xa, const char *name, const char *value) |
LIBLAX_EXTERN int | XMLAttributes_addWithNamespace (XMLAttributes_t *xa, const char *name, const char *value, const char *uri, const char *prefix) |
LIBLAX_EXTERN int | XMLAttributes_addWithTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, const char *value) |
LIBLAX_EXTERN int | XMLAttributes_clear (XMLAttributes_t *xa) |
LIBLAX_EXTERN XMLAttributes_t * | XMLAttributes_clone (const XMLAttributes_t *c) |
LIBLAX_EXTERN XMLAttributes_t * | XMLAttributes_create (void) |
LIBLAX_EXTERN void | XMLAttributes_free (XMLAttributes_t *xa) |
LIBLAX_EXTERN int | XMLAttributes_getIndex (const XMLAttributes_t *xa, const char *name) |
LIBLAX_EXTERN int | XMLAttributes_getIndexByNS (const XMLAttributes_t *xa, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLAttributes_getIndexByTriple (const XMLAttributes_t *xa, const XMLTriple_t *triple) |
LIBLAX_EXTERN int | XMLAttributes_getLength (const XMLAttributes_t *xa) |
LIBLAX_EXTERN char * | XMLAttributes_getName (const XMLAttributes_t *xa, int index) |
LIBLAX_EXTERN int | XMLAttributes_getNumAttributes (const XMLAttributes_t *xa) |
LIBLAX_EXTERN char * | XMLAttributes_getPrefix (const XMLAttributes_t *xa, int index) |
LIBLAX_EXTERN char * | XMLAttributes_getURI (const XMLAttributes_t *xa, int index) |
LIBLAX_EXTERN char * | XMLAttributes_getValue (const XMLAttributes_t *xa, int index) |
LIBLAX_EXTERN char * | XMLAttributes_getValueByName (const XMLAttributes_t *xa, const char *name) |
LIBLAX_EXTERN char * | XMLAttributes_getValueByNS (const XMLAttributes_t *xa, const char *name, const char *uri) |
LIBLAX_EXTERN char * | XMLAttributes_getValueByTriple (const XMLAttributes_t *xa, const XMLTriple_t *triple) |
LIBLAX_EXTERN int | XMLAttributes_hasAttribute (const XMLAttributes_t *xa, int index) |
LIBLAX_EXTERN int | XMLAttributes_hasAttributeWithName (const XMLAttributes_t *xa, const char *name) |
LIBLAX_EXTERN int | XMLAttributes_hasAttributeWithNS (const XMLAttributes_t *xa, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLAttributes_hasAttributeWithTriple (const XMLAttributes_t *xa, const XMLTriple_t *triple) |
LIBLAX_EXTERN int | XMLAttributes_isEmpty (const XMLAttributes_t *xa) |
LIBLAX_EXTERN int | XMLAttributes_readIntoBoolean (XMLAttributes_t *xa, const char *name, int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoBooleanByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoDouble (XMLAttributes_t *xa, const char *name, double *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoDoubleByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, double *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoInt (XMLAttributes_t *xa, const char *name, int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoIntByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoLong (XMLAttributes_t *xa, const char *name, long *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoLongByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, long *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoString (XMLAttributes_t *xa, const char *name, char **value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoStringByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, char **value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoUnsignedInt (XMLAttributes_t *xa, const char *name, unsigned int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_readIntoUnsignedIntByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple, unsigned int *value, XMLErrorLog_t *log, int required) |
LIBLAX_EXTERN int | XMLAttributes_remove (XMLAttributes_t *xa, int n) |
LIBLAX_EXTERN int | XMLAttributes_removeByName (XMLAttributes_t *xa, const char *name) |
LIBLAX_EXTERN int | XMLAttributes_removeByNS (XMLAttributes_t *xa, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLAttributes_removeByTriple (XMLAttributes_t *xa, const XMLTriple_t *triple) |
LIBLAX_EXTERN int | XMLAttributes_removeResource (XMLAttributes_t *xa, int n) |
LIBLAX_EXTERN int XMLAttributes_add | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | value | ||
) |
LIBLAX_EXTERN int XMLAttributes_addWithNamespace | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | value, | ||
const char * | uri, | ||
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLAttributes_addWithTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
const char * | value | ||
) |
LIBLAX_EXTERN int XMLAttributes_clear | ( | XMLAttributes_t * | xa | ) |
LIBLAX_EXTERN XMLAttributes_t* XMLAttributes_clone | ( | const XMLAttributes_t * | c | ) |
LIBLAX_EXTERN XMLAttributes_t* XMLAttributes_create | ( | void | ) |
LIBLAX_EXTERN void XMLAttributes_free | ( | XMLAttributes_t * | xa | ) |
LIBLAX_EXTERN int XMLAttributes_getIndex | ( | const XMLAttributes_t * | xa, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLAttributes_getIndexByNS | ( | const XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLAttributes_getIndexByTriple | ( | const XMLAttributes_t * | xa, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN int XMLAttributes_getLength | ( | const XMLAttributes_t * | xa | ) |
LIBLAX_EXTERN char* XMLAttributes_getName | ( | const XMLAttributes_t * | xa, |
int | index | ||
) |
LIBLAX_EXTERN int XMLAttributes_getNumAttributes | ( | const XMLAttributes_t * | xa | ) |
LIBLAX_EXTERN char* XMLAttributes_getPrefix | ( | const XMLAttributes_t * | xa, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLAttributes_getURI | ( | const XMLAttributes_t * | xa, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLAttributes_getValue | ( | const XMLAttributes_t * | xa, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLAttributes_getValueByName | ( | const XMLAttributes_t * | xa, |
const char * | name | ||
) |
LIBLAX_EXTERN char* XMLAttributes_getValueByNS | ( | const XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN char* XMLAttributes_getValueByTriple | ( | const XMLAttributes_t * | xa, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN int XMLAttributes_hasAttribute | ( | const XMLAttributes_t * | xa, |
int | index | ||
) |
LIBLAX_EXTERN int XMLAttributes_hasAttributeWithName | ( | const XMLAttributes_t * | xa, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLAttributes_hasAttributeWithNS | ( | const XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLAttributes_hasAttributeWithTriple | ( | const XMLAttributes_t * | xa, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN int XMLAttributes_isEmpty | ( | const XMLAttributes_t * | xa | ) |
LIBLAX_EXTERN int XMLAttributes_readIntoBoolean | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoBooleanByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoDouble | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
double * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoDoubleByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
double * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoInt | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoIntByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoLong | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
long * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoLongByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
long * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoString | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
char ** | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoStringByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
char ** | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoUnsignedInt | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
unsigned int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_readIntoUnsignedIntByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple, | ||
unsigned int * | value, | ||
XMLErrorLog_t * | log, | ||
int | required | ||
) |
LIBLAX_EXTERN int XMLAttributes_remove | ( | XMLAttributes_t * | xa, |
int | n | ||
) |
LIBLAX_EXTERN int XMLAttributes_removeByName | ( | XMLAttributes_t * | xa, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLAttributes_removeByNS | ( | XMLAttributes_t * | xa, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLAttributes_removeByTriple | ( | XMLAttributes_t * | xa, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN int XMLAttributes_removeResource | ( | XMLAttributes_t * | xa, |
int | n | ||
) |