status.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002-2008 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 #ifndef _SVNCPP_STATUS_HPP_
00026 #define _SVNCPP_STATUS_HPP_
00027 
00028 // subversion api
00029 #include "svn_wc.h"
00030 
00031 // svncpp
00032 #include "svncpp/entry.hpp"
00033 #include "svncpp/pool.hpp"
00034 
00035 namespace svn
00036 {
00042   class Status
00043   {
00044   public:
00051     Status (const char * path = 0, const svn_wc_status2_t * status = 0);
00052 
00056     Status (const Status & src);
00057 
00061     ~Status ();
00062 
00066     const char *
00067     path () const;
00068 
00073     const Entry 
00074     entry () const;
00075 
00079     const svn_wc_status_kind 
00080     textStatus () const;
00081 
00085     const svn_wc_status_kind 
00086     propStatus () const;
00087 
00091     const bool 
00092     isVersioned () const;
00093 
00097     const bool 
00098     isCopied () const;
00099 
00103     const bool
00104     isSwitched () const;
00105 
00109     const svn_wc_status_kind
00110     reposTextStatus () const;
00111 
00115     const svn_wc_status_kind
00116     reposPropStatus () const;
00117 
00121     const bool
00122     isLocked () const;
00123 
00127     const bool
00128     isRepLock () const;
00129 
00133     const char *
00134     lockToken () const;
00135 
00139     const char *
00140     lockOwner () const;
00141 
00145     const char *
00146     lockComment () const;
00147 
00151     const apr_time_t
00152     lockCreationDate () const;
00153 
00157     Status &
00158     operator = (const Status &);
00159 
00165     bool
00166     isset () const;
00167 
00168   private:
00169     struct Data;
00170     Data * m;
00171   };
00172 }
00173 
00174 #endif
00175 /* -----------------------------------------------------------------
00176  * local variables:
00177  * eval: (load-file "../../rapidsvn-dev.el")
00178  * end:
00179  */

Generated on Tue Mar 4 00:40:36 2008 for SvnCpp by  doxygen 1.5.3