struct CCL::VersionNumber

#include <versionnumber.h>

struct VersionNumber: public Core::Version
{
    // methods

    String print (Format format = kLong) const;
    VersionNumber& scan (StringRef string);
    operator String () const;
};

Inherited Members

public:
    // enums

    enum Format;

    // fields

    int major;
    int minor;
    int revision;
    int build;

    // methods

    template  <typename StringType>
    void toCString (
        StringType& string,
        Format format = kLong
    ) const;

    Version& fromCString (CStringPtr string);
    int compare (const Version& v) const;
    bool isWithin (const Version& minVersion, const Version& maxVersion) const;
    bool operator == (const Version& v) const;
    bool operator != (const Version& v) const;
    bool operator > (const Version& v) const;
    bool operator >= (const Version& v) const;
    bool operator < (const Version& v) const;
    bool operator <= (const Version& v) const;