Navigation

Operators and Keywords

Function List:

C++ API

octave_map Class Reference

#include <oct-map.h>

Collaboration diagram for octave_map:

List of all members.

Public Types

typedef octave_scalar_map element_type
typedef
octave_fields::const_iterator 
const_iterator
typedef const_iterator iterator

Public Member Functions

 octave_map (const octave_fields &k)
 octave_map (const dim_vector &dv, const octave_fields &k)
 octave_map (void)
 octave_map (const dim_vector &dv)
 octave_map (const string_vector &k)
 octave_map (const dim_vector &dv, const string_vector &k)
 octave_map (const octave_map &m)
 octave_map (const octave_scalar_map &m)
 octave_map (const Octave_map &m)
octave_mapoperator= (const octave_map &m)
const_iterator begin (void) const
const_iterator end (void) const
const_iterator seek (const std::string &k) const
std::string key (const_iterator p) const
octave_idx_type index (const_iterator p) const
const Cellcontents (const_iterator p) const
Cellcontents (iterator p)
const Cellcontents (octave_idx_type i) const
Cellcontents (octave_idx_type i)
octave_idx_type nfields (void) const
bool isfield (const std::string &name) const
bool contains (const std::string &name) const
string_vector fieldnames (void) const
string_vector keys (void) const
Cell getfield (const std::string &key) const
void setfield (const std::string &key, const Cell &val)
void assign (const std::string &k, const Cell &val)
void rmfield (const std::string &key)
void del (const std::string &k)
octave_map orderfields (void) const
octave_map orderfields (Array< octave_idx_type > &perm) const
octave_map orderfields (const octave_map &other, Array< octave_idx_type > &perm) const
Cell contents (const std::string &k) const
Cellcontents (const std::string &k)
void clear (void)
octave_idx_type numel (void) const
octave_idx_type length (void) const
bool is_empty (void) const
octave_idx_type rows (void) const
octave_idx_type cols (void) const
octave_idx_type columns (void) const
octave_scalar_map checkelem (octave_idx_type n) const
octave_scalar_map checkelem (octave_idx_type i, octave_idx_type j) const
octave_scalar_map checkelem (const Array< octave_idx_type > &ra_idx) const
octave_scalar_map operator() (octave_idx_type n) const
octave_scalar_map operator() (octave_idx_type i, octave_idx_type j) const
octave_scalar_map operator() (const Array< octave_idx_type > &ra_idx) const
octave_map squeeze (void) const
octave_map permute (const Array< int > &vec, bool inv=false) const
dim_vector dims (void) const
int ndims (void) const
octave_map transpose (void) const
octave_map reshape (const dim_vector &dv) const
void resize (const dim_vector &dv, bool fill=false)
octave_map index (const idx_vector &i, bool resize_ok=false) const
octave_map index (const idx_vector &i, const idx_vector &j, bool resize_ok=false) const
octave_map index (const Array< idx_vector > &ia, bool resize_ok=false) const
octave_map index (const octave_value_list &, bool resize_ok=false) const
octave_map column (octave_idx_type k) const
octave_map page (octave_idx_type k) const
void assign (const idx_vector &i, const octave_map &rhs)
void assign (const idx_vector &i, const idx_vector &j, const octave_map &rhs)
void assign (const Array< idx_vector > &ia, const octave_map &rhs)
void assign (const octave_value_list &, const octave_map &rhs)
void assign (const octave_value_list &idx, const std::string &k, const Cell &rhs)
void delete_elements (const idx_vector &i)
void delete_elements (int dim, const idx_vector &i)
void delete_elements (const Array< idx_vector > &ia)
void delete_elements (const octave_value_list &)
octave_map concat (const octave_map &rb, const Array< octave_idx_type > &ra_idx)
octave_scalar_map fast_elem_extract (octave_idx_type n) const
bool fast_elem_insert (octave_idx_type n, const octave_scalar_map &rhs)

Static Public Member Functions

static octave_map cat (int dim, octave_idx_type n, const octave_scalar_map *map_list)
static octave_map cat (int dim, octave_idx_type n, const octave_map *map_list)

Member Typedef Documentation


Constructor & Destructor Documentation

octave_map::octave_map ( const octave_fields k  )  [inline]
octave_map::octave_map ( const dim_vector dv,
const octave_fields k 
) [inline]
octave_map::octave_map ( void   )  [inline]
octave_map::octave_map ( const dim_vector dv  )  [inline]
octave_map::octave_map ( const string_vector k  )  [inline]
octave_map::octave_map ( const dim_vector dv,
const string_vector k 
) [inline]
octave_map::octave_map ( const octave_map m  )  [inline]
octave_map::octave_map ( const octave_scalar_map m  ) 
octave_map::octave_map ( const Octave_map m  ) 

Member Function Documentation

