![]() |
PhoenixPresentation
2.0.0
Set of cmake function to automate presentation generation
|
#include <string.h>
#include <string>
#include <iostream>
#include <vector>
#include "PString_impl.h"
Go to the source code of this file.
Classes | |
class | PString |
Extends the std::string. More... | |
Typedefs | |
typedef std::vector< PString > | PVecString |
Functions | |
PVecString | eraseFirstLastChar (const PVecString &vecStr, const PString &vecChar) |
Erase first and last characters of all PString in given vector. More... | |
void | eraseFirstLastChar (PVecString &vecOut, const PVecString &vecStr, const PString &vecChar) |
Erase first and last characters of all PString in given vector. More... | |
PString | phoenix_charToString (const char *ch) |
Convert a char pointer into a string (event if the char pointer is NULL) More... | |
bool | phoenix_isCharLowerCase (char ch) |
Tels if the character is lower case letter. More... | |
bool | phoenix_isCharNumber (char ch) |
Tels if the character is a number or not. More... | |
bool | phoenix_isCharUpperCase (char ch) |
Tels if the character is upper case letter. More... | |
typedef std::vector<PString> PVecString |
PVecString eraseFirstLastChar | ( | const PVecString & | vecStr, |
const PString & | vecChar | ||
) |
Erase first and last characters of all PString in given vector.
vecStr | : input PString |
vecChar | : set of characters to be removed |
Definition at line 63 of file PString.cpp.
References eraseFirstLastChar().
void eraseFirstLastChar | ( | PVecString & | vecOut, |
const PVecString & | vecStr, | ||
const PString & | vecChar | ||
) |
Erase first and last characters of all PString in given vector.
[out] | vecOut | : output vector of PString |
vecStr | : input PString | |
vecChar | : set of characters to be removed |
Definition at line 52 of file PString.cpp.
Referenced by checkEraseChar(), and eraseFirstLastChar().
PString phoenix_charToString | ( | const char * | ch | ) |
Convert a char pointer into a string (event if the char pointer is NULL)
ch | : char pointer to be converted into a string |
Definition at line 14 of file PString.cpp.
Referenced by PString::add(), checkCharToString(), PPath::getCurrentDirectory(), and phoenix_getenv().
bool phoenix_isCharLowerCase | ( | char | ch | ) |
Tels if the character is lower case letter.
ch | : caractère à tester |
Definition at line 35 of file PString.cpp.
Referenced by PString::firstToUpper(), PString::isLowerCase(), and PString::toUpper().
bool phoenix_isCharNumber | ( | char | ch | ) |
Tels if the character is a number or not.
ch | : character to be analysed |
Definition at line 43 of file PString.cpp.
Referenced by PString::isNumber().
bool phoenix_isCharUpperCase | ( | char | ch | ) |
Tels if the character is upper case letter.
ch | : caractère à tester |
Definition at line 27 of file PString.cpp.
Referenced by PString::firstToLower(), PString::isUpperCase(), PString::toLower(), and PString::toLowerUnderscore().