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

libsvx::Mirrors Class Reference

The class containing Mirrors informations <mirrors></mirrors>. More...

#include <mirrors.h>

Inheritance diagram for libsvx::Mirrors:

libsvx::Element List of all members.

Public Methods

 Mirrors (TiXmlElement &Element)
 Create an SVX Mirror Element based on an XML element.

 Mirrors (const Mirrors &a_mirrors)
 Construct a clone of the class Mirrors.

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

bool IsValid () const
 Valid if there is at list a URL. More...

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

Mirrors & operator+= (const Mirrors &the_object_to_add)
 Add the content of the new product to this object. More...

bool operator!= (const Mirrors &the_object_to_compare) const
UrlFindUrl (const Url &the_item) const
 Find the specified Version in the Product data.


Protected Attributes

Attributem_A_country
 The location of the specified mirror.

Mvector< Urlm_List_Url
 The list of URLs corresponding to the specified country.


Detailed Description

The class containing Mirrors informations <mirrors></mirrors>.

See also:
Url if you need only one URL

Definition at line 62 of file mirrors.h.


Member Function Documentation

bool Mirrors::IsValid   const [virtual]
 

Valid if there is at list a URL.

Todo:
verify the syntax of the attributes

Implements libsvx::Element.

Definition at line 116 of file mirrors.cxx.

References m_List_Url.

Referenced by operator!=(), and operator+=().

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

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

Definition at line 137 of file mirrors.cxx.

References IsValid(), and m_A_country.

Mirrors & Mirrors::operator+= const Mirrors &    the_object_to_add
 

Add the content of the new product to this object.

Todo:
real code

Definition at line 175 of file mirrors.cxx.

References FindUrl(), IsValid(), m_A_country, and m_List_Url.


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