00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _SVNCPP_DIRENT_HPP_
00015 #define _SVNCPP_DIRENT_HPP_
00016
00017
00018 #include "svn_client.h"
00019
00020
00021 namespace svn
00022 {
00023 class DirEntry
00024 {
00025 public:
00029 DirEntry ();
00030
00034 DirEntry (const char * name, svn_dirent_t * dirEntry);
00035
00039 DirEntry (const DirEntry & src);
00040
00044 ~DirEntry ();
00045
00049 DirEntry &
00050 operator = (const DirEntry &);
00051
00052 const char *
00053 name () const;
00054
00055 svn_node_kind_t
00056 kind () const;
00057
00058 svn_filesize_t
00059 size () const;
00060
00061 bool
00062 hasProps () const;
00063
00064 svn_revnum_t
00065 createdRev () const;
00066
00067 apr_time_t
00068 time () const;
00069
00070 const char *
00071 lastAuthor () const;
00072
00073
00074 private:
00075 struct Data;
00076 Data * m;
00077
00078 };
00079 }
00080
00081 #endif
00082
00083
00084
00085
00086