18 if(themeMatch ==
""){
return false;}
20 if(themeMatch != themeName){
25 outputCss = themeMatch + strSpace;
32 outputCss = themeMatch + strSpace;
std::vector< PString > PVecString
classe qui permet de parser des fichiers texte en renvoyant les tokens les uns après les autres
void setSeparator(const PString &separator)
Initialise la liste des caractères séparateurs.
PString getUntilKeyWithoutPatern(const PString &patern)
Renvoie la chaine de caractère du caractère courant jusqu'à patern exclu.
PString getStrComposedOf(const PString &charset)
Get string composed of the characters in the string charset.
void setWhiteSpace(const PString &whiteSpace)
Initialise la liste des caractères blancs.
bool isMatch(const PString &patern)
Says if the patern match with the current caracters of the PFileParser.
char getCurrentCh() const
Renvoie le caractère courant.
void setFileContent(const PString &fileContent)
Set the file content.
bool isEndOfFile() const
Dit si on est à la fin du fichier.
char getNextChar()
Fonction qui renvoie le prochain caractère du fichier courant.
PString select_css_theme(const PVecString &vecTheme, const PString &themeName, const PString &css)
Select the right css option by respect to the given theme.
bool parseThemeSwitch(PString &outputCss, PFileParser &parser, const PVecString &vecTheme, const PString &themeName)
Parse the theme switch.