mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
89 lines
2.9 KiB
C++
89 lines
2.9 KiB
C++
|
|
#ifndef SWIG_INT_HH
|
|
#define SWIG_INT_HH
|
|
|
|
#include <string>
|
|
|
|
class swig_int {
|
|
|
|
public:
|
|
long long value ;
|
|
std::string units ;
|
|
static char str_output[32] ;
|
|
|
|
swig_int() ;
|
|
|
|
char * __str__() ;
|
|
char * __repr__() ;
|
|
|
|
PyObject * __add__(PyObject * obj1) ;
|
|
PyObject * __sub__(PyObject * obj1) ;
|
|
PyObject * __mul__(PyObject * obj1) ;
|
|
PyObject * __div__(PyObject * obj1) ;
|
|
PyObject * __truediv__(PyObject * obj1) ;
|
|
PyObject * __floordiv__(PyObject * obj1) ;
|
|
PyObject * __mod__(PyObject * obj1) ;
|
|
//PyObject * __divmod__(PyObject * obj1) ;
|
|
PyObject * __pow__(PyObject * obj1) ;
|
|
PyObject * __lshift__(PyObject * obj1) ;
|
|
PyObject * __rshift__(PyObject * obj1) ;
|
|
PyObject * __and__(PyObject * obj1) ;
|
|
PyObject * __xor__(PyObject * obj1) ;
|
|
PyObject * __or__(PyObject * obj1) ;
|
|
|
|
PyObject * __radd__(PyObject * obj1) ;
|
|
PyObject * __rsub__(PyObject * obj1) ;
|
|
PyObject * __rmul__(PyObject * obj1) ;
|
|
PyObject * __rdiv__(PyObject * obj1) ;
|
|
PyObject * __rtruediv__(PyObject * obj1) ;
|
|
PyObject * __rfloordiv__(PyObject * obj1) ;
|
|
PyObject * __rmod__(PyObject * obj1) ;
|
|
//PyObject * __rdivmod__(PyObject * obj1) ;
|
|
PyObject * __rpow__(PyObject * obj1) ;
|
|
PyObject * __rlshift__(PyObject * obj1) ;
|
|
PyObject * __rrshift__(PyObject * obj1) ;
|
|
PyObject * __rand__(PyObject * obj1) ;
|
|
PyObject * __rxor__(PyObject * obj1) ;
|
|
PyObject * __ror__(PyObject * obj1) ;
|
|
|
|
PyObject * __iadd__(PyObject * obj1) ;
|
|
PyObject * __isub__(PyObject * obj1) ;
|
|
PyObject * __imul__(PyObject * obj1) ;
|
|
PyObject * __idiv__(PyObject * obj1) ;
|
|
PyObject * __itruediv__(PyObject * obj1) ;
|
|
PyObject * __ifloordiv__(PyObject * obj1) ;
|
|
PyObject * __imod__(PyObject * obj1) ;
|
|
PyObject * __ipow__(PyObject * obj1) ;
|
|
PyObject * __ilshift__(PyObject * obj1) ;
|
|
PyObject * __irshift__(PyObject * obj1) ;
|
|
PyObject * __iand__(PyObject * obj1) ;
|
|
PyObject * __ixor__(PyObject * obj1) ;
|
|
PyObject * __ior__(PyObject * obj1) ;
|
|
|
|
PyObject * __lt__(PyObject * obj1) ;
|
|
PyObject * __le__(PyObject * obj1) ;
|
|
PyObject * __eq__(PyObject * obj1) ;
|
|
PyObject * __ne__(PyObject * obj1) ;
|
|
PyObject * __gt__(PyObject * obj1) ;
|
|
PyObject * __ge__(PyObject * obj1) ;
|
|
|
|
PyObject * __neg__() ;
|
|
PyObject * __pos__() ;
|
|
PyObject * __abs__() ;
|
|
PyObject * __invert__() ;
|
|
PyObject * __nonzero__() ;
|
|
|
|
//PyObject * __complex__(PyObject * obj1) ;
|
|
PyObject * __int__() ;
|
|
PyObject * __long__() ;
|
|
PyObject * __float__() ;
|
|
|
|
PyObject * __oct__() ;
|
|
PyObject * __hex__() ;
|
|
|
|
PyObject * __len__() ;
|
|
|
|
} ;
|
|
|
|
#endif
|