Unary and binary operators for classdef and old style classes. More...
#include "oct-time.h"
#include "errwarn.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ovl.h"
#include "ov.h"
#include "ov-class.h"
#include "ov-typeinfo.h"
#include "ops.h"
#include "symtab.h"
Go to the source code of this file.
Macros | |
#define | DEF_CLASS_BINOP(opname) |
Helper macro to define binary class operators. | |
#define | DEF_CLASS_UNOP(opname) |
Helper macro to define unary class operators. | |
Functions | |
void | install_class_ops (octave::type_info &ti) |
Unary and binary operators for classdef and old style classes.
Definition in file op-class.cc.
#define DEF_CLASS_BINOP | ( | opname | ) |
Helper macro to define binary class operators.
Definition at line 174 of file op-class.cc.
#define DEF_CLASS_UNOP | ( | opname | ) |
Helper macro to define unary class operators.
Definition at line 110 of file op-class.cc.
void install_class_ops | ( | octave::type_info & | ti | ) |
Definition at line 202 of file op-class.cc.
References octave_value::op_add, octave_value::op_div, octave_value::op_el_and, octave_value::op_el_div, octave_value::op_el_ldiv, octave_value::op_el_mul, octave_value::op_el_or, octave_value::op_el_pow, octave_value::op_eq, octave_value::op_ge, octave_value::op_gt, octave_value::op_hermitian, octave_value::op_ldiv, octave_value::op_le, octave_value::op_lt, octave_value::op_mul, octave_value::op_ne, octave_value::op_not, octave_value::op_pow, octave_value::op_sub, octave_value::op_transpose, octave_value::op_uminus, and octave_value::op_uplus.