|
CCSDS 124.0-B-1 C++ 1.0.0
CCSDS 124.0-B-1 Lossless Compression
|
CCSDS 124.0-B-1 C++ command line interface. More...
#include <ccsds124/ccsds124.hpp>#include <cstdio>#include <cstdlib>#include <cstring>#include <fstream>#include <vector>Go to the source code of this file.
Functions | |
| static void | print_version () |
| static void | print_help (const char *prog_name) |
| static std::string | make_decompress_filename (const std::string &input) |
| static std::vector< std::uint8_t > | read_file (const std::string &path) |
| static bool | write_file (const std::string &path, const std::uint8_t *data, std::size_t size) |
| static int | do_compress (const char *input_path, int packet_size, int pt_period, int ft_period, int rt_period, int robustness) |
| static int | do_decompress (const char *input_path, int packet_size, int robustness) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr const char * | BANNER |
CCSDS 124.0-B-1 C++ command line interface.
Definition in file cli.cpp.
|
static |
Definition at line 117 of file cli.cpp.
References read_file(), and write_file().
Referenced by main().
|
static |
Definition at line 175 of file cli.cpp.
References make_decompress_filename(), read_file(), and write_file().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 227 of file cli.cpp.
References do_compress(), do_decompress(), print_help(), and print_version().
|
static |
Definition at line 83 of file cli.cpp.
Referenced by do_decompress().
|
static |
Definition at line 50 of file cli.cpp.
References BANNER, and ccsds124::version().
Referenced by main().
|
static |
|
static |
Definition at line 91 of file cli.cpp.
Referenced by do_compress(), and do_decompress().
|
static |
Definition at line 108 of file cli.cpp.
Referenced by do_compress(), and do_decompress().
|
staticconstexpr |
Definition at line 35 of file cli.cpp.
Referenced by print_help().