status.hpp
Go to the documentation of this file.
/*
* ====================================================================
* Copyright (c) 2002-2009 The RapidSvn Group. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program (in the file GPL.txt.
* If not, see <http://www.gnu.org/licenses/>.
*
* This software consists of voluntary contributions made by many
* individuals. For exact contribution history, see the revision
* history and logs, available at http://rapidsvn.tigris.org/.
* ====================================================================
*/
#ifndef _SVNCPP_STATUS_HPP_
#define _SVNCPP_STATUS_HPP_
// subversion api
#include "svn_wc.h"
// svncpp
#include "svncpp/entry.hpp"
#include "svncpp/pool.hpp"
// stl
#include "svncpp/vector_wrapper.hpp"
namespace svn
{
class Status
{
public:
Status(const char * path = 0, const svn_wc_status2_t * status = 0);
Status(const Status & src);
~Status();
const char *
path() const;
const Entry
entry() const;
svn_wc_status_kind
textStatus() const;
svn_wc_status_kind
propStatus() const;
bool
isVersioned() const;
bool
isCopied() const;
bool
isSwitched() const;
svn_wc_status_kind
reposTextStatus() const;
svn_wc_status_kind
reposPropStatus() const;
bool
isLocked() const;
bool
isRepLock() const;
const char *
lockToken() const;
const char *
lockOwner() const;
const char *
lockComment() const;
apr_time_t
lockCreationDate() const;
Status &
operator = (const Status &);
bool
isSet() const;
private:
struct Data;
Data * m;
};
typedef std::vector<Status> StatusVector;
}
#endif
/* -----------------------------------------------------------------
* local variables:
* eval: (load-file "../../rapidsvn-dev.el")
* end:
*/
entry.hpp
svn::Status
Definition: status.hpp:44
svn::Status::isRepLock
bool isRepLock() const
svn::Status::lockToken
const char * lockToken() const
svn::Status::reposTextStatus
svn_wc_status_kind reposTextStatus() const
svn::Status::path
const char * path() const
svn::Status::isLocked
bool isLocked() const
svn::Status::isCopied
bool isCopied() const
svn::Status::textStatus
svn_wc_status_kind textStatus() const
svn::Status::lockOwner
const char * lockOwner() const
svn::Status::isSwitched
bool isSwitched() const
svn::Entry
Definition: entry.hpp:40
svn::Status::propStatus
svn_wc_status_kind propStatus() const
svn::Status::~Status
~Status()
svn::Status::lockComment
const char * lockComment() const
svn::Status::lockCreationDate
apr_time_t lockCreationDate() const
svn::Status::reposPropStatus
svn_wc_status_kind reposPropStatus() const
svn::Status::isVersioned
bool isVersioned() const
svn::Status::Status
Status(const char *path=0, const svn_wc_status2_t *status=0)
vector_wrapper.hpp
svn::Status::operator=
Status & operator=(const Status &)
svn::StatusVector
std::vector< Status > StatusVector
Definition: status.hpp:180
svn::Status::isSet
bool isSet() const
svn::Status::entry
const Entry entry() const
pool.hpp