00001 /************************************************************************ 00002 ************************************************************************ 00003 FAUST compiler 00004 Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale 00005 --------------------------------------------------------------------- 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 ************************************************************************ 00020 ************************************************************************/ 00021 00022 00023 00024 #ifndef _doc_stringFAUST_H 00025 #define _doc_stringFAUST_H 00026 00027 /********************************************************************** 00028 - string.h : Chaines de caractere - 00029 00030 00031 Historique : 00032 ----------- 00033 17-11-2001 : implementation initiale (yo) 00034 2009-08-17 : adaptation pour documentator (kb) 00035 ***********************************************************************/ 00036 #include <string> 00037 #include <vector> 00038 using namespace std; 00039 00040 00041 //string subst (const string& m, const string& a0); 00042 //string subst (const string& m, const vector<string>& vargs); 00043 //string subst (const string& m, const string& a0, const string& a1); 00044 //string subst (const string& m, const string& a0, const string& a1, const string& a2); 00045 //string subst (const string& model, const string& a0, const string& a1, const string& a2, const string& a3); 00046 //string subst (const string& model, const string& a0, const string& a1, const string& a2, const string& a3, const string& a4); 00047 //string subst (const string& model, const string& a0, const string& a1, const string& a2, const string& a3, const string& a4, const string& a5); 00048 //string subst (const string& model, const string& a0, const string& a1, const string& a2, const string& a3, const string& a4, const string& a5, const string& a6); 00049 00050 string docT (char* c); 00051 string docT (int n); 00052 string docT (long n); 00053 //string docT (float n); 00054 string docT (double n); 00055 00056 // add and remove quotes of a string 00057 //string unquote(const string& s); 00058 //string quote(const string& s); 00059 00060 00061 #endif