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_STATUS_SELECTION_HPP_
00027 #define _SVNCPP_STATUS_SELECTION_HPP_
00028
00029
00030 #include <vector>
00031
00032
00033 #include "svncpp/status.hpp"
00034
00035
00036 namespace svn
00037 {
00038
00039 class Path;
00040 class Pool;
00041 class Targets;
00042
00046 class StatusSel
00047 {
00048 public:
00052 StatusSel ();
00053
00057 virtual ~ StatusSel ();
00058
00064 StatusSel (const StatusSel & src);
00065
00069 StatusSel &
00070 operator = (const StatusSel & src);
00071
00078 const apr_array_header_t *
00079 array (const Pool & pool) const;
00080
00086 const Targets &
00087 targets () const;
00088
00095 const Path &
00096 target () const;
00097
00101 size_t size () const;
00102
00106 void
00107 reserve (size_t size);
00108
00114 void
00115 push_back (const Status & status);
00116
00120 void
00121 clear ();
00122
00128 operator const std::vector<Path> & () const;
00129
00131 bool
00132 hasFiles () const;
00133
00135 bool
00136 hasDirs () const;
00137
00139 bool
00140 hasVersioned () const;
00141
00143 bool
00144 hasUnversioned () const;
00145
00147 bool
00148 hasUrl () const;
00149
00151 bool
00152 hasLocal () const;
00153
00154 private:
00155 struct Data;
00156 Data * m;
00157 };
00158 }
00159
00160 #endif
00161
00162
00163
00164
00165