stringToVersion#
Fully qualified name: omni::extras::stringToVersion
Defined in omni/extras/Version.h
- inline bool omni::extras::stringToVersion(
 - const std::string &str,
 - SemanticVersion &outVersion,
 Parses a given string into a semantic version.
- Parameters:
 str – The string to parse into a semantic version, as described by SemanticVersion::toString()
outVersion – A reference that will receive the semantic version. If
falseis returned, this reference will be in an indeterminate state.
- Returns:
 trueif parsing succeeded andoutVersionhas received the parsed semantic version;falseif parsing failed andoutVersionis in an indeterminate state and should not be used