Navigation

Operators and Keywords

Function List:

C++ API

ls-oct-ascii.cc File Reference

#include <cstring>
#include <cctype>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include "byte-swap.h"
#include "data-conv.h"
#include "file-ops.h"
#include "glob-match.h"
#include "lo-mappers.h"
#include "mach-info.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "str-vec.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "load-save.h"
#include "ls-ascii-helper.h"
#include "ls-oct-ascii.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "ov-cell.h"
#include "pager.h"
#include "pt-exp.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "version.h"
#include "dMatrix.h"

Include dependency graph for ls-oct-ascii.cc:


Defines

#define SUBSTRING_COMPARE_EQ(s, pos, n, t)   (s.substr (pos, n) == t)

Functions

std::string extract_keyword (std::istream &is, const char *keyword, const bool next_only)
std::string read_ascii_data (std::istream &is, const std::string &filename, bool &global, octave_value &tc, octave_idx_type count)
bool save_ascii_data (std::ostream &os, const octave_value &val_arg, const std::string &name, bool mark_as_global, int precision)
bool save_ascii_data_for_plotting (std::ostream &os, const octave_value &t, const std::string &name)
bool save_three_d (std::ostream &os, const octave_value &tc, bool parametric)
 DEFUN (save_precision, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} save_precision ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} save_precision (@var{new_val})\n\ Query or set the internal variable that specifies the number of\n\ digits to keep when saving data in text format.\n\ @end deftypefn")

Define Documentation

#define SUBSTRING_COMPARE_EQ ( s,
pos,
n,
 )     (s.substr (pos, n) == t)


Function Documentation

DEFUN ( save_precision  ,
args  ,
nargout   
)

std::string extract_keyword ( std::istream &  is,
const char *  keyword,
const bool  next_only 
)

std::string read_ascii_data ( std::istream &  is,
const std::string filename,
bool global,
octave_value tc,
octave_idx_type  count 
)

bool save_ascii_data ( std::ostream os,
const octave_value val_arg,
const std::string name,
bool  mark_as_global,
int  precision 
)

bool save_ascii_data_for_plotting ( std::ostream os,
const octave_value t,
const std::string name 
)

bool save_three_d ( std::ostream os,
const octave_value tc,
bool  parametric 
)