00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _SVNCPP_STATUS_HPP_
00025 #define _SVNCPP_STATUS_HPP_
00026
00027
00028 #include "svn_wc.h"
00029
00030
00031 #include "svncpp/entry.hpp"
00032 #include "svncpp/pool.hpp"
00033
00034
00035 #include "svncpp/vector_wrapper.hpp"
00036
00037 namespace svn
00038 {
00044 class Status
00045 {
00046 public:
00053 Status(const char * path = 0, const svn_wc_status2_t * status = 0);
00054
00058 Status(const Status & src);
00059
00063 ~Status();
00064
00068 const char *
00069 path() const;
00070
00075 const Entry
00076 entry() const;
00077
00081 svn_wc_status_kind
00082 textStatus() const;
00083
00087 svn_wc_status_kind
00088 propStatus() const;
00089
00093 bool
00094 isVersioned() const;
00095
00099 bool
00100 isCopied() const;
00101
00105 bool
00106 isSwitched() const;
00107
00111 svn_wc_status_kind
00112 reposTextStatus() const;
00113
00117 svn_wc_status_kind
00118 reposPropStatus() const;
00119
00123 bool
00124 isLocked() const;
00125
00129 bool
00130 isRepLock() const;
00131
00135 const char *
00136 lockToken() const;
00137
00141 const char *
00142 lockOwner() const;
00143
00147 const char *
00148 lockComment() const;
00149
00153 apr_time_t
00154 lockCreationDate() const;
00155
00159 Status &
00160 operator = (const Status &);
00161
00172 bool
00173 isSet() const;
00174
00175 private:
00176 struct Data;
00177 Data * m;
00178 };
00179
00180 typedef std::vector<Status> StatusVector;
00181 }
00182
00183 #endif
00184
00185
00186
00187
00188