status_selection.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_SELECTION_HPP_
#define _SVNCPP_STATUS_SELECTION_HPP_
// svncpp
#include "svncpp/status.hpp"
#include "svncpp/path.hpp"
namespace svn
{
// forward declarations
class Pool;
class Targets;
class StatusSel
{
public:
StatusSel();
virtual ~ StatusSel();
StatusSel(const StatusSel & src);
StatusSel &
operator = (const StatusSel & src);
const apr_array_header_t *
array(const Pool & pool) const;
const StatusVector &
statusVector() const;
const Targets &
targets() const;
const Path &
target() const;
size_t size() const;
void
reserve(size_t size);
void
push_back(const Status & status);
void
clear();
operator const PathVector & () const;
bool
hasFiles() const;
bool
hasDirs() const;
bool
hasVersioned() const;
bool
hasUnversioned() const;
bool
hasUrl() const;
bool
hasLocal() const;
private:
struct Data;
Data * m;
};
}
#endif
/* -----------------------------------------------------------------
* local variables:
* eval: (load-file "../../rapidsvn-dev.el")
* end:
*/
svn::StatusSel::operator=
StatusSel & operator=(const StatusSel &src)
svn::Status
Definition: status.hpp:44
svn::StatusSel::hasUnversioned
bool hasUnversioned() const
svn::Targets
Definition: targets.hpp:43
svn::StatusSel::size
size_t size() const
svn::StatusSel::StatusSel
StatusSel()
svn::StatusSel::hasDirs
bool hasDirs() const
svn::Path
Definition: path.hpp:37
svn::StatusSel::clear
void clear()
svn::StatusSel::targets
const Targets & targets() const
svn::StatusSel::array
const apr_array_header_t * array(const Pool &pool) const
path.hpp
svn::StatusSel::statusVector
const StatusVector & statusVector() const
svn::StatusSel::~StatusSel
virtual ~StatusSel()
svn::StatusSel::hasVersioned
bool hasVersioned() const
svn::StatusSel::hasUrl
bool hasUrl() const
svn::Pool
Definition: pool.hpp:36
status.hpp
svn::PathVector
std::vector< Path > PathVector
Definition: path.hpp:205
svn::StatusSel::hasFiles
bool hasFiles() const
svn::StatusSel
Definition: status_selection.hpp:42
svn::StatusSel::target
const Path & target() const
svn::StatusSel::reserve
void reserve(size_t size)
svn::StatusSel::push_back
void push_back(const Status &status)
svn::StatusSel::hasLocal
bool hasLocal() const
svn::StatusVector
std::vector< Status > StatusVector
Definition: status.hpp:180