A few advantages the struct offers (over an alias for a pair of size_ts):
* A custom output operator
* Eliminates potential conflict with pairs of size_ts that don't
represent an algo id
* The ability to (eventually) choose precise member names for both
components of the event, rather than 'first' and 'second'
Also refactor the relevant namespace 'bts::utils' methods to be static
methods in the newly created class 'MapUtils.' This is part of the
effort to favor static class methods over namespaced functions.
Also refactor the namespace 'table_display' methods to be static methods
in the newly created class 'TableDisplay.' This is part of the effort
to favor static class methods over namespaced functions.
Also refactor the namespace 'all_permutations' methods to be static
methods in the newly created class 'Permutation.' This is part of
the effort to favor static class methods over namespaced functions.
Also refactor the namespace 'file_stream_utils' methods to be static
methods in the newly created class 'FileUtils'. This is part of
the effort to favor static class methods over namespaced functions.
Also refactor the namespace 'string_splitter' methods to be static
methods in the newly created class 'StringUtils'. This is part of
the effort to favor static class methods over namespaced functions.
* Run 'sparkd tests' outside of the CLI::App framework
(delegate to 'catch', which has a solid cli). This
fixes a bug which prevented callers from specifying
test tags (in the form of '[<tag>]'), as the CLI::App's
parse method removes square brackets from cli options.
* Bind cli options to instance members of their subcommand's
CLI::App derived class. This seems to fix a bug which caused
the [static instance] binding source to be destructed twice.
* Add help text for several subcommands
This command is a diagnostic tool that produces a
csv file of matcher-generated books for a
particular pcap, which can then be imported to
sql, and joined with the actual books table for
comparison.
Inspired by the c# 'SecurityCriteria' class from
spark's front end. This may come in handy as a cli
option for spartan subcommands, among other things.