44 lines
1.9 KiB
OpenEdge ABL
44 lines
1.9 KiB
OpenEdge ABL
// Copyright 2010-2018 Google LLC
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// This is the java SWIG wrapper for ../tuple_set.h. See that file.
|
|
// TODO(user): Refactor this file to comply with the SWIG style guide.
|
|
|
|
%include "ortools/base/base.i"
|
|
|
|
%include "ortools/util/java/vector.i"
|
|
|
|
%{
|
|
// TODO(user): see if we can remove <vector>
|
|
#include <vector>
|
|
#include "ortools/base/integral_types.h"
|
|
#include "ortools/util/tuple_set.h"
|
|
%}
|
|
|
|
%ignore operations_research::IntTupleSet::RawData; // no typemap
|
|
%rename (arity) operations_research::IntTupleSet::Arity;
|
|
%rename (clear) operations_research::IntTupleSet::Clear;
|
|
%rename (contains) operations_research::IntTupleSet::Contains;
|
|
%rename (insert) operations_research::IntTupleSet::Insert;
|
|
%rename (insert2) operations_research::IntTupleSet::Insert2;
|
|
%rename (insert3) operations_research::IntTupleSet::Insert3;
|
|
%rename (insert4) operations_research::IntTupleSet::Insert4;
|
|
%rename (insertAll) operations_research::IntTupleSet::InsertAll;
|
|
%rename (numDifferentValuesInColumn) operations_research::IntTupleSet::NumDifferentValuesInColumn;
|
|
%rename (numTuples) operations_research::IntTupleSet::NumTuples;
|
|
%rename (sortedByColumn) operations_research::IntTupleSet::SortedByColumn;
|
|
%rename (sortedLexicographically) operations_research::IntTupleSet::SortedLexicographically;
|
|
%rename (value) operations_research::IntTupleSet::Value;
|
|
|
|
%include ortools/util/tuple_set.h
|