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-2004 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 
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  * local variables:
00084  * eval: (load-file "../../rapidsvn-dev.el")
00085  * end:
00086  */

Generated on Wed May 4 00:05:22 2005 for SvnCpp by  doxygen 1.4.1