3
* ====================================================================
4
* Licensed to the Apache Software Foundation (ASF) under one
5
* or more contributor license agreements. See the NOTICE file
6
* distributed with this work for additional information
7
* regarding copyright ownership. The ASF licenses this file
8
* to you under the Apache License, Version 2.0 (the
9
* "License"); you may not use this file except in compliance
10
* with the License. You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* Unless required by applicable law or agreed to in writing,
15
* software distributed under the License is distributed on an
16
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
* KIND, either express or implied. See the License for the
18
* specific language governing permissions and limitations
20
* ====================================================================
23
* @file RevisionRangeList.h
24
* @brief Interface of the class RevisionRangeList
27
#ifndef REVISION_RANGE_LIST_H
28
#define REVISION_RANGE_LIST_H
31
#include "svn_mergeinfo.h"
36
* A wrapper for svn_rangelist_t
38
class RevisionRangeList
42
* Create a RevisionRangeList object from a Java list of revision ranges.
44
RevisionRangeList(jobject jrangelist, SVN::Pool &pool);
47
* Create a RevisionRangeList object from a Java RevisionRangeList.
49
static RevisionRangeList create(jobject jthis, SVN::Pool &pool);
52
* Wrap an svn_rangelist_t.
54
explicit RevisionRangeList(svn_rangelist_t* ranges)
59
* Return an svn_rangelist_t.
61
const svn_rangelist_t* get() const { return m_rangelist; }
64
* Make a Java list of reivison ranges.
66
jobject toList() const;
69
svn_rangelist_t* m_rangelist;
72
#endif // REVISION_RANGE_LIST_H