CeylanVersion.h File Reference

#include "CeylanTextDisplayable.h"
#include "CeylanTypes.h"
#include "CeylanException.h"
#include <string>

Include dependency graph for CeylanVersion.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  Ceylan::VersionException
class  Ceylan::Version
 Describes a version, with respect to the form: (major version). More...

Namespaces

namespace  Ceylan
 This part of the Ceylan namespace gathers some convenient string manipulation facilities to be widely used.

Functions

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


Function Documentation

CEYLAN_DLL 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().

CEYLAN_DLL 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