GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
ov-str-mat.cc File Reference
#include <cctype>
#include <iostream>
#include <vector>
#include "data-conv.h"
#include "lo-ieee.h"
#include "mach-info.h"
#include "mx-base.h"
#include "oct-locbuf.h"
#include "byte-swap.h"
#include "defun.h"
#include "gripes.h"
#include "ls-ascii-helper.h"
#include "ls-hdf5.h"
#include "ls-oct-ascii.h"
#include "ls-utils.h"
#include "oct-obj.h"
#include "oct-stream.h"
#include "ops.h"
#include "ov-scalar.h"
#include "ov-re-mat.h"
#include "ov-str-mat.h"
#include "pr-output.h"
#include "pt-mat.h"
#include "utils.h"
Include dependency graph for ov-str-mat.cc:

Go to the source code of this file.

Macros

#define CHAR_MATRIX_CONV(T, INIT, TNAME, FCN)

Functions

static octave_base_valuedefault_numeric_conversion_function (const octave_base_value &a)
 DEFINE_OCTAVE_ALLOCATOR (octave_char_matrix_str)
 DEFINE_OCTAVE_ALLOCATOR (octave_char_matrix_sq_str)

Macro Definition Documentation

#define CHAR_MATRIX_CONV (   T,
  INIT,
  TNAME,
  FCN 
)
Value:
T retval INIT; \
if (! force_string_conv) \
gripe_invalid_conversion ("string", TNAME); \
else \
{ \
warning_with_id ("Octave:str-to-num", \
"implicit conversion from %s to %s", \
"string", TNAME); \
\
retval = octave_char_matrix::FCN (); \
} \
\
return retval

Definition at line 154 of file ov-str-mat.cc.

Referenced by octave_char_matrix_str::array_value(), octave_char_matrix_str::complex_array_value(), octave_char_matrix_str::complex_matrix_value(), octave_char_matrix_str::complex_value(), octave_char_matrix_str::double_value(), and octave_char_matrix_str::matrix_value().

Function Documentation

static octave_base_value* default_numeric_conversion_function ( const octave_base_value a)
static
DEFINE_OCTAVE_ALLOCATOR ( octave_char_matrix_str  )
DEFINE_OCTAVE_ALLOCATOR ( octave_char_matrix_sq_str  )