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 namespace svn
00021 {
00022 class DirEntry
00023 {
00024 public:
00028 DirEntry ();
00029
00033 DirEntry (const char * name, svn_dirent_t * dirEntry);
00034
00038 DirEntry (const DirEntry & src);
00039
00043 ~DirEntry ();
00044
00048 DirEntry &
00049 operator = (const DirEntry &);
00050
00051 const char *
00052 name () const;
00053
00054 svn_node_kind_t
00055 kind () const;
00056
00057 svn_filesize_t
00058 size () const;
00059
00060 bool
00061 hasProps () const;
00062
00063 svn_revnum_t
00064 createdRev () const;
00065
00066 apr_time_t
00067 time () const;
00068
00069 const char *
00070 lastAuthor () const;
00071
00072
00073 private:
00074 struct Data;
00075 Data * m;
00076
00077 };
00078 }
00079
00080 #endif
00081
00082
00083
00084
00085