Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals  

svn::Entry Class Reference

#include <entry.hpp>


Public Methods

 Entry (const svn_wc_entry_t *src=0)
 Entry (const Entry &src)
virtual ~Entry ()
bool isValid () const
const char * name () const
const svn_revnum_t revision () const
const char * url () const
const char * repos () const
const char * uuid () const
const svn_node_kind_t kind () const
const svn_wc_schedule_t schedule () const
const bool isCopied () const
const bool isDeleted () const
const char * copyfromUrl () const
const svn_revnum_t copyfromRev () const
const char * conflictOld () const
const char * conflictNew () const
const char * conflictWrk () const
const char * prejfile () const
const apr_time_t textTime () const
const apr_time_t propTime () const
const char * checksum () const
const svn_revnum_t cmtRev () const
const apr_time_t cmtDate () const
const char * cmtAuthor () const
 operator svn_wc_entry_t * () const
Entry & operator= (const Entry &)


Detailed Description

C++ API for Subversion. This class wraps around svn_wc_entry_t.


Constructor & Destructor Documentation

svn::Entry::Entry (  const svn_wc_entry_t *    src = 0 ) 
 

default constructor. if src is set, copy its contents.

If src is not set (=0) this will be a non-versioned entry. This can be checked later with isValid ().

Parameters:
src  another entry to copy from

svn::Entry::Entry (  const Entry &    src ) 
 

copy constructor

virtual svn::Entry::~Entry (    )  [virtual]
 

destructor


Member Function Documentation

const char* svn::Entry::checksum (    )  const [inline]
 

Returns:
base64 encoded checksum
Return values:
NULL  for backwards compatibility

const char* svn::Entry::cmtAuthor (    )  const [inline]
 

Returns:
last commit author of this file

const apr_time_t svn::Entry::cmtDate (    )  const [inline]
 

Returns:
last date this was changed

const svn_revnum_t svn::Entry::cmtRev (    )  const [inline]
 

Returns:
last revision this was changed

const char* svn::Entry::conflictNew (    )  const [inline]
 

Returns:
new version of conflicted file

const char* svn::Entry::conflictOld (    )  const [inline]
 

Returns:
old version of conflicted file

const char* svn::Entry::conflictWrk (    )  const [inline]
 

Returns:
working version of conflicted file

const svn_revnum_t svn::Entry::copyfromRev (    )  const [inline]
 

Returns:
copyfrom revision

const char* svn::Entry::copyfromUrl (    )  const [inline]
 

Returns:
copyfrom location

const bool svn::Entry::isCopied (    )  const [inline]
 

Returns:
TRUE if copied

const bool svn::Entry::isDeleted (    )  const [inline]
 

Returns:
true if deleted

bool svn::Entry::isValid (    )  const [inline]
 

returns whether this is a valid=versioned entry.

Returns:
is entry valid
Return values:
true  valid entry
false  invalid or unversioned entry

const svn_node_kind_t svn::Entry::kind (    )  const [inline]
 

Returns:
node kind (file, dir, ...)

const char* svn::Entry::name (    )  const [inline]
 

Returns:
entry's name

svn::Entry::operator svn_wc_entry_t * (    )  const [inline]
 

Returns:
svn_wc_entry_t for this class

Entry& svn::Entry::operator= (  const Entry &    ) 
 

assignment operator

const char* svn::Entry::prejfile (    )  const [inline]
 

Returns:
property reject file

const apr_time_t svn::Entry::propTime (    )  const [inline]
 

Returns:
last up-to-date time for properties
Return values:
0  no information available

const char* svn::Entry::repos (    )  const [inline]
 

Returns:
canonical repository url

const svn_revnum_t svn::Entry::revision (    )  const [inline]
 

Returns:
base revision

const svn_wc_schedule_t svn::Entry::schedule (    )  const [inline]
 

Returns:
scheduling (add, delete, replace)

const apr_time_t svn::Entry::textTime (    )  const [inline]
 

Returns:
last up-to-date time for text contents
Return values:
0  no information available

const char* svn::Entry::url (    )  const [inline]
 

Returns:
url in repository

const char* svn::Entry::uuid (    )  const [inline]
 

Returns:
repository uuid


The documentation for this class was generated from the following file:
Generated on Thu Aug 28 13:22:39 2003 for SvnCpp by doxygen1.2.15