Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
platform.h File Reference

platform/compiler specific stuff. More...

#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

 hugin_utils
 namespace for various utils
 

Functions

template<class str >
str hugin_utils::quoteStringInternal (const str &arg, const str &quotechar, const str &replacements)
 utility function; escapes characters in replacements with quotechar. More...
 
template<class str >
str hugin_utils::quoteString (const str &arg)
 Try to escape special chars on windows and linux. More...
 
template<class str >
str hugin_utils::quoteStringShell (const str &arg)
 Try to escape special chars in a string used by a unix type shell. More...
 
template<class str >
str hugin_utils::escapeStringMake (const str &arg)
 Escape dangerous chars in makefile strings/filenames (space),#,=. More...
 
template<class str >
str hugin_utils::quoteFilename (const str &arg)
 Quote a filename, so that it is surrounded by "". More...
 

Detailed Description

platform/compiler specific stuff.

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de

$Id$

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.

Definition in file platform.h.