- Todo:
- Rework so that the error handler isn't called prematurely. Ensure table::make_cols() and table::calc() don't call the error handler.
- Todo:
- Ensure add() copies constants and interpolation type, and units.
- Idea for Future:
- Stack-like operations (push, pop, swap, stack-list, etc.)
- Idea for Future:
- Use get_input() in comm_create?
- Idea for Future:
- Add functionality to ensure that three digit exponents are still handled gracefully (do this by creating a new boolean setting which, if true, always makes three spaces for exponents?)
- Idea for Future:
- Fix insert and insert_full so that it automatically renames columns
- Idea for Future:
- Allow "insert" commands to be restrictive, avoiding extrapolation
- Idea for Future:
- Replace ~ with $HOME in filenames (this might be best done inside the o2scl::cli class). (Some progress made. Function cli::expand_tilde() is written but not yet implemented.)
- Idea for Future:
- New 3d commands: extract, transpose, contours, find_grid_x, find_grid_y, create-3d, etc.
Definition at line 95 of file acolm.h.
|
virtual int | run (int argv, char *argc[]) |
| Main run function. More...
|
|
virtual int | setup_cli () |
| Create the cli object (with readline support if available)
|
|
virtual int | setup_options () |
| Add the options to the cli object.
|
|
virtual int | setup_help () |
| Add the help text to the cli object.
|
|
virtual int | setup_parameters () |
| Add the parameters for 'set' to the cli object.
|
|
virtual int | comm_assign (std::vector< std::string > &sv, bool itive_com) |
| Assign a constant.
|
|
virtual int | comm_calc (std::vector< std::string > &sv, bool itive_com) |
| Compute a scalar value.
|
|
virtual int | comm_create (std::vector< std::string > &sv, bool itive_com) |
| Create a table from a column of equally spaced values.
|
|
virtual int | comm_delete_col (std::vector< std::string > &sv, bool itive_com) |
| Delete a column.
|
|
virtual int | comm_delete_rows (std::vector< std::string > &sv, bool itive_com) |
| Delete rows specified by a function.
|
|
virtual int | comm_deriv (std::vector< std::string > &sv, bool itive_com) |
| Create a column which is the derivative of another.
|
|
virtual int | comm_deriv2 (std::vector< std::string > &sv, bool itive_com) |
| Create a column which is the second derivative of another.
|
|
virtual int | comm_read (std::vector< std::string > &sv, bool itive_com) |
| Read a file.
|
|
virtual int | comm_filelist (std::vector< std::string > &sv, bool itive_com) |
| Read a file and list the O2scl objects.
|
|
virtual int | comm_find_row (std::vector< std::string > &sv, bool itive_com) |
| Find a row from a function.
|
|
virtual int | comm_function (std::vector< std::string > &sv, bool itive_com) |
| Create a column from a function.
|
|
virtual int | comm_generic (std::vector< std::string > &sv, bool itive_com) |
| Read a generic data file.
|
|
virtual int | comm_get_row (std::vector< std::string > &sv, bool itive_com) |
| Print out an entire row.
|
|
virtual int | comm_fit (std::vector< std::string > &sv, bool itive_com) |
| Fit two columns to a function.
|
|
virtual int | comm_html (std::vector< std::string > &sv, bool itive_com) |
| Create an html file.
|
|
virtual int | comm_insert (std::vector< std::string > &sv, bool itive_com) |
| Insert a column from an external table using interpolation.
|
|
virtual int | comm_insert_full (std::vector< std::string > &sv, bool itive_com) |
| Insert an external table using interpolation.
|
|
virtual int | comm_integ (std::vector< std::string > &sv, bool itive_com) |
| Create a column which is the integral of another.
|
|
virtual int | comm_interactive (std::vector< std::string > &sv, bool itive_com) |
| Toggle interactive mode.
|
|
virtual int | comm_internal (std::vector< std::string > &sv, bool itive_com) |
| Output to a file in internal format.
|
|
virtual int | comm_interp (std::vector< std::string > &sv, bool itive_com) |
| Create an html file.
|
|
virtual int | comm_list (std::vector< std::string > &sv, bool itive_com) |
| List columns in table 'tp' named 'tname' assuming screen size 'ncol'.
|
|
virtual int | comm_max (std::vector< std::string > &sv, bool itive_com) |
| Compute the maximum value of a colum.
|
|
virtual int | comm_min (std::vector< std::string > &sv, bool itive_com) |
| Compute the minimum value of a colum.
|
|
virtual int | comm_index (std::vector< std::string > &sv, bool itive_com) |
| Add a column for line numbers.
|
|
virtual int | comm_output (std::vector< std::string > &sv, bool itive_com) |
| Output to screen or file.
|
|
virtual int | comm_interp_type (std::vector< std::string > &sv, bool itive_com) |
| Get or set the current interpolation type.
|
|
virtual int | comm_preview (std::vector< std::string > &sv, bool itive_com) |
| Preview the table.
|
|
virtual int | comm_add (std::vector< std::string > &sv, bool itive_com) |
| Add two table3d objects.
|
|
virtual int | comm_rename (std::vector< std::string > &sv, bool itive_com) |
| Rename a column.
|
|
virtual int | comm_select (std::vector< std::string > &sv, bool itive_com) |
| Select several columns for a new table.
|
|
virtual int | comm_select_rows (std::vector< std::string > &sv, bool itive_com) |
| Select several rows for a new table.
|
|
virtual int | comm_set (std::vector< std::string > &sv, bool itive_com) |
| Post-processing for setting a value.
|
|
virtual int | comm_set_data (std::vector< std::string > &sv, bool itive_com) |
| Set an individual data point at a specified row and column.
|
|
virtual int | comm_set_unit (std::vector< std::string > &sv, bool itive_com) |
| Set units of a column.
|
|
virtual int | comm_show_units (std::vector< std::string > &sv, bool itive_com) |
| Set units of a column.
|
|
virtual int | comm_get_unit (std::vector< std::string > &sv, bool itive_com) |
| Get units of a column.
|
|
virtual int | comm_convert_unit (std::vector< std::string > &sv, bool itive_com) |
| Convert units of a column.
|
|
virtual int | comm_sort (std::vector< std::string > &sv, bool itive_com) |
| Sort the table by a column.
|
|
virtual int | comm_stats (std::vector< std::string > &sv, bool itive_com) |
| Get column stats.
|
|
virtual int | comm_version (std::vector< std::string > &sv, bool itive_com) |
| Print version.
|
|
virtual int | comm_get_conv (std::vector< std::string > &sv, bool itive_com) |
| Get a conversion factor.
|
|
int | set_swidth (int ncol) |
| Set screen witdth.
|
|