Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

svn::client::RevisionSpecifier Class Reference

#include <client.hh>

List of all members.

Public Types

enum  Type {
  rUnspecified = svn_opt_revision_unspecified, rNumber = svn_opt_revision_number, rDate = svn_opt_revision_date, rCommitted = svn_opt_revision_committed,
  rPrevious = svn_opt_revision_previous, rBase = svn_opt_revision_base, rWorking = svn_opt_revision_working, rHead = svn_opt_revision_head
}

Public Member Functions

 RevisionSpecifier (const RevisionNumber &)
 RevisionSpecifier (const apr::Time &)

Static Public Attributes

const RevisionSpecifier COMMITTED
const RevisionSpecifier TRUNK
const RevisionSpecifier PREVIOUS
const RevisionSpecifier BASE
const RevisionSpecifier WORKING
const RevisionSpecifier HEAD

Protected Attributes

svn_opt_revision_t me

Friends

void checkout (boost::function1< void, const wc::Notification & >, AuthBaton, const std::string &, const std::string &, const RevisionSpecifier &, bool, Pool &)
 Checks out a working copy of url at revision, using path as the root directory of the newly-checked-out working copy, and authenticating with authBaton.

void update (AuthBaton, const std::string &path, const RevisionSpecifier &revision, bool recurse, boost::function1< void, const wc::Notification & > notifyFunction, Pool &pool)
void doSwitch (AuthBaton, const std::string &path, const std::string &url, const RevisionSpecifier &revision, bool recurse, boost::function1< void, const wc::Notification & >, Pool &pool)


Detailed Description

See also:
svn_opt_revision_t *

Definition at line 58 of file client.hh.


Member Enumeration Documentation

enum svn::client::RevisionSpecifier::Type
 

See also:
svn_opt_revision_kind *
Enumeration values:
rUnspecified 
rNumber 
rDate 
rCommitted 
rPrevious 
rBase 
rWorking 
rHead 

Definition at line 81 of file client.hh.


Constructor & Destructor Documentation

svn::client::RevisionSpecifier::RevisionSpecifier const RevisionNumber  ) 
 

svn::client::RevisionSpecifier::RevisionSpecifier const apr::Time  ) 
 


Friends And Related Function Documentation

void checkout boost::function1< void, const wc::Notification & >  ,
AuthBaton  ,
const std::string &  ,
const std::string &  ,
const RevisionSpecifier ,
bool  ,
Pool
[friend]
 

Checks out a working copy of url at revision, using path as the root directory of the newly-checked-out working copy, and authenticating with authBaton.

revision must be of kind rNumber, rHead, or rDate. In the xml case, rUnspecified is also allowed. If revision does not meet these requirements, throws a SVN_ERR_CLIENT_BAD_REVISION.

Uses pool for any temporary allocation.

Definition at line 58 of file client.cc.

void doSwitch AuthBaton  authBaton,
const std::string &  path,
const std::string &  url,
const RevisionSpecifier revision,
bool  recurse,
boost::function1< void, const wc::Notification & >  notifyFunc,
Pool pool
[friend]
 

Definition at line 73 of file client.cc.

void update AuthBaton  authBaton,
const std::string &  path,
const RevisionSpecifier revision,
bool  recurse,
boost::function1< void, const wc::Notification & >  notifyFunction,
Pool pool
[friend]
 

Definition at line 66 of file client.cc.


Member Data Documentation

const RevisionSpecifier svn::client::RevisionSpecifier::BASE [static]
 

Definition at line 76 of file client.hh.

const RevisionSpecifier svn::client::RevisionSpecifier::COMMITTED [static]
 

Definition at line 73 of file client.hh.

const RevisionSpecifier svn::client::RevisionSpecifier::HEAD [static]
 

svn_opt_revision_t svn::client::RevisionSpecifier::me [protected]
 

Definition at line 96 of file client.hh.

Referenced by svn::client::checkout(), svn::client::doSwitch(), and svn::client::update().

const RevisionSpecifier svn::client::RevisionSpecifier::PREVIOUS [static]
 

Definition at line 75 of file client.hh.

const RevisionSpecifier svn::client::RevisionSpecifier::TRUNK [static]
 

Definition at line 74 of file client.hh.

const RevisionSpecifier svn::client::RevisionSpecifier::WORKING [static]
 

Definition at line 77 of file client.hh.


The documentation for this class was generated from the following files:
Generated on Fri Feb 4 11:13:31 2005 for svnapi++ by doxygen 1.3.5