GME  13
Targets.h
Go to the documentation of this file.
00001 
00023 #pragma once
00024 
00025 struct apr_array_header_t;
00026 struct svn_error_t;
00027 class Pool;
00028 #include "Path.h"
00029 #include <vector>
00030 #include <apr_pools.h>
00031 
00032 class Targets
00033 {
00034 private:
00035         std::vector<Path>     m_targets;
00036         svn_error_t *         m_error_occured;
00037         bool                  m_doesNotContainsPath;
00038         apr_pool_t* m_pool;
00039 
00040 public:
00041         Targets(const char *path, apr_pool_t* pool);
00042         void add(const char *path);
00043         ~Targets();
00044 
00045         const apr_array_header_t *         array(const Pool & pool);
00046         svn_error_t *                      error_occured();
00047         void                               setDoesNotContainsPath();
00048 };