~ubuntu-branches/debian/squeeze/gmsh/squeeze

1.2.6 by Christophe Prud'homme
Import upstream version 2.3.0.dfsg
1
// Gmsh - Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle
1.2.3 by Christophe Prud'homme
Import upstream version 2.2.3
2
//
3
// See the LICENSE.txt file for license information. Please report all
4
// bugs and problems to <gmsh@geuz.org>.
5
1.2.4 by Christophe Prud'homme
Import upstream version 2.2.5.dfsg
6
#ifndef _STRING_UTILS_H_
7
#define _STRING_UTILS_H_
1.3.5 by Christophe Prud'homme
Import upstream version 2.2.0
8
9
#include <string.h>
10
#include <string>
1.2.5 by Christophe Prud'homme
Import upstream version 2.2.6.dfsg
11
#include <vector>
1.3.5 by Christophe Prud'homme
Import upstream version 2.2.0
12
1.2.3 by Christophe Prud'homme
Import upstream version 2.2.3
13
void SwapBytes(char *array, int size, int n);
14
std::string ExtractDoubleQuotedString(const char *str, int len);
15
std::string SanitizeTeXString(const char *in, int equation);
1.4.2 by Christophe Prud'homme
Import upstream version 2.4.2.dfsg
16
std::string FixWindowsPath(std::string in);
1.4.1 by Christophe Prud'homme
Import upstream version 2.4.1.dfsg
17
std::string FixRelativePath(std::string reference, std::string in);
1.2.7 by Christophe Prud'homme
Import upstream version 2.3.1.dfsg
18
std::vector<std::string> SplitFileName(std::string fileName);
1.2.5 by Christophe Prud'homme
Import upstream version 2.2.6.dfsg
19
std::vector<std::string> SplitWhiteSpace(std::string in, unsigned int len);
1.4.2 by Christophe Prud'homme
Import upstream version 2.4.2.dfsg
20
std::string ReplacePercentS(std::string in, std::string val);
1.3.5 by Christophe Prud'homme
Import upstream version 2.2.0
21
22
#endif