26 #if ! defined (octave_ov_base_int_h)
27 #define octave_ov_base_int_h 1
29 #include "octave-config.h"
68 bool isreal (
void)
const {
return true; }
75 print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
78 convert_to_str_internal (
bool,
bool,
char type)
const;
93 OCTINTERP_API std::string
97 OCTINTERP_API
bool save_ascii (std::ostream& os);
99 OCTINTERP_API
bool load_ascii (std::istream& is);
101 OCTINTERP_API
bool save_binary (std::ostream& os,
bool);
110 const char *name,
bool);
119 template <
typename T>
139 bool isreal (
void)
const {
return true; }
148 convert_to_str_internal (
bool,
bool,
char type)
const;
163 OCTINTERP_API std::string
167 OCTINTERP_API
bool save_ascii (std::ostream& os);
169 OCTINTERP_API
bool load_ascii (std::istream& is);
171 OCTINTERP_API
bool save_binary (std::ostream& os,
bool);
173 OCTINTERP_API
bool load_binary (std::istream& is,
bool swap,
179 const char *name,
bool);
octave_base_int_matrix(void)
octave_base_int_matrix(const T &nda)
~octave_base_int_matrix(void)=default
octave_base_value * clone(void) const
octave_base_value * empty_clone(void) const
~octave_base_int_scalar(void)=default
octave_base_int_scalar(void)
octave_base_value * clone(void) const
bool is_real_scalar(void) const
octave_base_int_scalar(const T &s)
octave_base_value * empty_clone(void) const
octave_base_value * try_narrowing_conversion(void)
static double as_double(OCTAVE_TIME_T sec, long usec)