SvnCpp
url.hpp
Go to the documentation of this file.
1 /*
2  * ====================================================================
3  * Copyright (c) 2002-2018 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 Lesser General Public License as
7  * published by the Free Software Foundation, either version 3 of the
8  * License, or (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 Lesser General Public
16  * License along with this program (in the file LGPL.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 
string_wrapper.hpp
svn::Url
Definition: url.hpp:33
svn::Url::escape
static std::string escape(const char *url)
svn::Url::isValid
static bool isValid(const char *urlToValidate)
svn::Url::unescape
static std::string unescape(const char *url)
svn
Definition: annotate_line.hpp:31
svn::Url::~Url
virtual ~Url()
svn::Url::Url
Url()
svn::Url::supportedSchemas
static std::vector< std::string > supportedSchemas()
vector_wrapper.hpp