#include <version.h>
Inheritance diagram for libsvx::Version:
Public Methods | |
Version (TiXmlElement &Element) | |
Create an SVX version element based on an XML element. More... | |
Version (const Version &a_version) | |
Construct a clone of the class Version. More... | |
~Version () | |
destructor, free all the sub-informations. | |
bool | IsValid () const |
There must be a name and a valid type. | |
TiXmlElement & | XmlElement () |
a method to get the informations of the element into an XML element. | |
Package * | FindPackage (const Package &the_item) const |
Find the specified Package in the ElementPackage list. | |
Version & | operator+= (const Version &the_object_to_add) |
bool | operator!= (const Version &the_object_to_compare) const |
2 versions are different if the type is different, the name is different. More... | |
bool | operator< (const Version &the_object_to_compare) const |
compare if one version is anterior to the other The previous element is more important than the date. | |
Protected Attributes | |
Attribute * | m_A_type |
The type of version (retail, eval, beta, alpha, todo). | |
Attribute * | m_A_date |
The date of the version stamp/tag. | |
Attribute * | m_A_previous |
The previous version of the same product (ie X.Y.Z-beta1). | |
Dependency * | m_Dependency |
The Dependency List. | |
Notes * | m_Notes |
The note connected to the version (explanations of what's new for example). | |
Changes * | m_Changes |
The changes added in this version. | |
Mvector< Package > | m_List_Package |
The list of packages of this version. |
Definition at line 63 of file version.h.
|
Create an SVX version element based on an XML element.
Definition at line 64 of file version.cxx. References m_A_date, m_A_previous, m_A_type, m_Changes, m_Dependency, m_List_Package, and m_Notes. |
|
Construct a clone of the class Version. Construct a clone of the class Version Definition at line 128 of file version.cxx. References m_A_date, m_A_previous, m_A_type, m_Changes, m_Dependency, m_List_Package, and m_Notes. |
|
2 versions are different if the type is different, the name is different.
Definition at line 351 of file version.cxx. References IsValid(), m_A_date, m_A_type, m_Changes, m_Dependency, and m_Notes. |