SvnCpp
dirent.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 
25 #ifndef _SVNCPP_DIRENT_HPP_
26 #define _SVNCPP_DIRENT_HPP_
27 
28 // subversion api
29 #include "svn_client.h"
30 
31 namespace svn
32 {
33  class DirEntry
34  {
35  public:
40 
44  DirEntry(const char * name, const svn_dirent_t * dirEntry,
45  const svn_lock_t * lock = 0);
46 
50  DirEntry(const DirEntry & src);
51 
56 
60  DirEntry &
62 
63  const char *
64  name() const;
65 
66  svn_node_kind_t
67  kind() const;
68 
69  svn_filesize_t
70  size() const;
71 
72  bool
73  hasProps() const;
74 
75  svn_revnum_t
76  createdRev() const;
77 
78  apr_time_t
79  time() const;
80 
81  const char *
82  lastAuthor() const;
83 
84  const char *
85  lockOwner() const;
86 
87  const char *
88  lockComment() const;
89 
90  const char *
91  lockToken() const;
92 
93  private:
94  struct Data;
95  Data * m;
96  };
97 }
98 #endif
99 /* -----------------------------------------------------------------
100  * local variables:
101  * eval: (load-file "../../rapidsvn-dev.el")
102  * end:
103  */
svn::DirEntry::operator=
DirEntry & operator=(const DirEntry &)
svn::DirEntry::DirEntry
DirEntry(const char *name, const svn_dirent_t *dirEntry, const svn_lock_t *lock=0)
svn::DirEntry::createdRev
svn_revnum_t createdRev() const
svn::DirEntry::time
apr_time_t time() const
svn::DirEntry
Definition: dirent.hpp:34
svn::DirEntry::hasProps
bool hasProps() const
svn::DirEntry::size
svn_filesize_t size() const
svn::DirEntry::kind
svn_node_kind_t kind() const
svn::DirEntry::lockToken
const char * lockToken() const
svn::DirEntry::lastAuthor
const char * lastAuthor() const
svn
Definition: annotate_line.hpp:32
svn::DirEntry::DirEntry
DirEntry()
svn::DirEntry::~DirEntry
~DirEntry()
svn::DirEntry::DirEntry
DirEntry(const DirEntry &src)
svn::DirEntry::lockComment
const char * lockComment() const
svn::DirEntry::name
const char * name() const
svn::DirEntry::lockOwner
const char * lockOwner() const