class DataTool: public Msp::RegisteredApplication<DataTool>
{
private:
- std::vector<std::string> in_fns;
+ std::list<std::string> in_fns;
std::string out_fn;
bool binary;
bool compile;
unsigned float_size;
bool compress;
+ bool pack;
+ bool unpack;
+ bool builtin;
+ std::string builtin_ns;
+ std::string builtin_module;
bool debug;
public:
private:
void do_transfer();
void do_compile();
+ void do_pack();
+ void do_unpack();
+ void do_generate_builtin();
Msp::IO::Base *open_output(const std::string &);
Msp::IO::Base *open_input(const std::string &);
public:
+ bool is_compressed() const { return compress; }
Msp::DataFile::Writer *create_writer(Msp::IO::Base &);
};