CeylanVersion.cc File Reference

#include "CeylanVersion.h"
#include "CeylanOperators.h"
#include "CeylanStringUtils.h"
#include <list>

Include dependency graph for CeylanVersion.cc:

Go to the source code of this file.

Functions

bool operator< (const Ceylan::Version &vFirst, const Ceylan::Version &vSecond)
 Returns true iff first version is strictly smaller than the second.
bool operator== (const Ceylan::Version &vFirst, const Ceylan::Version &vSecond)
 Returns true iff the two versions are strictly equal.


Function Documentation

bool operator< ( const Ceylan::Version vfirst,
const Ceylan::Version vsecond 
)

Returns true iff first version is strictly smaller than the second.

Note:
The 'throw' statement is commented since with such operators it cannot be specifically set.
Exceptions:
VersionException if the comparison would be meaningless.

Definition at line 218 of file CeylanVersion.cc.

References Ceylan::Version::canBeComparedWith(), generalUtils::false, Ceylan::Version::getMajorNumber(), Ceylan::Version::getMinorNumber(), Ceylan::Version::getReleaseNumber(), Ceylan::high, and Ceylan::Version::toString().

bool operator== ( const Ceylan::Version vFirst,
const Ceylan::Version vSecond 
)

Returns true iff the two versions are strictly equal.

Note:
The 'throw' statement is commented since with such operators it cannot be specifically set.
Exceptions:
VersionException if the comparison would be meaningless.

Definition at line 249 of file CeylanVersion.cc.

References Ceylan::Version::canBeComparedWith(), Ceylan::Version::getMajorNumber(), Ceylan::Version::getMinorNumber(), Ceylan::Version::getReleaseNumber(), Ceylan::high, Ceylan::Version::toString(), and generalUtils::true.


Generated on Thu Jun 4 20:40:00 2009 for Ceylan by  doxygen 1.5.8