![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include <string>#include <list>
Include dependency graph for string_lower_upper.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| std::string | firstToLower (const std::string &str) |
| Convert first letter of the std::string in lower case. More... | |
| std::string | firstToUpper (const std::string &str) |
| Convert first letter of the std::string in upper case. More... | |
| bool | isCharLetter (char ch) |
| Tels if the character is a letter or '_'. More... | |
| bool | isCharLetterOrStar (char ch) |
| Tels if the character is letter, star or '_'. More... | |
| bool | isCharLowerCase (char ch) |
| Tels if the character is lower case letter. More... | |
| bool | isCharNumber (char ch) |
| Tels if the character is a number or not. More... | |
| bool | isCharNumberDotMinusPlusE (char ch) |
| Tels if the character is a figure, a '.', a -, +, e or E. More... | |
| bool | isCharNumberOrDot (char ch) |
| Tels if the character is a number or a '.'. More... | |
| bool | isCharNumberOrLetter (char ch) |
| Tels if the character is letter, figure or '_'. More... | |
| bool | isCharNumberOrLetterOrDot (char ch) |
| Tels if the character is a letter, number, '.' or '_'. More... | |
| bool | isCharNumberOrLetterOrStar (char ch) |
| Tels if the character is letter, number, star or '_'. More... | |
| bool | isCharNumberOrStar (char ch) |
| Tels if the character is number or star. More... | |
| bool | isCharUpperCase (char ch) |
| Tels if the character is upper case letter. More... | |
| bool | isListStrNumber (const std::list< std::string > &listStr) |
| Say if the list of std::string contains a number. More... | |
| bool | isStrLowerCase (const std::string &str) |
| Say if the given std::string is in lowercase. More... | |
| bool | isStrNumber (const std::string &str) |
| Tels if std::string contains figures. More... | |
| bool | isStrNumberDotMinusPlusE (const std::string &str) |
| Tels if std::string std::string contains figures, '.', -, +, e or E. More... | |
| bool | isStrNumberOrDot (const std::string &str) |
| Tels if std::string contains figures or dots. More... | |
| bool | isStrUpperCase (const std::string &str) |
| Say if the given std::string is in uppercase. More... | |
| std::string | strToLower (const std::string &str) |
| Convert std::string in lower case. More... | |
| std::string | strToLowerUnderscore (const std::string &str) |
| Convert std::string in lower case and space in '_'. More... | |
| std::string | strToUpper (const std::string &str) |
| Convert std::string in upper case. More... | |
| std::string firstToLower | ( | const std::string & | str | ) |
Convert first letter of the std::string in lower case.
| str | : std::string to be converted |
Definition at line 262 of file string_lower_upper.cpp.
References isCharUpperCase(), and createReleaseCurl::str.
Referenced by checkResultFirstLower().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string firstToUpper | ( | const std::string & | str | ) |
Convert first letter of the std::string in upper case.
| str | : std::string to be converted |
Definition at line 248 of file string_lower_upper.cpp.
References isCharLowerCase(), and createReleaseCurl::str.
Referenced by checkResultFirstUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isCharLetter | ( | char | ch | ) |
Tels if the character is a letter or '_'.
| ch | : character to be analysed |
Definition at line 98 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharLetterOrStar | ( | char | ch | ) |
Tels if the character is letter, star or '_'.
| ch | : character to be analysed |
Definition at line 130 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharLowerCase | ( | char | ch | ) |
Tels if the character is lower case letter.
| ch | : caractère à tester |
Definition at line 154 of file string_lower_upper.cpp.
Referenced by firstToUpper(), isStrLowerCase(), strToUpper(), and testCharsType().
Here is the caller graph for this function:| bool isCharNumber | ( | char | ch | ) |
Tels if the character is a number or not.
| ch | : character to be analysed |
Definition at line 14 of file string_lower_upper.cpp.
Referenced by isStrNumber(), and testCharsType().
Here is the caller graph for this function:| bool isCharNumberDotMinusPlusE | ( | char | ch | ) |
Tels if the character is a figure, a '.', a -, +, e or E.
| ch | : character to be analysed |
Definition at line 60 of file string_lower_upper.cpp.
Referenced by isStrNumberDotMinusPlusE().
Here is the caller graph for this function:| bool isCharNumberOrDot | ( | char | ch | ) |
Tels if the character is a number or a '.'.
| ch | : character to be analysed |
Definition at line 52 of file string_lower_upper.cpp.
Referenced by isStrNumberOrDot(), and testIsType().
Here is the caller graph for this function:| bool isCharNumberOrLetter | ( | char | ch | ) |
Tels if the character is letter, figure or '_'.
| ch | : character to be analysed |
Definition at line 106 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharNumberOrLetterOrDot | ( | char | ch | ) |
Tels if the character is a letter, number, '.' or '_'.
| ch | : character to be analysed |
Definition at line 114 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharNumberOrLetterOrStar | ( | char | ch | ) |
Tels if the character is letter, number, star or '_'.
| ch | : character to be analysed |
Definition at line 138 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharNumberOrStar | ( | char | ch | ) |
Tels if the character is number or star.
| ch | : character to be analysed |
Definition at line 122 of file string_lower_upper.cpp.
Referenced by testCharsType().
Here is the caller graph for this function:| bool isCharUpperCase | ( | char | ch | ) |
Tels if the character is upper case letter.
| ch | : caractère à tester |
Definition at line 146 of file string_lower_upper.cpp.
Referenced by firstToLower(), isStrUpperCase(), strToLower(), strToLowerUnderscore(), and testCharsType().
Here is the caller graph for this function:| bool isListStrNumber | ( | const std::list< std::string > & | listStr | ) |
Say if the list of std::string contains a number.
| listStr | : list of std::strings to be checked |
Definition at line 37 of file string_lower_upper.cpp.
References isStrNumber().
Referenced by testIsListStrNumber().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isStrLowerCase | ( | const std::string & | str | ) |
Say if the given std::string is in lowercase.
| str | : std::string to be checked |
Definition at line 176 of file string_lower_upper.cpp.
References isCharLowerCase(), and createReleaseCurl::str.
Referenced by testIsLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isStrNumber | ( | const std::string & | str | ) |
Tels if std::string contains figures.
| str | : std::string to be tested |
Definition at line 22 of file string_lower_upper.cpp.
References isCharNumber(), and createReleaseCurl::str.
Referenced by isListStrNumber(), and testIsType().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isStrNumberDotMinusPlusE | ( | const std::string & | str | ) |
Tels if std::string std::string contains figures, '.', -, +, e or E.
| str | : std::string to be tested |
Definition at line 83 of file string_lower_upper.cpp.
References isCharNumberDotMinusPlusE(), and createReleaseCurl::str.
Referenced by testIsType().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isStrNumberOrDot | ( | const std::string & | str | ) |
Tels if std::string contains figures or dots.
| str | : std::string to be tested |
Definition at line 68 of file string_lower_upper.cpp.
References isCharNumberOrDot(), and createReleaseCurl::str.
Referenced by testIsType().
Here is the call graph for this function:
Here is the caller graph for this function:| bool isStrUpperCase | ( | const std::string & | str | ) |
Say if the given std::string is in uppercase.
| str | : std::string to be checked |
Definition at line 162 of file string_lower_upper.cpp.
References isCharUpperCase(), and createReleaseCurl::str.
Referenced by testIsLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string strToLower | ( | const std::string & | str | ) |
Convert std::string in lower case.
| str | : std::string to be converted |
Definition at line 190 of file string_lower_upper.cpp.
References isCharUpperCase(), and createReleaseCurl::str.
Referenced by checkResultLower().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string strToLowerUnderscore | ( | const std::string & | str | ) |
Convert std::string in lower case and space in '_'.
| str | : std::string to be converted |
Definition at line 228 of file string_lower_upper.cpp.
References isCharUpperCase(), and createReleaseCurl::str.
Referenced by checkResultLowerUnderscore().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string strToUpper | ( | const std::string & | str | ) |
Convert std::string in upper case.
| str | : std::string to be converted |
Definition at line 209 of file string_lower_upper.cpp.
References isCharLowerCase(), and createReleaseCurl::str.
Referenced by checkResultUpper().
Here is the call graph for this function:
Here is the caller graph for this function: