| 
    rippled
    
   | 
 
A Semantic Version number. More...
#include <SemanticVersion.h>

Public Types | |
| using | identifier_list = std::vector< std::string > | 
Public Member Functions | |
| SemanticVersion () | |
| SemanticVersion (std::string const &version) | |
| bool | parse (std::string const &input) | 
| Parse a semantic version string.   | |
| std::string | print () const | 
| Produce a string from semantic version components.   | |
| bool | isRelease () const noexcept | 
| bool | isPreRelease () const noexcept | 
Public Attributes | |
| int | majorVersion | 
| int | minorVersion | 
| int | patchVersion | 
| identifier_list | preReleaseIdentifiers | 
| identifier_list | metaData | 
A Semantic Version number.
Identifies the build of a particular version of software using the Semantic Versioning Specification described here:
Definition at line 16 of file SemanticVersion.h.
Definition at line 19 of file SemanticVersion.h.
| beast::SemanticVersion::SemanticVersion | ( | ) | 
Definition at line 141 of file SemanticVersion.cpp.
| beast::SemanticVersion::SemanticVersion | ( | std::string const & | version | ) | 
Definition at line 146 of file SemanticVersion.cpp.
| bool beast::SemanticVersion::parse | ( | std::string const & | input | ) | 
Parse a semantic version string.
The parsing is as strict as possible.
true if the string was parsed. Definition at line 153 of file SemanticVersion.cpp.
| std::string beast::SemanticVersion::print | ( | ) | const | 
Produce a string from semantic version components.
Definition at line 221 of file SemanticVersion.cpp.
      
  | 
  noexcept | 
Definition at line 44 of file SemanticVersion.h.
      
  | 
  noexcept | 
Definition at line 49 of file SemanticVersion.h.
| int beast::SemanticVersion::majorVersion | 
Definition at line 21 of file SemanticVersion.h.
| int beast::SemanticVersion::minorVersion | 
Definition at line 22 of file SemanticVersion.h.
| int beast::SemanticVersion::patchVersion | 
Definition at line 23 of file SemanticVersion.h.
| identifier_list beast::SemanticVersion::preReleaseIdentifiers | 
Definition at line 25 of file SemanticVersion.h.
| identifier_list beast::SemanticVersion::metaData | 
Definition at line 26 of file SemanticVersion.h.