TagNode Struct Reference

Represents a tag buffer node (element node of an XML tree). More...

#include <tagnode.h>

Collaboration diagram for TagNode:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TagNode (TAG _tag)
 Constructor.
virtual ~TagNode ()

Public Attributes

TAG tag
 The entered numeric value of the element name.
bool is_closed
 The boolean value if the closing tag has already been read.
BufferNodeList children


Detailed Description

Represents a tag buffer node (element node of an XML tree).

Represents a tag buffer node (element node of an XML tree) which carries the tag id (numeric value of the element name), a list of children and a flag that indicates whether the tag node is closed (i.e. if the closing tag has been read) or not.

Note:
Tag buffer nodes (element nodes of an XML tree) are internally represented by numbers!
Author:
Michael Schmidt

Gunnar Jehl

Version:
2.1
License:
Software License Agreement (BSD License)

Definition at line 53 of file tagnode.h.


Constructor & Destructor Documentation

TagNode::TagNode ( TAG  _tag  ) 

Constructor.

Constructor - creating object for a tag (numeric value of the element name).

Parameters:
[in] _tag The numeric value of the element name.

Definition at line 37 of file tagnode.cpp.

TagNode::~TagNode (  )  [virtual]

Destructor.

Definition at line 41 of file tagnode.cpp.


Member Data Documentation

The boolean value if the closing tag has already been read.

The boolean value if the closing tag has already been read, i.e. true if the closing tag has been read, false otherwise.

Definition at line 77 of file tagnode.h.

The entered numeric value of the element name.

The entered numeric value of the element name, which is the argument of the constructor.

Definition at line 70 of file tagnode.h.


Generated on Sun May 24 20:20:30 2009 for G(arbage) C(ollected) X(Query) Engine by  doxygen 1.5.9