hugin_base/hugin_utils/platform.h File Reference
#include <hugin_shared.h>#include <math.h>#include <string>Include dependency graph for platform.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | hugin_utils |
Functions | |
| template<class str> | |
| str | quoteStringInternal (const str &arg, const str "echar, const str &replacements) |
| utility function; escapes characters in replacements with quotechar. | |
| template<class str> | |
| str | quoteString (const str &arg) |
| Try to escape special chars on windows and linux. | |
| template<class str> | |
| str | quoteStringShell (const str &arg) |
| Try to escape special chars in a string used by a unix type shell. | |
| template<class str> | |
| str | escapeStringMake (const str &arg) |
| Escape dangerous chars in makefile strings/filenames (space),#,=. | |
| template<class str> | |
| str | quoteFilename (const str &arg) |
| Quote a filename, so that it is surrounded by "". | |
Function Documentation
|
||||||||||
|
Escape dangerous chars in makefile strings/filenames (space),#,=.
|
|
||||||||||
|
Quote a filename, so that it is surrounded by "". I don't know the escape char for windows |
|
||||||||||
|
Try to escape special chars on windows and linux. : I'm quite sure that this routine doesn't replace some important shell chars I don't know of. This could lead to nasty behaviour and maybe even security holes. |
|
||||||||||||||||||||
|
utility function; escapes characters in replacements with quotechar.
|
|
||||||||||
|
Try to escape special chars in a string used by a unix type shell. : I'm quite sure that this routine doesn't replace some important shell chars I don't know of. This could lead to nasty behaviour and maybe even security holes. Note that : and = are not special shell charaters but they also should be escaped because they causes problems with gnumake. |
1.3.9.1