status.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 #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:
00048     Status ();
00049 
00053     Status (const Status & src);
00054 
00058     ~Status ();
00059 
00063     const char *
00064     path () const;
00065 
00070     const Entry 
00071     entry () const;
00072 
00076     const svn_wc_status_kind 
00077     textStatus () const;
00078 
00082     const svn_wc_status_kind 
00083     propStatus () const;
00084 
00088     const bool 
00089     isVersioned () const;
00090 
00094     const bool 
00095     isCopied () const;
00096 
00100     const bool
00101     isSwitched () const;
00102 
00106     const svn_wc_status_kind
00107     reposTextStatus () const;
00108 
00112     const svn_wc_status_kind
00113     reposPropStatus () const;
00114 
00118     const bool
00119     isLocked () const;
00120 
00124     const bool
00125     isRepLock () const;
00126 
00130     const char *
00131     lockToken () const;
00132 
00136     const char *
00137     lockOwner () const;
00138 
00142     const char *
00143     lockComment () const;
00144 
00148     const apr_time_t
00149     lockCreationDate () const;
00150 
00154     Status &
00155     operator = (const Status &);
00156 
00157     friend class Converter;
00158 
00159   private:
00160     struct Data;
00161     Data * m;
00162   };
00163 }
00164 
00165 #endif
00166 /* -----------------------------------------------------------------
00167  * local variables:
00168  * eval: (load-file "../../rapidsvn-dev.el")
00169  * end:
00170  */

Generated on Fri Dec 8 18:57:44 2006 for SvnCpp by  doxygen 1.4.7