Public Member Functions

InkXmlConfigFile Class Reference

#include <InkXml.h>

Collaboration diagram for InkXmlConfigFile:
Collaboration graph
[legend]

Public Member Functions

 InkXmlConfigFile (const char *config_file)
 ~InkXmlConfigFile ()
void clear_objects ()
int parse (int fd)
int parse ()
void add_object (InkXmlObject *object)
InkXmlObjectfind_object (const char *object_name)
void display (FILE *fd=stdout)
InkXmlObjectfirst ()
InkXmlObjectnext (InkXmlObject *here)

Detailed Description

Definition at line 130 of file InkXml.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

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  ) 

Definition at line 213 of file InkXml.cc.

References first(), and next().

InkXmlObject * InkXmlConfigFile::find_object ( const char *  object_name  ) 

Definition at line 202 of file InkXml.cc.

References first(), and next().

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().


The documentation for this class was generated from the following files: