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

libsvx::Dependency Class Reference

The class containing Dependency informations <dependency></dependency>. More...

#include <dependency.h>

Inheritance diagram for libsvx::Dependency:

libsvx::ElementUid libsvx::ElementGeneric libsvx::Element List of all members.

Public Methods

 Dependency (TiXmlElement &Element)
 Create an SVX Dependency Element based on a XML element.

 Dependency (const Dependency &a_dependency)
 Construct a clone of the class Dependency. More...

 ~Dependency ()
 destructor, free all the sub-informations.

bool IsValid () const
 There must be at least one dversion, a dependency id and a valid link.

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

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

Protected Attributes

Mvector< DVersionm_List_DVersion
 The list of dependent versions definitions.

Attributem_A_link
 The link type of the specified "product" dependency (SVX meaning).

Attributem_A_priority
 The priority of the specified "product" dependency (usefull to have a hierarchy of dependencies).

Attributem_A_href
 The URL to get updated versions of this SVX section (supersedes the product one).


Detailed Description

The class containing Dependency informations <dependency></dependency>.

Definition at line 61 of file dependency.h.


Constructor & Destructor Documentation

Dependency::Dependency const Dependency &    a_item
 

Construct a clone of the class Dependency.

Construct a clone of the class Dependency

Definition at line 95 of file dependency.cxx.

References m_A_href, m_A_link, m_A_priority, and m_List_DVersion.


Member Function Documentation

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

Todo:
For each element of the lists we should have the same dependency version items (?)

Definition at line 176 of file dependency.cxx.

References IsValid(), m_A_href, m_A_link, and m_A_priority.


The documentation for this class was generated from the following files:
Generated on Sat Apr 13 22:56:50 2002 for libsvx by doxygen1.2.15