Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

octave_sparse_params Class Reference

#include "oct-spparms.h"

Collaboration diagram for octave_sparse_params:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 octave_sparse_params (const octave_sparse_params &a)
 ~octave_sparse_params (void)
octave_sparse_paramsoperator= (const octave_sparse_params &a)

Static Public Member Functions

static void defaults (void)
static double get_bandden (void)
static double get_key (const std::string &key)
static string_vector get_keys (void)
static ColumnVector get_vals (void)
static bool instance_ok (void)
static void print_info (std::ostream &os, const std::string &prefix)
static bool set_key (const std::string &key, const double &val)
static bool set_vals (const NDArray &vals)
static void tight (void)

Protected Member Functions

 octave_sparse_params (void)

Private Member Functions

void do_defaults (void)
double do_get_bandden (void)
double do_get_key (const std::string &key)
string_vector do_get_keys (void) const
ColumnVector do_get_vals (void) const
void do_print_info (std::ostream &os, const std::string &prefix) const
bool do_set_key (const std::string &key, const double &val)
bool do_set_vals (const NDArray &vals)
void do_tight (void)
void init_keys (void)

Static Private Member Functions

static void cleanup_instance (void)

Private Attributes

string_vector keys
ColumnVector params

Static Private Attributes

static octave_sparse_paramsinstance = 0

Detailed Description

Definition at line 38 of file oct-spparms.h.


Constructor & Destructor Documentation

octave_sparse_params::octave_sparse_params ( void   )  [inline, protected]

Definition at line 44 of file oct-spparms.h.

Referenced by instance_ok().

octave_sparse_params::octave_sparse_params ( const octave_sparse_params a  )  [inline]

Definition at line 54 of file oct-spparms.h.

octave_sparse_params::~octave_sparse_params ( void   )  [inline]

Definition at line 68 of file oct-spparms.h.


Member Function Documentation

static void octave_sparse_params::cleanup_instance ( void   )  [inline, static, private]

Definition at line 98 of file oct-spparms.h.

Referenced by instance_ok().

void octave_sparse_params::defaults ( void   )  [static]

Definition at line 61 of file oct-spparms.cc.

References do_defaults(), instance, and instance_ok().

Referenced by DEFUN_DLD().

void octave_sparse_params::do_defaults ( void   )  [private]

Definition at line 118 of file oct-spparms.cc.

References params.

Referenced by defaults().

double octave_sparse_params::do_get_bandden ( void   )  [private]

Definition at line 172 of file oct-spparms.cc.

References params.

Referenced by get_bandden().

double octave_sparse_params::do_get_key ( const std::string &  key  )  [private]

Definition at line 214 of file oct-spparms.cc.

References keys, octave_NaN, and params.

Referenced by get_key().

string_vector octave_sparse_params::do_get_keys ( void   )  const [inline, private]

Definition at line 104 of file oct-spparms.h.

Referenced by get_keys().

ColumnVector octave_sparse_params::do_get_vals ( void   )  const [inline, private]

Definition at line 106 of file oct-spparms.h.

Referenced by get_vals().

void octave_sparse_params::do_print_info ( std::ostream &  os,
const std::string &  prefix 
) const [private]

Definition at line 226 of file oct-spparms.cc.

References keys, and params.

Referenced by print_info().

bool octave_sparse_params::do_set_key ( const std::string &  key,
const double val 
) [private]

Definition at line 199 of file oct-spparms.cc.

References keys, and params.

Referenced by set_key().

bool octave_sparse_params::do_set_vals ( const NDArray vals  )  [private]

Definition at line 178 of file oct-spparms.cc.

References Array< T >::length(), OCTAVE_SPARSE_CONTROLS_SIZE, and params.

Referenced by set_vals().

void octave_sparse_params::do_tight ( void   )  [private]

Definition at line 136 of file oct-spparms.cc.

References params.

Referenced by tight().

double octave_sparse_params::get_bandden ( void   )  [static]

Definition at line 105 of file oct-spparms.cc.

References do_get_bandden(), instance, and instance_ok().

Referenced by MatrixType::MatrixType(), and MatrixType::type().

double octave_sparse_params::get_key ( const std::string &  key  )  [static]
string_vector octave_sparse_params::get_keys ( void   )  [static]

Definition at line 75 of file oct-spparms.cc.

References do_get_keys(), instance, and instance_ok().

Referenced by DEFUN_DLD().

ColumnVector octave_sparse_params::get_vals ( void   )  [static]

Definition at line 81 of file oct-spparms.cc.

References do_get_vals(), instance, and instance_ok().

Referenced by DEFUN_DLD().

void octave_sparse_params::init_keys ( void   )  [private]

Definition at line 154 of file oct-spparms.cc.

References keys.

bool octave_sparse_params::instance_ok ( void   )  [static]
octave_sparse_params& octave_sparse_params::operator= ( const octave_sparse_params a  )  [inline]

Definition at line 57 of file oct-spparms.h.

References keys, and params.

void octave_sparse_params::print_info ( std::ostream &  os,
const std::string &  prefix 
) [static]

Definition at line 111 of file oct-spparms.cc.

References do_print_info(), instance, and instance_ok().

Referenced by DEFUN_DLD().

bool octave_sparse_params::set_key ( const std::string &  key,
const double val 
) [static]

Definition at line 93 of file oct-spparms.cc.

References do_set_key(), instance, and instance_ok().

Referenced by DEFUN_DLD().

bool octave_sparse_params::set_vals ( const NDArray vals  )  [static]

Definition at line 87 of file oct-spparms.cc.

References do_set_vals(), instance, and instance_ok().

Referenced by DEFUN_DLD().

void octave_sparse_params::tight ( void   )  [static]

Definition at line 68 of file oct-spparms.cc.

References do_tight(), instance, and instance_ok().

Referenced by DEFUN_DLD().


Member Data Documentation

Definition at line 94 of file oct-spparms.h.

Referenced by do_get_key(), do_print_info(), do_set_key(), init_keys(), and operator=().


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