|
kodi
|

Public Member Functions | |
| CAddonVersion (const char *version=nullptr) | |
| CAddonVersion (const std::string &version) | |
| CAddonVersion (const CAddonVersion &other)=default | |
| CAddonVersion (CAddonVersion &&other)=default | |
| CAddonVersion & | operator= (const CAddonVersion &other)=default |
| CAddonVersion & | operator= (CAddonVersion &&other)=default |
| int | Epoch () const |
| const std::string & | Upstream () const |
| const std::string & | Revision () const |
| bool | operator< (const CAddonVersion &other) const |
| bool | operator> (const CAddonVersion &other) const |
| bool | operator<= (const CAddonVersion &other) const |
| bool | operator>= (const CAddonVersion &other) const |
| bool | operator== (const CAddonVersion &other) const |
| bool | operator!= (const CAddonVersion &other) const |
| std::string | asString () const |
| bool | empty () const |
Static Public Member Functions | |
| static bool | SplitFileName (std::string &ID, std::string &version, const std::string &filename) |
Static Protected Member Functions | |
| static int | CompareComponent (const char *a, const char *b) |
| Compare two components of a Debian-style version. More... | |
Protected Attributes | |
| int | mEpoch |
| std::string | mUpstream |
| std::string | mRevision |
|
staticprotected |
Compare two components of a Debian-style version.
Return -1, 0, or 1 if a is less than, equal to, or greater than b, respectively.
1.8.13