GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cdef-class.cc File Reference
#include <algorithm>
#include <iomanip>
#include "cdef-class.h"
#include "cdef-manager.h"
#include "cdef-method.h"
#include "cdef-package.h"
#include "cdef-property.h"
#include "cdef-utils.h"
#include "errwarn.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-builtin.h"
#include "ov-classdef.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "parse.h"
#include "pt-assign.h"
#include "pt-classdef.h"
#include "pt-eval.h"
#include "pt-idx.h"
#include "pt-misc.h"
#include "pt-stmt.h"
#include "pt-walk.h"
#include "unwind-prot.h"
Include dependency graph for cdef-class.cc:

Go to the source code of this file.

Classes

class  ctor_analyzer
 

Macros

#define DEBUG_TRACE   0
 

Functions

template<typename T >
static std::string attribute_value_to_string (T *t, octave_value v)
 
static octave_value compute_attribute_value (tree_evaluator &tw, tree_classdef_attribute *t)
 
static octave_value make_fcn_handle (const octave_value &fcn, const std::string &meth_name, const std::string &class_name)
 

Macro Definition Documentation

◆ DEBUG_TRACE

#define DEBUG_TRACE   0

Definition at line 58 of file cdef-class.cc.

Function Documentation

◆ attribute_value_to_string()

template<typename T >
static std::string attribute_value_to_string ( T *  t,
octave_value  v 
)
static

Definition at line 835 of file cdef-class.cc.

References octave_value::is_string(), and octave_value::string_value().

Referenced by cdef_class::make_meta_class().

◆ compute_attribute_value()

◆ make_fcn_handle()

static octave_value make_fcn_handle ( const octave_value fcn,
const std::string &  meth_name,
const std::string &  class_name 
)
static

Definition at line 66 of file cdef-class.cc.

References octave_value::is_defined(), and octave_value().

Referenced by cdef_class::make_meta_class().