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 #ifndef _SVNCPP_STATUS_SELECTION_HPP_
00026 #define _SVNCPP_STATUS_SELECTION_HPP_
00027
00028
00029 #include "svncpp/status.hpp"
00030 #include "svncpp/path.hpp"
00031
00032
00033 namespace svn
00034 {
00035
00036 class Pool;
00037 class Targets;
00038
00042 class StatusSel
00043 {
00044 public:
00048 StatusSel();
00049
00053 virtual ~ StatusSel();
00054
00060 StatusSel(const StatusSel & src);
00061
00065 StatusSel &
00066 operator = (const StatusSel & src);
00067
00074 const apr_array_header_t *
00075 array(const Pool & pool) const;
00076
00082 const StatusVector &
00083 statusVector() const;
00084
00090 const Targets &
00091 targets() const;
00092
00099 const Path &
00100 target() const;
00101
00105 size_t size() const;
00106
00110 void
00111 reserve(size_t size);
00112
00118 void
00119 push_back(const Status & status);
00120
00124 void
00125 clear();
00126
00132 operator const PathVector & () const;
00133
00135 bool
00136 hasFiles() const;
00137
00139 bool
00140 hasDirs() const;
00141
00143 bool
00144 hasVersioned() const;
00145
00147 bool
00148 hasUnversioned() const;
00149
00151 bool
00152 hasUrl() const;
00153
00155 bool
00156 hasLocal() const;
00157
00158 private:
00159 struct Data;
00160 Data * m;
00161 };
00162 }
00163
00164 #endif
00165
00166
00167
00168
00169