Navigation

Operators and Keywords

Function List:

C++ API

octave_struct Class Reference

#include <ov-struct.h>

Inherits octave_base_value.

Collaboration diagram for octave_struct:

List of all members.

Public Member Functions

 octave_struct (void)
 octave_struct (const octave_map &m)
 octave_struct (const octave_struct &s)
 ~octave_struct (void)
octave_base_valueclone (void) const
octave_base_valueempty_clone (void) const
octave_base_valuetry_narrowing_conversion (void)
Cell dotref (const octave_value_list &idx, bool auto_add=false)
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_value_list subsref (const std::string &, const std::list< octave_value_list > &, int)
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
octave_value squeeze (void) const
octave_value permute (const Array< int > &vec, bool inv=false) const
octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
dim_vector dims (void) const
size_t byte_size (void) const
octave_idx_type numel (void) const
octave_idx_type nfields (void) const
octave_value reshape (const dim_vector &new_dims) const
octave_value resize (const dim_vector &dv, bool fill=false) const
bool is_defined (void) const
bool is_constant (void) const
bool is_map (void) const
builtin_type_t builtin_type (void) const
octave_map map_value (void) const
string_vector map_keys (void) const
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
bool print_name_tag (std::ostream &os, const std::string &name) 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)
mxArrayas_mxArray (void) const
octave_value fast_elem_extract (octave_idx_type n) const
bool fast_elem_insert (octave_idx_type n, const octave_value &x)

Static Public Member Functions

static octave_value numeric_conv (const octave_value &val, const std::string &type)

Protected Attributes

octave_map map

Constructor & Destructor Documentation

octave_struct::octave_struct ( void   )  [inline]
octave_struct::octave_struct ( const octave_map m  )  [inline]
octave_struct::octave_struct ( const octave_struct s  )  [inline]
octave_struct::~octave_struct ( void   )  [inline]

Member Function Documentation

mxArray * octave_struct::as_mxArray ( void   )  const [virtual]

Reimplemented from octave_base_value.

builtin_type_t octave_struct::builtin_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

size_t octave_struct::byte_size ( void   )  const [virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

octave_value octave_struct::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
) [virtual]

Reimplemented from octave_base_value.

Cell octave_struct::dotref ( const octave_value_list idx,
bool  auto_add = false 
)
octave_base_value* octave_struct::empty_clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_struct::fast_elem_extract ( octave_idx_type  n  )  const [virtual]

Reimplemented from octave_base_value.

bool octave_struct::fast_elem_insert ( octave_idx_type  n,
const octave_value x 
) [virtual]

Reimplemented from octave_base_value.

bool octave_struct::is_constant ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

bool octave_struct::is_map ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

string_vector octave_struct::map_keys ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_map octave_struct::map_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_idx_type octave_struct::nfields ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_idx_type octave_struct::numel ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_struct::numeric_conv ( const octave_value val,
const std::string &  type 
) [static]
octave_value octave_struct::permute ( const Array< int > &  vec,
bool  inv = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

bool octave_struct::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const [virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

octave_value octave_struct::reshape ( const dim_vector new_dims  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_struct::resize ( const dim_vector dv,
bool  fill = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_struct::save_ascii ( std::ostream &  os  )  [virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

octave_value octave_struct::squeeze ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_struct::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [virtual]

Reimplemented from octave_base_value.

octave_value octave_struct::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
) [virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

octave_base_value * octave_struct::try_narrowing_conversion ( void   )  [virtual]

Reimplemented from octave_base_value.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines