info.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_INFO_HPP_
#define _SVNCPP_INFO_HPP_
// subversion api
#include "svn_client.h"
namespace svn
{
// forward declarations
class Path;
class Info
{
public:
Info(const Path & path, const svn_info_t * src = 0);
Info(const Info & src);
virtual ~Info();
Info &
operator = (const Info &);
bool isValid() const;
const Path &
path() const;
svn_revnum_t
revision() const;
const char *
url() const;
const char *
repos() const;
const char *
uuid() const;
svn_node_kind_t
kind() const;
svn_revnum_t
lastChangedRev() const;
apr_time_t
lastChangedDate() const;
const char *
lastChangedAuthoer() const;
private:
struct Data;
Data * m;
};
}
#endif
/* -----------------------------------------------------------------
* local variables:
* eval: (load-file "../../rapidsvn-dev.el")
* end:
*/
svn::Info::revision
svn_revnum_t revision() const
svn::Path
Definition: path.hpp:37
svn
Definition: annotate_line.hpp:31
svn::Info
Definition: info.hpp:39
svn::Info::repos
const char * repos() const
svn::Info::lastChangedDate
apr_time_t lastChangedDate() const
svn::Info::lastChangedRev
svn_revnum_t lastChangedRev() const
svn::Info::isValid
bool isValid() const
svn::Info::Info
Info(const Path &path, const svn_info_t *src=0)
svn::Info::~Info
virtual ~Info()
svn::Info::operator=
Info & operator=(const Info &)
svn::Info::uuid
const char * uuid() const
svn::Info::lastChangedAuthoer
const char * lastChangedAuthoer() const
svn::Info::url
const char * url() const
svn::Info::kind
svn_node_kind_t kind() const
svn::Info::path
const Path & path() const