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 Targets &
00083 targets() const;
00084
00091 const Path &
00092 target() const;
00093
00097 size_t size() const;
00098
00102 void
00103 reserve(size_t size);
00104
00110 void
00111 push_back(const Status & status);
00112
00116 void
00117 clear();
00118
00124 operator const PathVector & () const;
00125
00127 bool
00128 hasFiles() const;
00129
00131 bool
00132 hasDirs() const;
00133
00135 bool
00136 hasVersioned() const;
00137
00139 bool
00140 hasUnversioned() const;
00141
00143 bool
00144 hasUrl() const;
00145
00147 bool
00148 hasLocal() const;
00149
00150 private:
00151 struct Data;
00152 Data * m;
00153 };
00154 }
00155
00156 #endif
00157
00158
00159
00160
00161