void octave_map::assign ( const std::string &  k,
const Cell val 
) [inline]
void octave_map::assign ( const idx_vector i,
const octave_map rhs 
)
void octave_map::assign ( const idx_vector i,
const idx_vector j,
const octave_map rhs 
)
void octave_map::assign ( const Array< idx_vector > &  ia,
const octave_map rhs 
)
void octave_map::assign ( const octave_value_list idx,
const octave_map rhs 
)
void octave_map::assign ( const octave_value_list idx,
const std::string &  k,
const Cell rhs 
)
const_iterator octave_map::begin ( void   )  const [inline]
octave_map octave_map::cat ( int  dim,
octave_idx_type  n,
const octave_scalar_map map_list 
) [static]
octave_map octave_map::cat ( int  dim,
octave_idx_type  n,
const octave_map map_list 
) [static]
octave_scalar_map octave_map::checkelem ( octave_idx_type  n  )  const
octave_scalar_map octave_map::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
octave_scalar_map octave_map::checkelem ( const Array< octave_idx_type > &  ra_idx  )  const
void octave_map::clear ( void   )  [inline]
octave_idx_type octave_map::cols ( void   )  const [inline]
octave_map octave_map::column ( octave_idx_type  k  )  const
octave_idx_type octave_map::columns ( void   )  const [inline]
octave_map octave_map::concat ( const octave_map rb,
const Array< octave_idx_type > &  ra_idx 
)
bool octave_map::contains ( const std::string &  name  )  const [inline]
Cell& octave_map::contents ( iterator  p  )  [inline]
const Cell& octave_map::contents ( octave_idx_type  i  )  const [inline]
Cell& octave_map::contents ( octave_idx_type  i  )  [inline]
Cell octave_map::contents ( const std::string &  k  )  const
Cell & octave_map::contents ( const std::string &  k  ) 
const Cell& octave_map::contents ( const_iterator  p  )  const [inline]
void octave_map::del ( const std::string &  k  )  [inline]
void octave_map::delete_elements ( const octave_value_list idx  ) 
void octave_map::delete_elements ( const idx_vector i  ) 
void octave_map::delete_elements ( const Array< idx_vector > &  ia  ) 
void octave_map::delete_elements ( int  dim,
const idx_vector i 
)
dim_vector octave_map::dims ( void   )  const [inline]
const_iterator octave_map::end ( void   )  const [inline]
octave_scalar_map octave_map::fast_elem_extract ( octave_idx_type  n  )  const
bool octave_map::fast_elem_insert ( octave_idx_type  n,
const octave_scalar_map rhs 
)
string_vector octave_map::fieldnames ( void   )  const [inline]
Cell octave_map::getfield ( const std::string &  key  )  const
octave_map octave_map::index ( const octave_value_list idx,
bool  resize_ok = false 
) const
octave_map octave_map::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok = false 
) const
octave_map octave_map::index ( const idx_vector i,
bool  resize_ok = false 
) const
octave_map octave_map::index ( const Array< idx_vector > &  ia,
bool  resize_ok = false 
) const
octave_idx_type octave_map::index ( const_iterator  p  )  const [inline]
bool octave_map::is_empty ( void   )  const [inline]
bool octave_map::isfield ( const std::string &  name  )  const [inline]
std::string octave_map::key ( const_iterator  p  )  const [inline]
string_vector octave_map::keys ( void   )  const [inline]
octave_idx_type octave_map::length ( void   )  const [inline]
int octave_map::ndims ( void   )  const [inline]
octave_idx_type octave_map::nfields ( void   )  const [inline]
octave_idx_type octave_map::numel ( void   )  const [inline]
octave_scalar_map octave_map::operator() ( const Array< octave_idx_type > &  ra_idx  )  const [inline]
octave_scalar_map octave_map::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const [inline]
octave_scalar_map octave_map::operator() ( octave_idx_type  n  )  const [inline]
octave_map& octave_map::operator= ( const octave_map m  )  [inline]
octave_map octave_map::orderfields ( const octave_map other,
Array< octave_idx_type > &  perm 
) const
octave_map octave_map::orderfields ( void   )  const
octave_map octave_map::orderfields ( Array< octave_idx_type > &  perm  )  const
octave_map octave_map::page ( octave_idx_type  k  )  const
octave_map octave_map::permute ( const Array< int > &  vec,
bool  inv = false 
) const
octave_map octave_map::reshape ( const dim_vector dv  )  const
void octave_map::resize ( const dim_vector dv,
bool  fill = false 
)
void octave_map::rmfield ( const std::string &  key  ) 
octave_idx_type octave_map::rows ( void   )  const [inline]
const_iterator octave_map::seek ( const std::string &  k  )  const [inline]
void octave_map::setfield ( const std::string &  key,
const Cell val 
)
octave_map octave_map::squeeze ( void   )  const
octave_map octave_map::transpose ( void   )  const

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