MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / TypeOfCharacter

Method TypeOfCharacter

_fervor/fvversioncomparator.cpp:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23FvVersionComparator::CharacterType FvVersionComparator::TypeOfCharacter(std::string character)
24{
25 if (character == ".") {
26 return kSeparatorType;
27 } else if (isdigit(character[0])) {
28 return kNumberType;
29 } else if (isspace(character[0])) {
30 return kSeparatorType;
31 } else if (ispunct(character[0])) {
32 return kSeparatorType;
33 } else {
34 return kStringType;
35 }
36
37}
38
39std::vector<std::string> FvVersionComparator::SplitVersionString(std::string version)
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected