GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
printf_format_list (const std::string &fmt="") | |
~printf_format_list (void) | |
const printf_format_elt * | current (void) const |
const printf_format_elt * | first (void) |
bool | last_elt_p (void) |
size_t | length (void) const |
const printf_format_elt * | next (bool cycle=true) |
octave_idx_type | num_conversions (void) |
bool | ok (void) const |
operator bool () const | |
void | printme (void) const |
Private Member Functions | |
printf_format_list (const printf_format_list &) | |
void | add_elt_to_list (int args, const std::string &flags, int fw, int prec, char type, char modifier) |
void | finish_conversion (const std::string &s, size_t &i, int args, const std::string &flags, int fw, int prec, char modifier, char &type) |
printf_format_list & | operator= (const printf_format_list &) |
void | process_conversion (const std::string &s, size_t &i, size_t n, int &args, std::string &flags, int &fw, int &prec, char &modifier, char &type) |
Private Attributes | |
std::ostringstream | buf |
size_t | curr_idx |
std::deque< printf_format_elt * > | fmt_elts |
octave_idx_type | nconv |
Definition at line 793 of file oct-stream.cc.
printf_format_list::printf_format_list | ( | const std::string & | fmt = "" | ) |
Definition at line 873 of file oct-stream.cc.
References add_elt_to_list(), buf, fmt_elts, nconv, process_conversion(), string, and type.
printf_format_list::~printf_format_list | ( | void | ) |
Definition at line 956 of file oct-stream.cc.
References fmt_elts.
|
private |
|
private |
Definition at line 968 of file oct-stream.cc.
References buf, fmt_elts, string, and type.
Referenced by finish_conversion(), and printf_format_list().
|
inline |
Definition at line 810 of file oct-stream.cc.
References jit_convention::length.
|
private |
Definition at line 1103 of file oct-stream.cc.
References add_elt_to_list(), buf, and nconv.
Referenced by process_conversion().
|
inline |
Definition at line 804 of file oct-stream.cc.
Referenced by octave_base_stream::do_printf().
|
inline |
Definition at line 832 of file oct-stream.cc.
References jit_convention::length.
|
inline |
Definition at line 815 of file oct-stream.cc.
|
inline |
Definition at line 817 of file oct-stream.cc.
References jit_convention::length.
Referenced by octave_base_stream::do_printf().
|
inline |
Definition at line 802 of file oct-stream.cc.
Referenced by octave_base_stream::do_printf(), and octave_base_stream::printf().
|
inline |
Definition at line 836 of file oct-stream.cc.
|
inline |
Definition at line 838 of file oct-stream.cc.
|
private |
void printf_format_list::printme | ( | void | ) | const |
Definition at line 1158 of file oct-stream.cc.
References printf_format_elt::args, printf_format_elt::flags, fmt_elts, printf_format_elt::fw, printf_format_elt::modifier, printf_format_elt::prec, printf_format_elt::text, printf_format_elt::type, and undo_string_escapes().
|
private |
Definition at line 988 of file oct-stream.cc.
References buf, finish_conversion(), nconv, nn, string, and tmp.
Referenced by printf_format_list().
|
private |
Definition at line 853 of file oct-stream.cc.
Referenced by add_elt_to_list(), finish_conversion(), printf_format_list(), and process_conversion().
|
private |
Definition at line 847 of file oct-stream.cc.
|
private |
Definition at line 850 of file oct-stream.cc.
Referenced by add_elt_to_list(), printf_format_list(), printme(), and ~printf_format_list().
|
private |
Definition at line 844 of file oct-stream.cc.
Referenced by finish_conversion(), printf_format_list(), and process_conversion().