26#ifndef ARCHIVE_OPTIONS_LISTING_SHELL_HPP
27#define ARCHIVE_OPTIONS_LISTING_SHELL_HPP
47 class archive_options_listing_shell:
public archive_options_listing
50 archive_options_listing_shell() { clear(); };
51 archive_options_listing_shell(
const archive_options_listing_shell & ref) =
default;
52 archive_options_listing_shell(archive_options_listing_shell && ref)
noexcept =
default;
53 archive_options_listing_shell & operator = (
const archive_options_listing_shell & ref) =
default;
54 archive_options_listing_shell & operator = (archive_options_listing_shell && ref)
noexcept =
default;
55 ~archive_options_listing_shell() =
default;
57 virtual void clear()
override;
74 void set_sizes_in_bytes(
bool arg) { x_sizes_in_bytes = arg; };
79 listformat get_list_mode()
const {
return x_list_mode; };
80 bool get_sizes_in_bytes()
const {
return x_sizes_in_bytes; };
84 bool x_sizes_in_bytes;
listformat
defines the way archive listing is done:
@ tree
the original dar's tree listing (for those that like forest)
@ normal
the tar-like listing (this is the default)
@ xml
the xml catalogue output
@ slicing
the slicing output (give info about where files are located)
void set_slicing_location(bool val)
whether to calculate the slice location of each file
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols
this file contains a set of classes used to transmit options to archive operation