%{ #include "expr/expr.h" %} %rename(apply) CVC4::ExprHashFunction::operator()(CVC4::Expr) const; %ignore CVC4::operator<<(std::ostream&, const Expr&); %ignore CVC4::operator<<(std::ostream&, const TypeCheckingException&); %ignore CVC4::expr::operator<<(std::ostream&, ExprSetDepth); %ignore CVC4::expr::operator<<(std::ostream&, ExprPrintTypes); %ignore CVC4::expr::operator<<(std::ostream&, ExprDag); %ignore CVC4::expr::operator<<(std::ostream&, ExprSetLanguage); %rename(assign) CVC4::Expr::operator=(const Expr&); %rename(equals) CVC4::Expr::operator==(const Expr&) const; %ignore CVC4::Expr::operator!=(const Expr&) const; %rename(less) CVC4::Expr::operator<(const Expr&) const; %rename(lessEqual) CVC4::Expr::operator<=(const Expr&) const; %rename(greater) CVC4::Expr::operator>(const Expr&) const; %rename(greaterEqual) CVC4::Expr::operator>=(const Expr&) const; %rename(getChild) CVC4::Expr::operator[](unsigned i) const; %ignore CVC4::Expr::operator bool() const;// can just use isNull() namespace CVC4 { namespace expr { %ignore exportInternal; }/* CVC4::expr namespace */ }/* CVC4 namespace */ %include "expr/expr.h" %template(getConstTypeConstant) CVC4::Expr::getConst; %template(getConstArrayStoreAll) CVC4::Expr::getConst; %template(getConstBitVectorSize) CVC4::Expr::getConst; %template(getConstAscriptionType) CVC4::Expr::getConst; %template(getConstBitVectorBitOf) CVC4::Expr::getConst; %template(getConstSubrangeBounds) CVC4::Expr::getConst; %template(getConstBitVectorRepeat) CVC4::Expr::getConst; %template(getConstBitVectorExtract) CVC4::Expr::getConst; %template(getConstBitVectorRotateLeft) CVC4::Expr::getConst; %template(getConstBitVectorSignExtend) CVC4::Expr::getConst; %template(getConstBitVectorZeroExtend) CVC4::Expr::getConst; %template(getConstBitVectorRotateRight) CVC4::Expr::getConst; %template(getConstUninterpretedConstant) CVC4::Expr::getConst; %template(getConstKind) CVC4::Expr::getConst; %template(getConstDatatype) CVC4::Expr::getConst; %template(getConstRational) CVC4::Expr::getConst; %template(getConstBitVector) CVC4::Expr::getConst; %template(getConstPredicate) CVC4::Expr::getConst; %template(getConstString) CVC4::Expr::getConst; %template(getConstBoolean) CVC4::Expr::getConst; %include "expr/expr.h"