summaryrefslogtreecommitdiff
path: root/src/util/integer.i
blob: bad6b196fcafcc34ff6c82db196ab6f89415bf14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%{
#include "util/integer.h"
%}

%ignore CVC4::Integer::Integer(int);
%ignore CVC4::Integer::Integer(unsigned int);
%ignore CVC4::Integer::Integer(const std::string&);

%rename(assign) CVC4::Integer::operator=(const Integer&);
%rename(equals) CVC4::Integer::operator==(const Integer&) const;
%ignore CVC4::Integer::operator!=(const Integer&) const;
%rename(plus) CVC4::Integer::operator+(const Integer&) const;
%rename(minus) CVC4::Integer::operator-() const;
%rename(minus) CVC4::Integer::operator-(const Integer&) const;
%rename(times) CVC4::Integer::operator*(const Integer&) const;
%rename(dividedBy) CVC4::Integer::operator/(const Integer&) const;
%rename(modulo) CVC4::Integer::operator%(const Integer&) const;
%rename(plusAssign) CVC4::Integer::operator+=(const Integer&);
%rename(minusAssign) CVC4::Integer::operator-=(const Integer&);
%rename(timesAssign) CVC4::Integer::operator*=(const Integer&);
%rename(dividedByAssign) CVC4::Integer::operator/=(const Integer&);
%rename(moduloAssign) CVC4::Integer::operator%=(const Integer&);
%rename(less) CVC4::Integer::operator<(const Integer&) const;
%rename(lessEqual) CVC4::Integer::operator<=(const Integer&) const;
%rename(greater) CVC4::Integer::operator>(const Integer&) const;
%rename(greaterEqual) CVC4::Integer::operator>=(const Integer&) const;

%ignore CVC4::operator<<(std::ostream&, const Integer&);

%include "util/integer.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback