#include <product.h>
Inheritance diagram for libsvx::Product:

Public Methods | |
| Product (TiXmlElement &Element) | |
| Create an SVX Product Element based on an XML element. More... | |
| ~Product () | |
| destructor, free all the sub-informations. | |
| bool | IsValid () const |
| Valid ??? More... | |
| TiXmlElement & | XmlElement () |
| a method to get the informations of the element into an XML element. | |
| const Attribute * | HREF () const |
| The URL to get updated info of the element (href="xxx"). | |
| Product & | operator+= (const Product &the_object_to_add) |
| Add the content of the new product to this object. More... | |
| bool | operator!= (const Product &the_object_to_compare) const |
| bool | IsOldVersion (const std::string &the_version_to_check) const |
| const Version * | GetLatestVersion () |
| Retrieve the newest version of the product. More... | |
| Version * | FindVersion (const std::string &the_version_name) |
| Find the specified Version in the Product data. | |
| void | Iterate_Version_Begin () |
| Find the specified Version in the Product data / Version * Product::FindVersion(const Version & the_version) const { std::list<Version *>const_iterator current_version = m_List_Version.begin(); Put the Product internal iterator on the first document. | |
| bool | Iterate_Version_IsBegin () |
| Specify wether there is still a Version available before in the list. | |
| bool | Iterate_Version_IsEnd () |
| Specify wether there is still a Version available next in the list. | |
| const std::string & | Iterate_Version_Next () |
| Return the name of the next Version in line. | |
| const std::string & | Iterate_Version_Prev () |
| Return the name of the next Version in line. | |
Protected Attributes | |
| Attribute * | m_A_href |
| The URL to get updated versions of this SVX section. | |
| Attribute * | m_A_ihref |
| The URL to get updated informations on the package. | |
| Vendor * | m_Vendor |
| The vendor informations. | |
| Description * | m_Description |
| A list of description texts to describe the product in details. | |
| Mvector< Version > | m_List_Version |
| The list of versions of the "product". | |
| size_t | m_Iterator_Version |
| The current Product iterator. | |
Definition at line 67 of file product.h.
|
|
Create an SVX Product Element based on an XML element.
Definition at line 61 of file product.cxx. References m_A_href, m_A_ihref, m_Description, m_Iterator_Version, m_List_Version, and m_Vendor. |
|
|
Retrieve the newest version of the product.
Definition at line 188 of file product.cxx. References m_List_Version, and libsvx::Mvector< Version >::sort(). Referenced by libsvx::Document::GetLatestProductVersion(). |
|
|
Valid ???
Reimplemented from libsvx::ElementLicense. Definition at line 135 of file product.cxx. References libsvx::ElementName::m_A_name, libsvx::ElementUid::m_A_uid, and m_List_Version. Referenced by operator+=(). |
|
|
Add the content of the new product to this object.
Definition at line 220 of file product.cxx. References FindVersion(), IsValid(), m_A_href, m_A_ihref, libsvx::ElementUid::m_A_uid, m_Description, m_List_Version, m_Vendor, libsvx::Attribute::String(), and libsvx::ElementUid::UID(). |
1.2.15