#include <svx.h>
Inheritance diagram for libsvx::Svx:
Public Methods | |
Svx (TiXmlElement &Element) | |
Create an SVX svx element based on an XML element. | |
~Svx () | |
destructor, free all the sub-informations. | |
bool | IsValid () const |
Valid if there is at list one product and the version is 1.0. | |
TiXmlElement & | XmlElement () |
a method to get the informations of the element into an XML element. | |
bool | Add (TiXmlElement &Element) |
Add the content of the class hierarchy to the current class. More... | |
Product * | FindProduct (const std::string &the_product_name) const |
Find the specified Product in the Svx data. | |
void | Iterate_Product_Begin () |
Put the Svx internal iterator on the first document. | |
bool | Iterate_Product_IsBegin () |
bool | Iterate_Product_IsEnd () |
Specify wether there is still a Product available in the list. | |
const std::string & | Iterate_Product_Next () |
Return the UID of the next Product in line. | |
const std::string & | Iterate_Product_Prev () |
Return the UID of the previous Product in line. | |
Version * | FindVersion (const std::string &the_product_uid, const std::string &the_version_name) |
Find the specified Version in the Svx data. | |
void | Iterate_Version_Begin (const std::string &the_product_uid) |
Put the Document internal iterator on the first document. | |
bool | Iterate_Version_IsBegin (const std::string &the_product_uid) |
Specify wether there is still a Version available in the list. | |
bool | Iterate_Version_IsEnd (const std::string &the_product_uid) |
Specify wether there is still a Version available in the list. | |
const std::string & | Iterate_Version_Next (const std::string &the_product_uid) |
Return the UID of the next Version in line. | |
const std::string & | Iterate_Version_Prev (const std::string &the_product_uid) |
Return the UID of the previous Version in line. | |
Protected Attributes | |
Attribute * | m_A_href |
A URL to get updated versions of this SVX file. | |
Attribute * | m_A_version |
The SVX syntax version (only 1.0 is currently supported). | |
Mvector< Product > | m_List_Product |
The list of products described in this SVX file. | |
size_t | m_Iterator_Product |
The current Product iterator. |
Definition at line 64 of file svx.h.
|
Add the content of the class hierarchy to the current class.
Definition at line 91 of file svx.cxx. References libsvx::Attribute::Attribute(), FindProduct(), m_A_href, m_A_version, m_List_Product, libsvx::Attribute::String(), and libsvx::ElementUid::UID(). Referenced by libsvx::Document::ParseAdd(), and Svx(). |