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

svn::client::AuthBaton Class Reference

#include <client.hh>

List of all members.

Public Member Functions

 AuthBaton ()
void setPrompt (const PromptFunc &newPrompt)
void setStoreAuthInfo (bool newVal)
bool getGotNewAuthInfo () const

Protected Attributes

svn_client_auth_baton_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_client_auth_baton_t

Definition at line 28 of file client.hh.


Constructor & Destructor Documentation

svn::client::AuthBaton::AuthBaton  ) 
 

Definition at line 33 of file client.cc.

References me.


Member Function Documentation

bool svn::client::AuthBaton::getGotNewAuthInfo  )  const [inline]
 

Definition at line 46 of file client.hh.

References me.

void svn::client::AuthBaton::setPrompt const PromptFunc newPrompt  )  [inline]
 

Definition at line 44 of file client.hh.

References svn::client::PromptFunc.

void svn::client::AuthBaton::setStoreAuthInfo bool  newVal  )  [inline]
 

Definition at line 45 of file client.hh.

References me.


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

struct svn_client_auth_baton_t svn::client::AuthBaton::me [protected]
 

Definition at line 49 of file client.hh.

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


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