Contains internal settings and references for PGE File Library. More...
#include <string>#include <vector>#include <utility>#include <iostream>#include <fstream>#include <sstream>#include <cstring>#include <algorithm>#include <map>Go to the source code of this file.
Classes | |
| class | PGE_FileFormats_misc::FileInfo |
| Provides cross-platform file path calculation for a file names or paths. More... | |
| class | PGE_FileFormats_misc::TextFileInput |
| Provides cross-platform text file reading interface. More... | |
Namespaces | |
| PGE_FileFormats_misc | |
Macros | |
| #define | PGE_FILES_INGERED |
| #define | PGESTRING std::string |
| A macro which equal to std::string if PGE File Library built in the STL mode and equal to QString if PGE File Library built in the Qt mode. | |
| #define | PGESTRINGisEmpty() empty() |
| #define | PGEGetChar(chr) chr |
| #define | PGEChar char |
| A macro which equal to 'char' if PGE File Library built in the STL mode and equal to QChar if PGE File Library built in the Qt mode. | |
| #define | PGESTRINGList std::vector<std::string > |
| A macro which equal to std::vector<std::string> if PGE File Library built in the STL mode and equal to QStringList if PGE File Library built in the Qt mode. | |
| #define | PGEVECTOR std::vector |
| A macro which equal to std::vector if PGE File Library built in the STL mode and equal to QVector if PGE File Library built in the Qt mode. | |
| #define | PGELIST std::vector |
| A macro which equal to std::vector if PGE File Library built in the STL mode and equal to QList if PGE File Library built in the Qt mode. | |
| #define | PGEPAIR std::pair |
| #define | PGEMAP std::map |
| #define | PGEFILE std::fstream |
| #define | PGE_SPLITSTR(dst, src, sep) dst.clear(); PGE_FileFormats_misc::split(dst, src, sep); |
| #define | PGE_RemSRng(pos, len) erase(pos, len) |
Functions | |
| PGESTRING | PGESTR_Simpl (PGESTRING str) |
| void | PGE_FileFormats_misc::split (std::vector< std::string > &dest, const std::string &str, std::string separator) |
| void | PGE_FileFormats_misc::replaceAll (std::string &str, const std::string &from, const std::string &to) |
| void | PGE_FileFormats_misc::RemoveSub (std::string &sInput, const std::string &sub) |
| bool | PGE_FileFormats_misc::hasEnding (std::string const &fullString, std::string const &ending) |
| PGESTRING | PGE_ReplSTR (PGESTRING src, PGESTRING from, PGESTRING to) |
| PGESTRING | PGE_RemSSTR (PGESTRING src, PGESTRING substr) |
| bool | IsNULL (PGESTRING str) |
| int | toInt (PGESTRING str) |
| float | toFloat (PGESTRING str) |
| double | toDouble (PGESTRING str) |
| PGESTRING | removeSpaces (PGESTRING src) |
| template<typename T > | |
| PGESTRING | fromNum (T num) |
Contains internal settings and references for PGE File Library.
All defined here macroses are allows to build PGE File Library for both Qt and STL libraries set.
1.8.7