SvnCpp
status.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_STATUS_HPP_
25#define _SVNCPP_STATUS_HPP_
26
27// subversion api
28#include "svn_wc.h"
29
30// svncpp
31#include "svncpp/entry.hpp"
32#include "svncpp/pool.hpp"
33
34// stl
36
37namespace svn
38{
44 class Status
45 {
46 public:
53 Status(const char * path = 0, const svn_wc_status2_t * status = 0);
54
58 Status(const Status & src);
59
64
68 const char *
69 path() const;
70
75 const Entry
76 entry() const;
77
81 svn_wc_status_kind
82 textStatus() const;
83
87 svn_wc_status_kind
88 propStatus() const;
89
93 bool
94 isVersioned() const;
95
99 bool
100 isCopied() const;
101
105 bool
106 isSwitched() const;
107
111 svn_wc_status_kind
113
117 svn_wc_status_kind
119
123 bool
124 isLocked() const;
125
129 bool
130 isRepLock() const;
131
135 const char *
136 lockToken() const;
137
141 const char *
142 lockOwner() const;
143
147 const char *
148 lockComment() const;
149
153 apr_time_t
155
160 svn_revnum_t
162
166 apr_time_t
168
173 svn_node_kind_t
174 oodKind() const;
175
183 const char *
185
189 Status &
191
202 bool
203 isSet() const;
204
205 private:
206 struct Data;
207 Data * m;
208 };
209
210 typedef std::vector<Status> StatusVector;
211}
212
213#endif
214/* -----------------------------------------------------------------
215 * local variables:
216 * eval: (load-file "../../rapidsvn-dev.el")
217 * end:
218 */
Definition entry.hpp:41
Definition status.hpp:45
apr_time_t oodLastCmtDate() const
const char * lockComment() const
bool isCopied() const
const char * path() const
svn_wc_status_kind reposPropStatus() const
bool isSet() const
svn_node_kind_t oodKind() const
Status(const char *path=0, const svn_wc_status2_t *status=0)
svn_wc_status_kind propStatus() const
const char * lockToken() const
bool isRepLock() const
Status(const Status &src)
svn_wc_status_kind reposTextStatus() const
const char * lockOwner() const
bool isVersioned() const
bool isSwitched() const
svn_revnum_t oodLastCmtRev() const
const char * oodLastCmtAuthor() const
Status & operator=(const Status &)
const Entry entry() const
svn_wc_status_kind textStatus() const
apr_time_t lockCreationDate() const
bool isLocked() const
Definition annotate_line.hpp:32
std::vector< Status > StatusVector
Definition status.hpp:210