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

dirent.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002-2006 The RapidSvn Group.  All rights reserved.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  * 
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library (in the file LGPL.txt); if not, 
00017  * write to the Free Software Foundation, Inc., 51 Franklin St, 
00018  * Fifth Floor, Boston, MA  02110-1301  USA
00019  *
00020  * This software consists of voluntary contributions made by many
00021  * individuals.  For exact contribution history, see the revision
00022  * history and logs, available at http://rapidsvn.tigris.org/.
00023  * ====================================================================
00024  */
00025 
00026 #ifndef _SVNCPP_DIRENT_HPP_
00027 #define _SVNCPP_DIRENT_HPP_ 
00028 
00029 // subversion api
00030 #include "svn_client.h"
00031 
00032 
00033 namespace svn
00034 {
00035   class DirEntry
00036   {
00037   public:
00041     DirEntry ();
00042 
00046     DirEntry (const char * name, svn_dirent_t * dirEntry);
00047 
00051     DirEntry (const DirEntry & src);
00052 
00056     ~DirEntry ();
00057 
00061     DirEntry &
00062     operator = (const DirEntry &);
00063 
00064     const char *
00065     name () const;
00066 
00067     svn_node_kind_t 
00068     kind () const;
00069 
00070     svn_filesize_t
00071     size () const;
00072 
00073     bool
00074     hasProps () const;
00075 
00076     svn_revnum_t
00077     createdRev () const;
00078 
00079     apr_time_t
00080     time () const;
00081 
00082     const char *
00083     lastAuthor () const;
00084 
00085 
00086   private:
00087     struct Data;
00088     Data * m;
00089 
00090   };
00091 }
00092 
00093 #endif
00094 /* -----------------------------------------------------------------
00095  * local variables:
00096  * eval: (load-file "../../rapidsvn-dev.el")
00097  * end:
00098  */

Generated on Tue Feb 14 15:54:50 2006 for SvnCpp by  doxygen 1.4.4