Navigation

Operators and Keywords

Function List:

C++ API

make_int.cc File Reference

#include <octave/config.h>
#include <cstdlib>
#include <string>
#include <ostream>
#include <octave/lo-mappers.h>
#include <octave/lo-utils.h>
#include <octave/mx-base.h>
#include <octave/str-vec.h>
#include <octave/defun-dld.h>
#include <octave/error.h>
#include <octave/gripes.h>
#include <octave/oct-obj.h>
#include <octave/ops.h>
#include <octave/ov-base.h>
#include <octave/ov-typeinfo.h>
#include <octave/ov.h>
#include <octave/ov-scalar.h>
#include <octave/pager.h>
#include <octave/pr-output.h>
#include <octave/symtab.h>
#include <octave/variables.h>

Include dependency graph for make_int.cc:


Classes

class  octave_integer

Defines

#define DEFUNOP_OP(name, t, op)
#define DEFBINOP_OP(name, t1, t2, op)

Functions

 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_integer,"integer","integer")

Define Documentation

#define DEFBINOP_OP ( name,
t1,
t2,
op   ) 

Value:

BINOPDECL (name, a1, a2) \
  { \
    CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
    return octave_value \
      (new octave_integer (v1.t1 ## _value () op v2.t2 ## _value ())); \
  }

#define DEFUNOP_OP ( name,
t,
op   ) 

Value:

UNOPDECL (name, a) \
  { \
    CAST_UNOP_ARG (const octave_ ## t&); \
    return octave_value (new octave_integer (op v.t ## _value ())); \
  }


Function Documentation

DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA ( octave_integer  ,
"integer"  ,
"integer"   
)