Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Message Class Reference

#include <Message.h>

Collaboration diagram for Message:

Collaboration graph
[legend]
List of all members.

Detailed Description

This is wrapper for recieved XML messages, it enables parsing to a XML tree for easy evaluation.

Definition at line 12 of file Message.h.

Public Methods

 Message (string value)
 Constructor which sets the value.

 Message ()
 Empty Constructor.

TreeNodegetTree ()
 Parses the XML and returns the tree if necessary.

string * getXML ()
 gets the XML from the Message

 ~Message ()
 Destructor.


Public Attributes

TreeNodenode
 The root TreeNode.

string xml
 The XML string.


Private Methods

void parseXML ()
 Parses the XML.


Constructor & Destructor Documentation

Message::Message string    value
 

Constructor which sets the value.

Definition at line 2 of file Message.C.

References node, and xml.

Message::Message  
 

Empty Constructor.

Definition at line 6 of file Message.C.

References node, and xml.

Message::~Message  
 

Destructor.

Definition at line 10 of file Message.C.

References node.


Member Function Documentation

TreeNode * Message::getTree  
 

Parses the XML and returns the tree if necessary.

Definition at line 18 of file Message.C.

References node, and parseXML().

Referenced by MessageExecutor::executeMessage().

string * Message::getXML  
 

gets the XML from the Message

Definition at line 15 of file Message.C.

References xml.

Referenced by Connector::process().

void Message::parseXML   [private]
 

Parses the XML.

Definition at line 25 of file Message.C.

References node, QuickDirtyXMLParser::parseString(), and xml.

Referenced by getTree().


Member Data Documentation

TreeNode* Message::node
 

The root TreeNode.

Definition at line 17 of file Message.h.

Referenced by getTree(), Message(), parseXML(), and ~Message().

string Message::xml
 

The XML string.

Definition at line 21 of file Message.h.

Referenced by getXML(), Message(), and parseXML().


The documentation for this class was generated from the following files:
Generated on Tue Dec 17 21:14:40 2002 for AUSS_Connector by doxygen1.2.18