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

libsvx::Package Class Reference

The class containing Package informations <package></package>. More...

#include <package.h>

Inheritance diagram for libsvx::Package:

libsvx::ElementText libsvx::ElementLicense libsvx::ElementDownloadable libsvx::ElementGeneric libsvx::ElementGeneric libsvx::ElementGeneric libsvx::Element libsvx::Element libsvx::Element List of all members.

Public Methods

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

 Package (const Package &a_package)
 Construct a clone of the class Package.

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

bool IsValid () const
 There must be at least an Activation, a Mirror. The os and cpu attributes must be valid ones.

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

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

Protected Attributes

Verificationm_Verification
 The verification list if there is one.

Mvector< Activationm_List_Activation
 The list of possible activation schemes.

Attributem_A_size
 The size in bytes of the package (in decimal string).

Attributem_A_type
 The type of the package (source or binary).

Attributem_A_os
 The os target of the package (see list in the DTD or the code).

Attributem_A_cpu
 The cpu target of the package (see list in the DTD or the code).

Attributem_A_lang
 The language target of the package.


Detailed Description

The class containing Package informations <package></package>.

Definition at line 64 of file package.h.


Member Function Documentation

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

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

Definition at line 263 of file package.cxx.

References IsValid(), m_A_cpu, m_A_lang, m_A_os, m_A_size, m_A_type, and m_Verification.

Package & Package::operator+= const Package &    the_object_to_add
 

Todo:
For each element of the list we should add missing Activation items (?)

Definition at line 300 of file package.cxx.

References IsValid(), m_A_cpu, m_A_lang, m_A_os, m_A_size, m_A_type, and m_Verification.


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