svn::Targets Class Reference
#include <targets.hpp>
Detailed Description
Encapsulation for Subversion target arrays handling
Constructor & Destructor Documentation
svn::Targets::Targets |
( |
const PathVector & |
targets |
) |
|
svn::Targets::Targets |
( |
const apr_array_header_t * |
targets |
) |
|
Constructor from an APR array containing char *.
- Parameters:
-
svn::Targets::Targets |
( |
const char * |
target = 0 |
) |
|
Constructor. Initializes list with just one entry
- Parameters:
-
svn::Targets::Targets |
( |
const Targets & |
targets |
) |
|
Copy Constructor
- Parameters:
-
virtual svn::Targets::~Targets |
( |
|
) |
[virtual] |
Member Function Documentation
const apr_array_header_t* svn::Targets::array |
( |
const Pool & |
pool |
) |
const |
Returns an apr array containing char *.
- Parameters:
-
| pool | Pool used for conversion |
void svn::Targets::clear |
( |
|
) |
|
svn::Targets::operator const PathVector & |
( |
|
) |
const [inline] |
operator to return the vector
- Returns:
- vector with targets
void svn::Targets::push_back |
( |
const Path & |
path |
) |
|
adds a Path to the existing entries
void svn::Targets::reserve |
( |
size_t |
size |
) |
|
reserve the size for following calls to push_back
size_t svn::Targets::size |
( |
|
) |
const |
- Returns:
- the number of targets
const Path svn::Targets::target |
( |
|
) |
const |
returns one single target. in fact, the first in the vector, it there are more than one. if there is no target returns an empty path
- Returns:
- single path
Returns a vector of paths
- Returns:
- vector of paths
The documentation for this class was generated from the following file: