SvnCpp
url.hpp
Go to the documentation of this file.
1 /*
2  * ====================================================================
3  * Copyright (c) 2002-2009 The RapidSvn Group. All rights reserved.
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program (in the file GPL.txt.
17  * If not, see <http://www.gnu.org/licenses/>.
18  *
19  * This software consists of voluntary contributions made by many
20  * individuals. For exact contribution history, see the revision
21  * history and logs, available at http://rapidsvn.tigris.org/.
22  * ====================================================================
23  */
24 #ifndef _SVNCPP_URL_HPP_
25 #define _SVNCPP_URL_HPP_
26 
27 // stl
30 
31 namespace svn
32 {
33  class Url
34  {
35  public:
37  Url();
38 
40  virtual ~Url();
41 
50  static bool
51  isValid(const char * urlToValidate);
52 
61  static std::string
62  escape(const char * url);
63 
69  static std::string
70  unescape(const char * url);
71 
79  static std::vector<std::string>
81  };
82 }
83 
84 #endif
85 /* -----------------------------------------------------------------
86  * local variables:
87  * eval: (load-file "../../rapidsvn-dev.el")
88  * end:
89  */
90 
static std::string escape(const char *url)
virtual ~Url()
static bool isValid(const char *urlToValidate)
static std::vector< std::string > supportedSchemas()
Definition: annotate_line.hpp:31
Definition: url.hpp:33
static std::string unescape(const char *url)