Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

libsvx::Element Class Reference

A virtual class containing Element informations <element></element>. More...

#include <element.h>

Inheritance diagram for libsvx::Element:

libsvx::Changes libsvx::ElementGeneric libsvx::ElementPCData libsvx::Mirrors libsvx::Svx libsvx::Verification libsvx::ElementDownloadable libsvx::ElementLicense libsvx::ElementName libsvx::ElementText libsvx::ElementUid libsvx::Activation libsvx::Crc32 libsvx::Csv libsvx::Email libsvx::Md5 libsvx::Sfv libsvx::Text libsvx::Url List of all members.

Public Methods

 Element (TiXmlElement &Element, const std::string the_name)
 Create an Element based on a XML element.

 Element (const Element &a_element)
 Construct a clone of the class Element.

virtual ~Element ()
 virtual destructor (not used).

virtual bool IsValid () const=0
 pure virtual method that says if the element content is valid.

virtual TiXmlElement & XmlElement ()=0
 a method to get the informations of the element into an XML element.

Element & operator+= (const Element &the_object_to_add)
bool operator!= (const Element &the_object_to_compare) const

Protected Attributes

TiXmlElement * m_Node
 the node corresponding to the element.

std::string m_TagName
 the element tag name <name />.


Detailed Description

A virtual class containing Element informations <element></element>.

Definition at line 56 of file element.h.


Member Function Documentation

bool Element::operator!= const Element &    the_object_to_compare const
 

Todo:
For each element of the list we should have the same list of mirrors (?)

Definition at line 81 of file element.cxx.

References m_TagName.

Element & Element::operator+= const Element &    the_object_to_add
 

Todo:
handle m_Node attribute

Definition at line 71 of file element.cxx.

References m_TagName.


The documentation for this class was generated from the following files:
Generated on Sat Apr 13 15:45:49 2002 for libsvx by doxygen1.2.15