Navigation

Operators and Keywords

Function List:

C++ API

octave_class Class Reference

#include <ov-class.h>

Inherits octave_base_value.

Collaboration diagram for octave_class:

List of all members.


Classes

class  exemplar_info

Public Types

typedef std::map< std::string,
exemplar_info >::iterator 
exemplar_iterator
typedef std::map< std::string,
exemplar_info >
::const_iterator 
exemplar_const_iterator

Public Member Functions

 octave_class (void)
 octave_class (const Octave_map &m, const std::string &id)
 octave_class (const octave_class &s)
 octave_class (const Octave_map &m, const std::string &id, const octave_value_list &parents)
 ~octave_class (void)
octave_base_valueclone (void) const
octave_base_valueunique_clone (void)
octave_base_valueempty_clone (void) const
Cell dotref (const octave_value_list &idx)
Matrix size (void)
octave_idx_type numel (const octave_value_list &)
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)
void assign (const std::string &k, const octave_value &rhs)
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
idx_vector index_vector (void) const
dim_vector dims (void) const
size_t byte_size (void) const
octave_idx_type numel (void) const
octave_idx_type nfields (void) const
size_t nparents (void) const
octave_value reshape (const dim_vector &new_dims) const
octave_value resize (const dim_vector &dv, bool=false) const
bool is_defined (void) const
bool is_map (void) const
bool is_object (void) const
Octave_map map_value (void) const
string_vector map_keys (void) const
std::list< std::stringparent_class_name_list (void) const
string_vector parent_class_names (void) const
octave_base_valuefind_parent_class (const std::string &)
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
void print_with_name (std::ostream &os, const std::string &name, bool print_padding=true)
bool reconstruct_exemplar (void)
bool reconstruct_parents (void)
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
int type_id (void) const
std::string type_name (void) const
std::string class_name (void) const

Static Public Member Functions

static octave_value numeric_conv (const Cell &val, const std::string &type)
static void clear_exemplar_map (void)
static int static_type_id (void)
static std::string static_type_name (void)
static std::string static_class_name (void)
static void register_type (void)

Static Public Attributes

static std::map< std::string,
exemplar_info
exemplar_map

Member Typedef Documentation


Constructor & Destructor Documentation

octave_class::octave_class ( void   )  [inline]

octave_class::octave_class ( const Octave_map m,
const std::string id 
) [inline]

octave_class::octave_class ( const octave_class s  )  [inline]

octave_class::octave_class ( const Octave_map m,
const std::string id,
const octave_value_list parents 
)

octave_class::~octave_class ( void   )  [inline]


Member Function Documentation

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

Reimplemented from octave_base_value.

void octave_class::assign ( const std::string k,
const octave_value rhs 
) [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

std::string octave_class::class_name ( void   )  const [inline]

void octave_class::clear_exemplar_map ( void   )  [static]

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

Cell octave_class::dotref ( const octave_value_list idx  ) 

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

Reimplemented from octave_base_value.

octave_base_value * octave_class::find_parent_class ( const std::string parent_class_name  )  [virtual]

Reimplemented from octave_base_value.

idx_vector octave_class::index_vector ( void   )  const [virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

bool octave_class::is_object ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

string_vector octave_class::map_keys ( void   )  const [virtual]

Reimplemented from octave_base_value.

Octave_map octave_class::map_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

size_t octave_class::nparents ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

octave_idx_type octave_class::numel ( const octave_value_list idx  )  [virtual]

Reimplemented from octave_base_value.

octave_value octave_class::numeric_conv ( const Cell val,
const std::string type 
) [static]

std::list<std::string> octave_class::parent_class_name_list ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

string_vector octave_class::parent_class_names ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

void octave_class::print_with_name ( std::ostream os,
const std::string name,
bool  print_padding = true 
) [virtual]

Reimplemented from octave_base_value.

bool octave_class::reconstruct_exemplar ( void   ) 

bool octave_class::reconstruct_parents ( void   ) 

void octave_class::register_type ( void   )  [static]

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

Matrix octave_class::size ( void   )  [virtual]

Reimplemented from octave_base_value.

static std::string octave_class::static_class_name ( void   )  [inline, static]

static int octave_class::static_type_id ( void   )  [inline, static]

static std::string octave_class::static_type_name ( void   )  [inline, static]

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

int octave_class::type_id ( void   )  const [inline]

std::string octave_class::type_name ( void   )  const [inline]

octave_base_value * octave_class::unique_clone ( void   )  [virtual]

Reimplemented from octave_base_value.


Member Data Documentation


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