SvnCpp
info.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_INFO_HPP_
25#define _SVNCPP_INFO_HPP_
26
27// subversion api
28#include "svn_client.h"
29
30namespace svn
31{
32 // forward declarations
33 class Path;
34
39 class Info
40 {
41 public:
53 Info(const Path & path, const svn_info_t * src = 0);
54
58 Info(const Info & src);
59
63 virtual ~Info();
64
68 Info &
69 operator = (const Info &);
70
79 bool isValid() const;
80
82 const Path &
83 path() const;
84
86 svn_revnum_t
87 revision() const;
88
90 const char *
91 url() const;
92
94 const char *
95 repos() const;
96
98 const char *
99 uuid() const;
100
102 svn_node_kind_t
103 kind() const;
104
105 svn_revnum_t
107
108 apr_time_t
110
111 const char *
113
116 private:
117 struct Data;
118
119 Data * m;
120 };
121
122}
123
124#endif
125/* -----------------------------------------------------------------
126 * local variables:
127 * eval: (load-file "../../rapidsvn-dev.el")
128 * end:
129 */
Definition info.hpp:40
apr_time_t lastChangedDate() const
svn_node_kind_t kind() const
svn_revnum_t revision() const
const char * uuid() const
Info & operator=(const Info &)
virtual ~Info()
const char * repos() const
const char * lastChangedAuthor() const
Info(const Path &path, const svn_info_t *src=0)
const char * url() const
Info(const Info &src)
svn_revnum_t lastChangedRev() const
const Path & path() const
bool isValid() const
Definition path.hpp:38
Definition annotate_line.hpp:32