Navigation

Operators and Keywords

Function List:

C++ API

octave_fcn_handle Class Reference

#include <ov-fcn-handle.h>

Inherits octave_base_value.

Inherited by octave_fcn_inline.

Collaboration diagram for octave_fcn_handle:

List of all members.


Public Member Functions

 octave_fcn_handle (void)
 octave_fcn_handle (const std::string &n)
 octave_fcn_handle (const octave_value &f, const std::string &n)
 octave_fcn_handle (const octave_fcn_handle &fh)
 ~octave_fcn_handle (void)
octave_base_valueclone (void) const
octave_base_valueempty_clone (void) const
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
octave_value_list do_multi_index_op (int nargout, const octave_value_list &args)
bool is_defined (void) const
bool is_function_handle (void) const
bool is_overloaded (void) const
dim_vector dims (void) const
octave_functionfunction_value (bool=false)
const octave_functionfunction_value (bool=false) const
octave_user_functionuser_function_value (bool=false)
octave_fcn_handlefcn_handle_value (bool=false)
octave_value fcn_val (void) const
std::string fcn_name (void) const
bool save_ascii (std::ostream &os)
bool load_ascii (std::istream &is)
bool save_binary (std::ostream &os, bool &save_as_floats)
bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
void print (std::ostream &os, bool pr_as_read_syntax=false) const
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const

Protected Attributes

octave_value fcn
std::string nm
std::auto_ptr< str_ov_map > disp

Friends

octave_value make_fcn_handle (const std::string &, bool)

Constructor & Destructor Documentation

octave_fcn_handle::octave_fcn_handle ( void   )  [inline]

octave_fcn_handle::octave_fcn_handle ( const std::string n  )  [inline]

octave_fcn_handle::octave_fcn_handle ( const octave_value f,
const std::string n 
)

octave_fcn_handle::octave_fcn_handle ( const octave_fcn_handle fh  )  [inline]

octave_fcn_handle::~octave_fcn_handle ( void   )  [inline]


Member Function Documentation

octave_base_value* octave_fcn_handle::clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

dim_vector octave_fcn_handle::dims ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value_list octave_fcn_handle::do_multi_index_op ( int  nargout,
const octave_value_list args 
) [virtual]

Reimplemented from octave_base_value.

octave_base_value* octave_fcn_handle::empty_clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

octave_fcn_handle* octave_fcn_handle::fcn_handle_value ( bool  = false  )  [inline, virtual]

Reimplemented from octave_base_value.

std::string octave_fcn_handle::fcn_name ( void   )  const [inline]

octave_value octave_fcn_handle::fcn_val ( void   )  const [inline]

const octave_function* octave_fcn_handle::function_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_function* octave_fcn_handle::function_value ( bool  = false  )  [inline, virtual]

Reimplemented from octave_base_value.

bool octave_fcn_handle::is_defined ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_fcn_handle::is_function_handle ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_fcn_handle::is_overloaded ( void   )  const [inline]

bool octave_fcn_handle::load_ascii ( std::istream &  is  )  [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

bool octave_fcn_handle::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
) [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

void octave_fcn_handle::print ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

void octave_fcn_handle::print_raw ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

bool octave_fcn_handle::save_ascii ( std::ostream os  )  [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

bool octave_fcn_handle::save_binary ( std::ostream os,
bool save_as_floats 
) [virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_fcn_inline.

octave_value_list octave_fcn_handle::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int  nargout 
) [virtual]

Reimplemented from octave_base_value.

octave_value octave_fcn_handle::subsref ( const std::string type,
const std::list< octave_value_list > &  idx 
) [inline, virtual]

Reimplemented from octave_base_value.

octave_user_function* octave_fcn_handle::user_function_value ( bool  = false  )  [inline, virtual]

Reimplemented from octave_base_value.


Friends And Related Function Documentation

octave_value make_fcn_handle ( const std::string ,
bool   
) [friend]


Member Data Documentation

std::auto_ptr<str_ov_map> octave_fcn_handle::disp [protected]


The documentation for this class was generated from the following files: