#include <InkXml.h>
Public Member Functions | |
InkXmlConfigFile (const char *config_file) | |
~InkXmlConfigFile () | |
void | clear_objects () |
int | parse (int fd) |
int | parse () |
void | add_object (InkXmlObject *object) |
InkXmlObject * | find_object (const char *object_name) |
void | display (FILE *fd=stdout) |
InkXmlObject * | first () |
InkXmlObject * | next (InkXmlObject *here) |
Definition at line 130 of file InkXml.h.
InkXmlConfigFile::InkXmlConfigFile | ( | const char * | config_file | ) |
Definition at line 133 of file InkXml.cc.
References ats_strdup, and InkXmlConfigFile().
Referenced by InkXmlConfigFile().
InkXmlConfigFile::~InkXmlConfigFile | ( | ) |
Definition at line 140 of file InkXml.cc.
References ats_free(), and clear_objects().
void InkXmlConfigFile::add_object | ( | InkXmlObject * | object | ) |
Definition at line 231 of file InkXml.cc.
References Queue< C, L >::enqueue(), and ink_assert.
Referenced by parse().
void InkXmlConfigFile::clear_objects | ( | ) |
Definition at line 147 of file InkXml.cc.
References Queue< C, L >::dequeue().
Referenced by ~InkXmlConfigFile().
void InkXmlConfigFile::display | ( | FILE * | fd = stdout |
) |
InkXmlObject * InkXmlConfigFile::find_object | ( | const char * | object_name | ) |
InkXmlObject* InkXmlConfigFile::first | ( | ) | [inline] |
Definition at line 146 of file InkXml.h.
References DLL< C, L >::head.
Referenced by display(), and find_object().
InkXmlObject* InkXmlConfigFile::next | ( | InkXmlObject * | here | ) | [inline] |
Definition at line 150 of file InkXml.h.
References InkXmlObject::next().
Referenced by display(), and find_object().
int InkXmlConfigFile::parse | ( | int | fd | ) |
Definition at line 157 of file InkXml.cc.
References add_object(), Debug, ink_assert, and InkXmlObject::object_name().
int InkXmlConfigFile::parse | ( | ) |
Definition at line 177 of file InkXml.cc.
References add_object(), Debug, ink_assert, and InkXmlObject::object_name().