Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals

dirent.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002, 2003 The RapidSvn Group.  All rights reserved.
00004  *
00005  * This software is licensed as described in the file LICENSE.txt,
00006  * which you should have received as part of this distribution.
00007  *
00008  * This software consists of voluntary contributions made by many
00009  * individuals.  For exact contribution history, see the revision
00010  * history and logs, available at http://rapidsvn.tigris.org/.
00011  * ====================================================================
00012  */
00013 
00014 #ifndef _SVNCPP_DIRENT_HPP_
00015 #define _SVNCPP_DIRENT_HPP_ 
00016 
00017 // subversion api
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  * local variables:
00083  * eval: (load-file "../../rapidsvn-dev.el")
00084  * end:
00085  */

Generated on Sat Dec 6 22:47:47 2003 for SvnCpp by doxygen 1.3.4