The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
revision.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _SVNCPP_REVISION_HPP_
00027 #define _SVNCPP_REVISION_HPP_
00028
00029
00030 #include "svn_types.h"
00031 #include "svn_opt.h"
00032
00033
00034 #include "datetime.hpp"
00035
00036 namespace svn
00037 {
00043 class Revision
00044 {
00045 private:
00046 svn_opt_revision_t m_revision;
00047
00048 void
00049 init (const svn_opt_revision_t * revision);
00050
00051 public:
00052 static const Revision START;
00053 static const Revision BASE;
00054 static const Revision HEAD;
00055 static const Revision WORKING;
00056 static const Revision UNSPECIFIED;
00057
00063 Revision (const svn_opt_revision_t * revision);
00064
00070 Revision (const svn_revnum_t revnum);
00071
00077 Revision (const svn_opt_revision_kind kind = svn_opt_revision_unspecified);
00078
00084 Revision (const DateTime dateTime);
00085
00091 Revision (const Revision & revision);
00092
00096 const svn_opt_revision_t *
00097 revision () const;
00098
00103 operator svn_opt_revision_t * ()
00104 {
00105 return &m_revision;
00106 }
00107
00111 const svn_revnum_t
00112 revnum () const;
00113
00117 const svn_opt_revision_kind
00118 kind () const;
00119
00124 operator svn_opt_revision_kind () const
00125 {
00126 return kind ();
00127 }
00128
00132 const apr_time_t
00133 date () const;
00134 };
00135 }
00136
00137 #endif
00138
00139
00140
00141
00142
Generated on Tue Mar 4 00:40:36 2008 for SvnCpp by
1.5.3