#include <InkXml.h>
Public Member Functions | |
InkXmlObject (const char *object_name, bool dup_attrs_allowed=true) | |
~InkXmlObject () | |
void | clear_tags () |
int | add_tag (const char *tag, const char *value) |
int | add_attr (InkXmlAttr *attr) |
char * | tag_value (const char *tag_name) |
void | display (FILE *fd=stdout) |
char * | object_name () const |
InkXmlAttr * | first () const |
InkXmlAttr * | next (InkXmlAttr *here) const |
LINK (InkXmlObject, link) |
Definition at line 80 of file InkXml.h.
InkXmlObject::InkXmlObject | ( | const char * | object_name, | |
bool | dup_attrs_allowed = true | |||
) |
Definition at line 59 of file InkXml.cc.
References ats_strdup, and InkXmlObject().
Referenced by InkXmlObject().
InkXmlObject::~InkXmlObject | ( | ) |
Definition at line 65 of file InkXml.cc.
References ats_free(), and clear_tags().
int InkXmlObject::add_attr | ( | InkXmlAttr * | attr | ) |
Definition at line 91 of file InkXml.cc.
References a, Debug, Queue< C, L >::enqueue(), first(), ink_assert, next(), and InkXmlAttr::tag().
Referenced by add_tag().
int InkXmlObject::add_tag | ( | const char * | tag, | |
const char * | value | |||
) |
Definition at line 81 of file InkXml.cc.
References add_attr(), and ink_assert.
void InkXmlObject::clear_tags | ( | ) |
Definition at line 72 of file InkXml.cc.
References Queue< C, L >::dequeue().
Referenced by ~InkXmlObject().
void InkXmlObject::display | ( | FILE * | fd = stdout |
) |
InkXmlAttr* InkXmlObject::first | ( | ) | const [inline] |
Definition at line 96 of file InkXml.h.
References DLL< C, L >::head.
Referenced by add_attr(), display(), and tag_value().
InkXmlObject::LINK | ( | InkXmlObject | , | |
link | ||||
) |
InkXmlAttr* InkXmlObject::next | ( | InkXmlAttr * | here | ) | const [inline] |
Definition at line 100 of file InkXml.h.
Referenced by add_attr(), display(), InkXmlConfigFile::next(), and tag_value().
char* InkXmlObject::object_name | ( | ) | const [inline] |
Definition at line 92 of file InkXml.h.
Referenced by InkXmlConfigFile::parse().
char * InkXmlObject::tag_value | ( | const char * | tag_name | ) |